From 6f3c5b4e85b5021e59c994eefeb8e170b26cfa54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Sun, 26 May 2013 12:25:20 +0200 Subject: [PATCH] More spacings in lists and app details screen --- res/layout/appdetails.xml | 5 ++++- res/layout/applistitem.xml | 2 +- src/org/fdroid/fdroid/AppDetails.java | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/res/layout/appdetails.xml b/res/layout/appdetails.xml index 45fe822b0..addc35982 100644 --- a/res/layout/appdetails.xml +++ b/res/layout/appdetails.xml @@ -2,6 +2,9 @@ - \ No newline at end of file + diff --git a/res/layout/applistitem.xml b/res/layout/applistitem.xml index f2f11e132..4abc1ab60 100644 --- a/res/layout/applistitem.xml +++ b/res/layout/applistitem.xml @@ -3,7 +3,7 @@ android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" - android:paddingTop="0dp" + android:paddingTop="3dp" android:paddingBottom="4dp" android:paddingLeft="6dp" android:paddingRight="10dp"> diff --git a/src/org/fdroid/fdroid/AppDetails.java b/src/org/fdroid/fdroid/AppDetails.java index aca27650e..ed177834d 100644 --- a/src/org/fdroid/fdroid/AppDetails.java +++ b/src/org/fdroid/fdroid/AppDetails.java @@ -116,7 +116,7 @@ public class AppDetails extends ListActivity { TextView version = (TextView) v.findViewById(R.id.version); boolean iscurrent = apk.vercode == app_currentvercode; version.setText(getString(R.string.version) + " " + apk.version - + (iscurrent ? "*" : "")); + + (iscurrent ? " *" : "")); // TODO: This will show 'Installed' for all apks with the same // version code, which could be more than one if they come from