More spacings in lists and app details screen

This commit is contained in:
Daniel Martí 2013-05-26 12:25:20 +02:00
parent 2834a8966e
commit 6f3c5b4e85
3 changed files with 6 additions and 3 deletions

View File

@ -2,6 +2,9 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:paddingTop="5dp"
android:paddingLeft="8dp"
android:paddingRight="8dp"
android:orientation="vertical" >
<LinearLayout
@ -56,4 +59,4 @@
android:layout_width="fill_parent"
android:layout_height="fill_parent" />
</LinearLayout>
</LinearLayout>

View File

@ -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">

View File

@ -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