diff options
author | Arun Raghavan <arun.raghavan@collabora.co.uk> | 2012-04-22 15:26:03 +0530 |
---|---|---|
committer | Arun Raghavan <arun.raghavan@collabora.co.uk> | 2012-04-22 15:26:03 +0530 |
commit | 9dc1f6cc37b77067559b7c8506d7f5f15468f4eb (patch) | |
tree | ff1f12f31ed7e301280309c1bad5df2ee21fc78a | |
parent | 4e41df4b3b5886899b871670430aca055ecda06e (diff) |
Add padding to make UI look nicer
-rw-r--r-- | AndroidManifest.xml | 1 | ||||
-rw-r--r-- | res/layout/main.xml | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 4401681..27e4fbb 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -13,4 +13,5 @@ </intent-filter> </activity> </application> + <uses-sdk android:targetSdkVersion="15"/> </manifest> diff --git a/res/layout/main.xml b/res/layout/main.xml index bfe47ab..44ad364 100644 --- a/res/layout/main.xml +++ b/res/layout/main.xml @@ -3,19 +3,28 @@ android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" + android:paddingTop="16dp" + android:paddingLeft="16dp" + android:paddingRight="16dp" > <Switch android:id="@+id/switch_remote" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="Remote playback" + android:paddingTop="8dp" + android:paddingBottom="8dp" /> <TextView android:id="@+id/text_status" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="Enter a hostname or IP address for remote playback" + android:paddingTop="16dp" + android:paddingBottom="16dp" /> <EditText android:id="@+id/text_server" android:layout_width="fill_parent" android:layout_height="wrap_content" + android:paddingTop="8dp" + android:paddingBottom="8dp" /> </LinearLayout> |