summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Raghavan <arun.raghavan@collabora.co.uk>2012-04-13 16:58:22 +0530
committerArun Raghavan <arun.raghavan@collabora.co.uk>2012-04-13 16:58:22 +0530
commitfb686c631d8fa38c31c1724e5b9d5742ec03d922 (patch)
treed5fb30d31e9625b9ea6a256bb3efc31a090163e1
parent01341d3e96ae6b9f53db8c282c53ba9695e5f3ed (diff)
Add some UI elements
-rw-r--r--AndroidManifest.xml2
-rw-r--r--res/layout/main.xml24
2 files changed, 22 insertions, 4 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 8c6ea61..0b28e0f 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -3,7 +3,7 @@
package="org.pulseaudio.outputswitcher"
android:versionCode="1"
android:versionName="1.0">
- <application android:label="@string/app_name" android:icon="@drawable/ic_launcher">
+ <application android:label="@string/app_name" android:icon="@drawable/ic_launcher" android:theme="@android:style/Theme.Holo">
<activity android:name="OutputSwitcher"
android:label="@string/app_name">
<intent-filter>
diff --git a/res/layout/main.xml b/res/layout/main.xml
index 3936bd9..119fcc4 100644
--- a/res/layout/main.xml
+++ b/res/layout/main.xml
@@ -4,10 +4,28 @@
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
-<TextView
+<EditText android:id="@+id/text_server"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ />
+<RadioGroup android:id="@+id/rgroup_output"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ >
+ <RadioButton android:id="@+id/radio_local"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Local"
+ />
+ <RadioButton android:id="@+id/radio_remote"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Remote"
+ />
+</RadioGroup>
+<TextView android:id="@+id/text_status"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
- android:text="Hello World, OutputSwitcher"
/>
</LinearLayout>
-