aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Heroy <johnheroy@gmail.com>2015-10-21 09:16:08 -0700
committerJohn Heroy <johnheroy@gmail.com>2015-10-21 09:16:08 -0700
commit8445d8dd6922e6fe87116b1a97f3a5a4e6041c21 (patch)
treeed6fa615d94c3653d32055b46604df5dae82f4f6
parent6593e182a94bd23863926e2466a7c453ce31849a (diff)
downloadconnectbot-8445d8dd6922e6fe87116b1a97f3a5a4e6041c21.tar.gz
connectbot-8445d8dd6922e6fe87116b1a97f3a5a4e6041c21.tar.bz2
connectbot-8445d8dd6922e6fe87116b1a97f3a5a4e6041c21.zip
Add content description to volume pref dialog ImageView and reset padding on SeekBar
-rw-r--r--app/src/main/res/layout/volume_preference_dialog_layout.xml2
-rw-r--r--app/src/main/res/values/strings.xml3
2 files changed, 5 insertions, 0 deletions
diff --git a/app/src/main/res/layout/volume_preference_dialog_layout.xml b/app/src/main/res/layout/volume_preference_dialog_layout.xml
index c26dd8e..a0c66a0 100644
--- a/app/src/main/res/layout/volume_preference_dialog_layout.xml
+++ b/app/src/main/res/layout/volume_preference_dialog_layout.xml
@@ -28,6 +28,7 @@
<ImageView
android:id="@+id/volume_up"
+ android:contentDescription="@string/image_description_volume"
android:layout_marginBottom="24dp"
android:layout_marginTop="24dp"
android:layout_height="36dp"
@@ -43,6 +44,7 @@
android:layout_height="wrap_content"
android:layout_width="fill_parent"
android:max="100"
+ android:padding="0dp"
android:progress="0"
android:secondaryProgress="0"
/>
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 445d894..0d3e1ee 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -602,6 +602,9 @@
purposes. -->
<string name="image_description_right">Arrow right</string>
+ <!-- Describes the "volume" icon in the bell volume dialog for accessibility purposes. -->
+ <string name="image_description_volume">Volume</string>
+
<!-- Text for the "Esc" button in virtual keyboard. -->
<string name="button_key_esc">Esc</string>
<!-- Text for the "Ctrl" button in virtual keyboard. -->