added content description to creation buttons

This commit is contained in:
danijoo
2016-01-09 22:41:04 +01:00
parent fd911e4274
commit cbea54bb28
2 changed files with 4 additions and 0 deletions

View File

@@ -121,6 +121,7 @@
android:layout_marginTop="16dp"> android:layout_marginTop="16dp">
<Button <Button
android:contentDescription="@string/create_btSchedule_content_description"
android:id="@+id/create_btSchedule" android:id="@+id/create_btSchedule"
style="@style/Widget.AppCompat.Button" style="@style/Widget.AppCompat.Button"
android:layout_width="0dp" android:layout_width="0dp"
@@ -130,6 +131,7 @@
android:text="@string/create_btSchedule" /> android:text="@string/create_btSchedule" />
<Button <Button
android:contentDescription="@string/create_btDispatch_content_description"
android:id="@+id/create_btDispatch" android:id="@+id/create_btDispatch"
style="@style/Widget.AppCompat.Button.Colored" style="@style/Widget.AppCompat.Button.Colored"
android:layout_width="0dp" android:layout_width="0dp"

View File

@@ -113,6 +113,8 @@
</string-array> </string-array>
<string name="create_icon_content_description">Notification icon: %s</string> <string name="create_icon_content_description">Notification icon: %s</string>
<string name="create_btDispatch_content_description">Dispatch notification</string>
<string name="create_btSchedule_content_description">Schedule notification</string>
<string-array name="create_icons"> <string-array name="create_icons">
<item>ADB</item> <item>ADB</item>
<item>Bluetooth</item> <item>Bluetooth</item>