[Android] Adjust size and color of the card and list progress bar

Alexandre Perraud git at videolan.org
Thu Apr 6 16:57:13 CEST 2017


vlc-android | branch: master | Alexandre Perraud <4leyx4ndre at gmail.com> | Thu Apr  6 16:54:17 2017 +0200| [da827b48efab464620681aa479df95c7406fafba] | committer: Alexandre Perraud

Adjust size and color of the card and list progress bar

> https://code.videolan.org/videolan/vlc-android/commit/da827b48efab464620681aa479df95c7406fafba
---

 vlc-android/res/drawable/gridview_progressbar.xml   | 2 +-
 vlc-android/res/drawable/gridview_progressbar_w.xml | 2 +-
 vlc-android/res/layout/video_grid_card.xml          | 4 ++--
 vlc-android/res/values/styles.xml                   | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/vlc-android/res/drawable/gridview_progressbar.xml b/vlc-android/res/drawable/gridview_progressbar.xml
index d2a8c10..81574bd 100644
--- a/vlc-android/res/drawable/gridview_progressbar.xml
+++ b/vlc-android/res/drawable/gridview_progressbar.xml
@@ -3,7 +3,7 @@
 
     <item android:id="@android:id/background">
         <shape>
-            <solid android:color="@color/grey900" />
+            <solid android:color="@color/grey900transparent" />
         </shape>
     </item>
 
diff --git a/vlc-android/res/drawable/gridview_progressbar_w.xml b/vlc-android/res/drawable/gridview_progressbar_w.xml
index b2617d8..c51c4cf 100644
--- a/vlc-android/res/drawable/gridview_progressbar_w.xml
+++ b/vlc-android/res/drawable/gridview_progressbar_w.xml
@@ -3,7 +3,7 @@
 
     <item android:id="@android:id/background">
         <shape>
-            <solid android:color="@color/grey50" />
+            <solid android:color="@color/grey400transparent" />
         </shape>
     </item>
 
diff --git a/vlc-android/res/layout/video_grid_card.xml b/vlc-android/res/layout/video_grid_card.xml
index 7f08e3a..9b5ec56 100644
--- a/vlc-android/res/layout/video_grid_card.xml
+++ b/vlc-android/res/layout/video_grid_card.xml
@@ -163,8 +163,8 @@
             android:focusable="false"
             android:indeterminate="false"
             android:max="@{max}"
-            android:maxHeight="1dip"
-            android:minHeight="1dip"
+            android:maxHeight="2dip"
+            android:minHeight="2dip"
             android:progress="@{progress}"
             android:progressDrawable="@drawable/gridview_progressbar"
             android:secondaryProgress="0"
diff --git a/vlc-android/res/values/styles.xml b/vlc-android/res/values/styles.xml
index f24184e..8cdf9d9 100644
--- a/vlc-android/res/values/styles.xml
+++ b/vlc-android/res/values/styles.xml
@@ -161,7 +161,7 @@
         <item name="ic_trash_small_normal">@drawable/ic_trash_small_normal_w</item>
         <item name="shadow_top_9patch">@drawable/shadow_top_dark</item>
         <item name="shadow_bottom_9patch">@drawable/shadow_bottom_dark</item>
-        <item name="gridview_progressbar">@drawable/gridview_progressbar</item>
+        <item name="gridview_progressbar">@drawable/gridview_progressbar_w</item>
         <item name="progress_mini_player">@drawable/progress_mini_player_dark</item>
         <item name="advanced_options_style">@style/Theme.AppCompat.Dialog</item>
         <item name="rounded_bg">@drawable/rounded_corners</item>



More information about the Android mailing list