[Android] Simplify the layout of the about dialog
Ludovic Fauvet
git at videolan.org
Fri Oct 31 17:55:50 CET 2014
vlc-ports/android | branch: master | Ludovic Fauvet <etix at videolan.org> | Fri Oct 31 17:53:18 2014 +0100| [1862583d090efa98b60592b0c092936d98e48289] | committer: Ludovic Fauvet
Simplify the layout of the about dialog
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=1862583d090efa98b60592b0c092936d98e48289
---
vlc-android/res/layout/about_main.xml | 30 +++++++++++++-----------------
1 file changed, 13 insertions(+), 17 deletions(-)
diff --git a/vlc-android/res/layout/about_main.xml b/vlc-android/res/layout/about_main.xml
index 0ec9650..822242f 100644
--- a/vlc-android/res/layout/about_main.xml
+++ b/vlc-android/res/layout/about_main.xml
@@ -13,31 +13,27 @@
android:paddingRight="5dp"
android:paddingTop="15dp" >
- <LinearLayout
- android:layout_width="match_parent"
+ <RelativeLayout
+ android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal" >
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/app_name_full"
+ android:layout_centerHorizontal="true"
+ android:layout_alignParentTop="true"
+ android:textSize="29sp" />
+
<ImageView
android:id="@+id/logo"
- android:layout_width="80dp"
- android:layout_height="fill_parent"
+ android:layout_width="50dp"
+ android:layout_height="50dp"
android:contentDescription="@string/info"
android:src="@drawable/icon" />
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="match_parent"
- android:gravity="bottom"
- android:orientation="vertical" >
-
- <TextView
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:text="@string/app_name_full"
- android:textSize="29sp" />
- </LinearLayout>
- </LinearLayout>
+ </RelativeLayout>
<TextView
android:layout_width="fill_parent"
More information about the Android
mailing list