aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/res
diff options
context:
space:
mode:
authorVincent <valodim@mugenguild.com>2015-11-16 03:10:02 +0100
committerVincent <valodim@mugenguild.com>2015-11-16 03:10:02 +0100
commitd4c121c2aff58fc193c4d715f4475d388b6de91e (patch)
tree55328eb39dc9810538ed4a7d82d26fec18d1a6cd /OpenKeychain/src/main/res
parentba7deca7d86a0fec582937599f2a7ec2a85bb52f (diff)
parent8703b5f4a9268f43531a57ab5d27ab879882b449 (diff)
downloadopen-keychain-d4c121c2aff58fc193c4d715f4475d388b6de91e.tar.gz
open-keychain-d4c121c2aff58fc193c4d715f4475d388b6de91e.tar.bz2
open-keychain-d4c121c2aff58fc193c4d715f4475d388b6de91e.zip
Merge pull request #1543 from rohands/issue_mouseover_hints
mouseover hints
Diffstat (limited to 'OpenKeychain/src/main/res')
-rw-r--r--OpenKeychain/src/main/res/layout/key_list_item.xml3
-rw-r--r--OpenKeychain/src/main/res/layout/view_key_activity.xml4
-rw-r--r--OpenKeychain/src/main/res/values/strings.xml6
3 files changed, 12 insertions, 1 deletions
diff --git a/OpenKeychain/src/main/res/layout/key_list_item.xml b/OpenKeychain/src/main/res/layout/key_list_item.xml
index 80be0ec34..d9e7170c5 100644
--- a/OpenKeychain/src/main/res/layout/key_list_item.xml
+++ b/OpenKeychain/src/main/res/layout/key_list_item.xml
@@ -123,7 +123,8 @@
android:layout_gravity="center"
android:src="@drawable/ic_repeat_grey_24dp"
android:padding="12dp"
- android:background="?android:selectableItemBackground" />
+ android:background="?android:selectableItemBackground"
+ android:contentDescription="@string/cd_exchange_keys"/>
</LinearLayout>
diff --git a/OpenKeychain/src/main/res/layout/view_key_activity.xml b/OpenKeychain/src/main/res/layout/view_key_activity.xml
index 560180407..7c021bec2 100644
--- a/OpenKeychain/src/main/res/layout/view_key_activity.xml
+++ b/OpenKeychain/src/main/res/layout/view_key_activity.xml
@@ -94,6 +94,7 @@
<ImageButton
android:id="@+id/view_key_action_encrypt_files"
+ android:contentDescription="@string/cd_encrypt_files"
style="?android:attr/borderlessButtonStyle"
android:layout_width="64dp"
android:layout_height="64dp"
@@ -103,6 +104,7 @@
<ImageButton
android:id="@+id/view_key_action_encrypt_text"
+ android:contentDescription="@string/cd_encrypt_text"
style="?android:attr/borderlessButtonStyle"
android:layout_width="64dp"
android:layout_height="64dp"
@@ -113,6 +115,7 @@
<ImageButton
android:id="@+id/view_key_action_nfc"
style="?android:attr/borderlessButtonStyle"
+ android:contentDescription="@string/cd_share_nfc"
android:layout_width="64dp"
android:layout_height="64dp"
android:src="@drawable/ic_nfc_white_24dp"
@@ -213,6 +216,7 @@
<android.support.design.widget.FloatingActionButton
android:id="@+id/fab"
+ android:contentDescription="@string/cd_exchange_keys"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="24dp"
diff --git a/OpenKeychain/src/main/res/values/strings.xml b/OpenKeychain/src/main/res/values/strings.xml
index 84b5b0376..ff148b0c7 100644
--- a/OpenKeychain/src/main/res/values/strings.xml
+++ b/OpenKeychain/src/main/res/values/strings.xml
@@ -106,6 +106,12 @@
<string name="btn_saved">"Saved!"</string>
<string name="btn_not_matching">"Doesn't match"</string>
+ <!-- Content Description -->
+ <string name="cd_encrypt_files">"Encrypt Files"</string>
+ <string name="cd_exchange_keys">"Exchange Keys"</string>
+ <string name="cd_encrypt_text">"Encrypt Text"</string>
+ <string name="cd_share_nfc">"Share Via NFC"</string>
+
<!-- menu -->
<string name="menu_preferences">"Settings"</string>
<string name="menu_help">"Help"</string>