diff options
Diffstat (limited to 'same-android/res/layout')
-rw-r--r-- | same-android/res/layout/controller.xml | 18 | ||||
-rw-r--r-- | same-android/res/layout/list_text_item.xml | 7 |
2 files changed, 19 insertions, 6 deletions
diff --git a/same-android/res/layout/controller.xml b/same-android/res/layout/controller.xml index 6cfea80..a85cacd 100644 --- a/same-android/res/layout/controller.xml +++ b/same-android/res/layout/controller.xml @@ -17,6 +17,18 @@ android:onClick="createNetwork" android:text="Create" /> + <ListView + android:id="@+id/network_list" + android:layout_width="match_parent" + android:layout_height="wrap_content"> + </ListView> + + <Button + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:onClick="searchNetworks" + android:text="Search" /> + <EditText android:id="@+id/master_service_url" android:layout_width="match_parent" @@ -28,12 +40,6 @@ android:onClick="joinNetwork" android:text="Join" /> - <ListView - android:id="@+id/network_list" - android:layout_width="match_parent" - android:layout_height="wrap_content" > - </ListView> - <Button android:layout_width="wrap_content" android:layout_height="wrap_content" diff --git a/same-android/res/layout/list_text_item.xml b/same-android/res/layout/list_text_item.xml new file mode 100644 index 0000000..3aa90dd --- /dev/null +++ b/same-android/res/layout/list_text_item.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="utf-8"?> +<TextView xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:padding="10dp" + android:textSize="16sp"> +</TextView>
\ No newline at end of file |