[Android] Improve scan progress view

Nicolas Pomepuy git at videolan.org
Wed Jul 24 15:18:33 CEST 2019


vlc-android | branch: master | Nicolas Pomepuy <nicolas.pomepuy at gmail.com> | Wed Jul 24 07:30:54 2019 +0200| [89765c5ebce009a53e1581a8b3846edc3b668b0a] | committer: Geoffrey Métais

Improve scan progress view

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

 vlc-android/res/layout/scan_progress.xml | 16 +++++++++-------
 vlc-android/res/values/dimens.xml        |  2 +-
 2 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/vlc-android/res/layout/scan_progress.xml b/vlc-android/res/layout/scan_progress.xml
index 46ee3f737..cdcf45540 100644
--- a/vlc-android/res/layout/scan_progress.xml
+++ b/vlc-android/res/layout/scan_progress.xml
@@ -11,12 +11,14 @@
         style="@android:style/Widget.ProgressBar.Horizontal"
         android:progressDrawable="?attr/progress_mini_player"
         android:background="?attr/background_default"/>
+
     <TextView
-        android:id="@+id/scan_progress_text"
-        android:layout_width="match_parent"
-        android:layout_height="match_parent"
-        android:gravity="center"
-        android:maxLines="1"
-        android:textColor="?attr/font_light"
-        android:text="@string/loading_medialibrary"/>
+            android:id="@+id/scan_progress_text"
+            android:layout_width="match_parent"
+            android:layout_height="match_parent"
+            android:gravity="center"
+            android:maxLines="1"
+            android:textColor="?attr/font_default"
+            android:text="@string/loading_medialibrary"
+            android:textSize="12sp"/>
 </RelativeLayout>
\ No newline at end of file
diff --git a/vlc-android/res/values/dimens.xml b/vlc-android/res/values/dimens.xml
index 7be8ecea4..d3235991d 100644
--- a/vlc-android/res/values/dimens.xml
+++ b/vlc-android/res/values/dimens.xml
@@ -81,7 +81,7 @@
     <dimen name="fastscroller_track_padding">5dp</dimen>
     <dimen name="audio_player_cover_margin">8dp</dimen>
     <dimen name="audio_player_elevation">16dp</dimen>
-    <dimen name="progress_layout_height">24dp</dimen>
+    <dimen name="progress_layout_height">20dp</dimen>
     <dimen name="dialog_sd_wisard_width">320dp</dimen>
     <dimen name="dialog_sd_wisard_height">420dp</dimen>
 



More information about the Android mailing list