[Android] UI : Add some accessibility contents
Alexandre Perraud
git at videolan.org
Fri Apr 17 18:51:23 CEST 2015
vlc-ports/android | branch: master | Alexandre Perraud <4leyx4ndre at gmail.com> | Fri Apr 17 16:48:31 2015 +0200| [55b04dde496dc97dc88087b2ace90f29a3f18485] | committer: Alexandre Perraud
UI : Add some accessibility contents
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=55b04dde496dc97dc88087b2ace90f29a3f18485
---
vlc-android/res/layout/mrl_item.xml | 1 +
vlc-android/res/layout/video_grid_card.xml | 1 +
vlc-android/res/layout/video_list_card.xml | 1 +
3 files changed, 3 insertions(+)
diff --git a/vlc-android/res/layout/mrl_item.xml b/vlc-android/res/layout/mrl_item.xml
index 50820dd..9177bce 100644
--- a/vlc-android/res/layout/mrl_item.xml
+++ b/vlc-android/res/layout/mrl_item.xml
@@ -31,6 +31,7 @@
android:layout_centerInParent="true"
android:src="?attr/ic_trash_small_normal"
android:clickable="true"
+ android:contentDescription="@string/delete"
android:paddingRight="5dp"/>
</RelativeLayout>
</android.support.v7.widget.CardView>
\ No newline at end of file
diff --git a/vlc-android/res/layout/video_grid_card.xml b/vlc-android/res/layout/video_grid_card.xml
index 65036b2..b6ccc74 100644
--- a/vlc-android/res/layout/video_grid_card.xml
+++ b/vlc-android/res/layout/video_grid_card.xml
@@ -49,6 +49,7 @@
android:layout_above="@+id/ml_item_resolution"
android:layout_marginTop="5dp"
android:scaleType="fitCenter"
+ android:contentDescription="@string/more_actions"
android:clickable="true"
android:src="@drawable/ic_more" />
diff --git a/vlc-android/res/layout/video_list_card.xml b/vlc-android/res/layout/video_list_card.xml
index 33ace69..44a75a7 100644
--- a/vlc-android/res/layout/video_list_card.xml
+++ b/vlc-android/res/layout/video_list_card.xml
@@ -47,6 +47,7 @@
android:layout_alignParentTop="true"
android:layout_above="@+id/ml_item_resolution"
android:clickable="true"
+ android:contentDescription="@string/more_actions"
android:src="@drawable/ic_more"
android:scaleType="fitCenter" />
More information about the Android
mailing list