From 18ae6e6da23e21ab451a4189bd0463a412863392 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Sun, 26 May 2013 12:25:46 +0200 Subject: [PATCH] Refactor about screen. * Add paddings. * Don't use hard-coded pixel sizes. * Don't use white color directly (this would soon break the white holo theme) * Don't use an "empty" textview to force a vertical space. Looks much cleaner now, and the code is easier on the eyes. --- res/layout/about.xml | 65 +++++++++++++++++++++++++++--------------- res/values/strings.xml | 1 - 2 files changed, 42 insertions(+), 24 deletions(-) diff --git a/res/layout/about.xml b/res/layout/about.xml index d8403f176..f9ba30dbe 100644 --- a/res/layout/about.xml +++ b/res/layout/about.xml @@ -1,52 +1,71 @@ + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:paddingLeft="8dp" + android:paddingRight="8dp" + android:paddingTop="6dp" + android:paddingBottom="6dp" + android:orientation="vertical"> + android:textStyle="bold" + android:layout_width="wrap_content" + android:layout_height="wrap_content" /> - + android:layout_height="fill_parent" + android:orientation="horizontal"> - + - + - + - - - + android:paddingTop="5dp" + android:layout_width="fill_parent" + android:layout_height="fill_parent" /> diff --git a/res/values/strings.xml b/res/values/strings.xml index 24e579438..7b1b70f49 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -36,7 +36,6 @@ admin@f-droid.org Version: Website - You don\'t have any repositories configured!\n\nA repository is a source of applications. To add one, press the MENU