[Android] audio player: center text

Sébastien Toque git at videolan.org
Thu Apr 12 19:41:48 CEST 2012


android | branch: master | Sébastien Toque <xilasz at gmail.com> | Thu Apr 12 19:40:30 2012 +0200| [f74469c2c59b431d9ba1a5b67d56104395e8c7a7] | committer: Sébastien Toque

audio player: center text

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

 vlc-android/res/layout/audio_player.xml |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/vlc-android/res/layout/audio_player.xml b/vlc-android/res/layout/audio_player.xml
index e16d4e0..ba1418c 100644
--- a/vlc-android/res/layout/audio_player.xml
+++ b/vlc-android/res/layout/audio_player.xml
@@ -95,6 +95,7 @@
     <TextView
         android:layout_width="fill_parent"
         android:layout_height="wrap_content"
+        android:gravity="center"
         android:text="@string/title"
         android:textColor="#ffffff"
         android:textSize="20dip"
@@ -109,6 +110,7 @@
     <TextView
         android:layout_width="fill_parent"
         android:layout_height="wrap_content"
+        android:gravity="center"
         android:text="@string/artist"
         android:textColor="#888888"
         android:textSize="18dip"
@@ -123,6 +125,7 @@
     <TextView
         android:layout_width="fill_parent"
         android:layout_height="wrap_content"
+        android:gravity="center"
         android:text="@string/album"
         android:textColor="#888888"
         android:textSize="18dip"



More information about the Android mailing list