[Android] UI: move battery indicator to the top bar
Sébastien Toque
git at videolan.org
Fri Sep 21 21:34:04 CEST 2012
vlc-ports/android | branch: master | Sébastien Toque <xilasz at gmail.com> | Fri Sep 21 21:32:23 2012 +0200| [e2ee350870c1884b85e4e2956fed34d45920bcab] | committer: Sébastien Toque
UI: move battery indicator to the top bar
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=e2ee350870c1884b85e4e2956fed34d45920bcab
---
vlc-android/res/layout/player.xml | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/vlc-android/res/layout/player.xml b/vlc-android/res/layout/player.xml
index 0039d17..a87a519 100644
--- a/vlc-android/res/layout/player.xml
+++ b/vlc-android/res/layout/player.xml
@@ -42,6 +42,15 @@
android:textSize="15dip" />
<TextView
+ android:id="@+id/player_overlay_battery"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="right|center_vertical"
+ android:layout_marginRight="5dp"
+ android:textColor="#ffffff"
+ android:textSize="15dip" />
+
+ <TextView
android:id="@+id/player_overlay_systime"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
@@ -148,15 +157,6 @@
android:background="@color/transparent_gray"
android:orientation="vertical" >
- <TextView
- android:id="@+id/player_overlay_battery"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="right"
- android:gravity="bottom"
- android:textColor="#ffffff"
- android:textSize="15dip" />
-
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
More information about the Android
mailing list