[Android] UI : Fix video gridview and listview black theme

Alexandre Perraud git at videolan.org
Wed Feb 25 16:03:23 CET 2015


vlc-ports/android | branch: master | Alexandre Perraud <4leyx4ndre at gmail.com> | Wed Feb 25 15:58:35 2015 +0100| [441523f9511362a6195e68d3fd777393b018c63a] | committer: Alexandre Perraud

UI : Fix video gridview and listview black theme

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=441523f9511362a6195e68d3fd777393b018c63a
---

 vlc-android/res/layout/video_grid_card.xml |    5 +++--
 vlc-android/res/layout/video_list_card.xml |    5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/vlc-android/res/layout/video_grid_card.xml b/vlc-android/res/layout/video_grid_card.xml
index 8c7b232..981fb30 100644
--- a/vlc-android/res/layout/video_grid_card.xml
+++ b/vlc-android/res/layout/video_grid_card.xml
@@ -12,14 +12,15 @@
         android:layout_width="@dimen/grid_card_width"
         android:layout_height="@dimen/grid_card_height"
         android:gravity="center_vertical"
-        android:orientation="vertical" >
+        android:orientation="vertical"
+        android:background="?attr/background_default">
 
         <ImageView
             android:id="@+id/ml_item_thumbnail"
             android:layout_width="match_parent"
             android:layout_height="@dimen/grid_card_thumb_height"
             android:layout_alignParentTop="true"
-            android:background="@color/grey300"
+            android:background="?attr/background_default_darker"
             android:scaleType="fitCenter" />
 
         <TextView
diff --git a/vlc-android/res/layout/video_list_card.xml b/vlc-android/res/layout/video_list_card.xml
index e7e33f5..c733411 100644
--- a/vlc-android/res/layout/video_list_card.xml
+++ b/vlc-android/res/layout/video_list_card.xml
@@ -11,7 +11,8 @@
     <RelativeLayout
         android:layout_width="match_parent"
         android:layout_height="75dip"
-        android:orientation="horizontal">
+        android:orientation="horizontal"
+        android:background="?attr/background_default" >
 
         <ImageView
             android:id="@+id/ml_item_thumbnail"
@@ -19,7 +20,7 @@
             android:layout_height="75dip"
             android:layout_alignParentLeft="true"
             android:scaleType="fitCenter"
-            android:background="@color/grey300" />
+            android:background="?attr/background_default_darker" />
 
         <TextView
             android:id="@+id/ml_item_title"



More information about the Android mailing list