[Android] About: small improvements

Jean-Baptiste Kempf git at videolan.org
Mon Jun 25 23:36:26 CEST 2012


android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Jun 25 23:22:54 2012 +0200| [bb402aae268842ce68b92ce3a54b496dd6e247a6] | committer: Jean-Baptiste Kempf

About: small improvements

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

 vlc-android/res/layout/about_main.xml |   40 +++++++++++++++------------------
 vlc-android/res/values/strings.xml    |   10 ++++-----
 2 files changed, 23 insertions(+), 27 deletions(-)

diff --git a/vlc-android/res/layout/about_main.xml b/vlc-android/res/layout/about_main.xml
index 4550d42..5dfa06c 100644
--- a/vlc-android/res/layout/about_main.xml
+++ b/vlc-android/res/layout/about_main.xml
@@ -7,6 +7,7 @@
         android:layout_width="match_parent"
         android:layout_height="wrap_content"
         android:background="@drawable/about_bg"
+        android:gravity="bottom"
         android:orientation="vertical"
         android:paddingBottom="15dp"
         android:paddingLeft="5dp"
@@ -27,23 +28,15 @@
             <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:layout_gravity="center_horizontal|top"
                     android:text="@string/app_name_full"
                     android:textColor="@android:color/black"
                     android:textSize="29sp" />
-
-                <TextView
-                    android:layout_width="fill_parent"
-                    android:layout_height="wrap_content"
-                    android:layout_gravity="center_horizontal|top"
-                    android:text="@string/for_android"
-                    android:textColor="@android:color/black"
-                    android:textSize="20sp" />
             </LinearLayout>
         </LinearLayout>
 
@@ -54,13 +47,14 @@
             android:gravity="center"
             android:text="@string/about_text"
             android:textColor="@android:color/black"
-            android:textSize="18sp" />
+            android:textSize="16sp" />
 
         <TextView
             android:layout_width="fill_parent"
             android:layout_height="wrap_content"
             android:layout_marginTop="30dp"
-            android:gravity="center"
+            android:layout_weight="0.12"
+            android:gravity="center|top"
             android:text="@string/about_copyright"
             android:textColor="@android:color/black"
             android:textSize="14sp" />
@@ -75,6 +69,18 @@
             android:textSize="12sp" />
 
         <TextView
+            android:id="@+id/main_link"
+            android:layout_width="fill_parent"
+            android:layout_height="wrap_content"
+            android:layout_marginTop="15dp"
+            android:layout_weight="0.27"
+            android:autoLink="web"
+            android:gravity="center"
+            android:text="@string/about_link"
+            android:textColor="@android:color/black"
+            android:textSize="14sp" />
+
+        <TextView
             android:id="@+id/main_revision"
             android:layout_width="fill_parent"
             android:layout_height="wrap_content"
@@ -82,7 +88,7 @@
             android:gravity="center"
             android:text="@string/revision"
             android:textColor="@android:color/black"
-            android:textSize="14sp" />
+            android:textSize="12sp" />
 
         <TextView
             android:layout_width="fill_parent"
@@ -103,16 +109,6 @@
             android:textColor="@android:color/black"
             android:textSize="11sp" />
 
-        <TextView
-            android:id="@+id/main_link"
-            android:layout_width="fill_parent"
-            android:layout_height="wrap_content"
-            android:layout_marginTop="15dp"
-            android:autoLink="web"
-            android:gravity="center"
-            android:text="@string/about_link"
-            android:textColor="@android:color/black"
-            android:textSize="16sp" />
     </LinearLayout>
 
 </ScrollView>
\ No newline at end of file
diff --git a/vlc-android/res/values/strings.xml b/vlc-android/res/values/strings.xml
index 844a7a7..56305ef 100644
--- a/vlc-android/res/values/strings.xml
+++ b/vlc-android/res/values/strings.xml
@@ -2,7 +2,6 @@
 <resources>
     <!--  Main VLC Interface  -->
     <string name="app_name" translatable="false">VLC</string>
-    <string name="app_name_full">VLC media player</string>
     <string name="filebrowser_sdfail">Unable to open SD card. Please check it is mounted correctly.</string>
     <string name="filebrowser_root">Root</string>
     <string name="filebrowser_parent">..</string>
@@ -90,17 +89,18 @@
     <string name="media_library">Media library</string>
 
     <!-- About -->
+    <string name="app_name_full">VLC for Android</string>
     <string name="version">Version</string>
     <string name="licence">Licence</string>
     <string name="revision">Revision</string>
     <string name="about">About</string>
-    <string name="about_text">VLC media player for Android is a port of VLC, the free media player that can read from files and network streams, to the Android operating system.</string>
-    <string name="about_link">
+    <string name="about_text">VLC for Android is a port of VLC media player, the popular open source media player. The Android version can read most files and network streams.</string>
+    <string name="about_link"  translatable="false">
         <a href="http://www.videolan.org/vlc/">http://www.videolan.org/vlc/</a></string>
-    <string name="about_copyright">Copyright © 1996–2012 by VideoLAN.\nSee the \'Licence\' tab for licensing information.</string>
+    <string name="about_copyright" translatable="false">Copyleft © 1996–2012 by VideoLAN.\n</string>
     <string name="for_android">for Android</string>
     <string name="compiled_by">This version of VLC is compiled by:</string>
-    <string name="authors" translatable="false">Sébastien Toque, Rafaël Carré, Jean-Baptiste Kempf, Edward Wang, Michael Merg, Ludovic Fauvet, Adrien Maglo, Rémi Duraffort, Dominique Martinet, Jean-Philippe André, Martin Storsjö, Alexandre Perraud, Hugo Beauzée-Luyssen, Felix Paul Kühne, John Mooring, Pavol Rusnak, Rohit Yadav, Tanguy Pruvot, Thomas Clavier, Asad Mehmood, Christoph Miebach, David Carré, Garret Kelly, Philipp Dreimann, Walter Heck</string>
+    <string name="authors" translatable="false">Sébastien Toque, Rafaël Carré, Jean-Baptiste Kempf, Edward Wang, Michael Merg, Ludovic Fauvet, Adrien Maglo, Rémi Duraffort, Dominique Martinet, Jean-Philippe André, Martin Storsjö, Alexandre Perraud, Hugo Beauzée-Luyssen, Felix Paul Kühne, John Mooring, Pavol Rusnak, Rohit Yadav, Tanguy Pruvot, Thomas Clavier, Asad Mehmood, Christoph Miebach, David Carré, Garret Kelly, Philipp Dreimann, Walter Heck.\nVLC Authors.</string>
 
     <!--  Preferences -->
     <string name="preferences">Preferences</string>



More information about the Android mailing list