diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2014-11-29 19:14:13 +0100 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2014-11-29 19:14:13 +0100 |
commit | 52a43db6d6912ad2147d560e343cac3b1b4cda97 (patch) | |
tree | 43bdfd9d3a973e2eed7e2fca8d8667ab89477b22 /src/main/res | |
parent | acf446a02c63a80b46c169cd9f0f4af027e61d50 (diff) | |
parent | e43ac27e8f3dfabb69bc5edcb3eb005598270e81 (diff) |
Merge pull request #721 from SamWhited/warning_fixes
Warning "fixes"
Diffstat (limited to 'src/main/res')
-rw-r--r-- | src/main/res/layout/account_row.xml | 3 | ||||
-rw-r--r-- | src/main/res/layout/activity_edit_account.xml | 6 | ||||
-rw-r--r-- | src/main/res/values/strings.xml | 2 |
3 files changed, 8 insertions, 3 deletions
diff --git a/src/main/res/layout/account_row.xml b/src/main/res/layout/account_row.xml index 2d1190a3..60b69090 100644 --- a/src/main/res/layout/account_row.xml +++ b/src/main/res/layout/account_row.xml @@ -10,7 +10,8 @@ android:layout_width="48dp" android:layout_height="48dp" android:layout_alignParentLeft="true" - android:src="@drawable/ic_profile" > + android:src="@drawable/ic_profile" + android:contentDescription="@string/account_image_description"> </ImageView> <LinearLayout diff --git a/src/main/res/layout/activity_edit_account.xml b/src/main/res/layout/activity_edit_account.xml index fa39ed5e..ed83cb9a 100644 --- a/src/main/res/layout/activity_edit_account.xml +++ b/src/main/res/layout/activity_edit_account.xml @@ -27,7 +27,8 @@ android:layout_width="72dp" android:layout_height="72dp" android:layout_alignParentTop="true" - android:layout_marginRight="16dp"/> + android:layout_marginRight="16dp" + android:contentDescription="@string/account_image_description"/> <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" @@ -236,7 +237,8 @@ android:background="?android:selectableItemBackground" android:padding="8dp" android:src="@drawable/ic_action_copy" - android:visibility="visible" /> + android:visibility="visible" + android:contentDescription="@string/copy_otr_clipboard_description"/> </RelativeLayout> diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml index 7e235f68..6b639452 100644 --- a/src/main/res/values/strings.xml +++ b/src/main/res/values/strings.xml @@ -358,4 +358,6 @@ <string name="conference_created">Conference created!</string> <string name="secret_accepted">Secret accepted!</string> <string name="reset">Reset</string> + <string name="account_image_description">Account avatar</string> + <string name="copy_otr_clipboard_description">Copy OTR fingerprint to clipboard</string> </resources> |