[Android] UI : Don't display "zero" time during video loading

Alexandre Perraud git at videolan.org
Mon Jun 22 15:29:35 CEST 2015


vlc-ports/android | branch: master | Alexandre Perraud <4leyx4ndre at gmail.com> | Mon Jun 22 15:26:12 2015 +0200| [dbf522f3b02771e46b128994fa48ff66f92395f0] | committer: Alexandre Perraud

UI : Don't display "zero" time during video loading

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

 vlc-android/res/layout/player_hud.xml |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/vlc-android/res/layout/player_hud.xml b/vlc-android/res/layout/player_hud.xml
index b0aef75..d4eed97 100644
--- a/vlc-android/res/layout/player_hud.xml
+++ b/vlc-android/res/layout/player_hud.xml
@@ -36,7 +36,7 @@
         android:layout_alignParentLeft="true"
         android:layout_marginLeft="@dimen/time_margin_sides"
         android:gravity="left"
-        android:text="00:00:00"
+        android:text="--:--"
         android:textAppearance="@style/TextAppearance.AppCompat.SearchResult.Title"
         android:textColor="@color/orange500"
         android:textSize="16sp"/>
@@ -50,7 +50,7 @@
         android:layout_alignRight="@+id/player_overlay_seekbar"
         android:layout_marginRight="@dimen/time_margin_sides"
         android:gravity="right"
-        android:text="00:00:00"
+        android:text="--:-- "
         android:textAppearance="@style/TextAppearance.AppCompat.SearchResult.Title"
         android:textSize="16sp" />
 



More information about the Android mailing list