summaryrefslogtreecommitdiff
path: root/same-android/res/layout/controller.xml
blob: 1acaa014875ef3156e6529c94226c937c1c870ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="vertical"
    android:focusable="true"
    android:focusableInTouchMode="true"
    android:id="@+id/container_layout">

    <Button
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        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"
        android:layout_height="wrap_content" />

    <Button
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:onClick="joinNetworkUrl"
        android:text="Join" />
    
    <Button
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:onClick="killMaster"
        android:text="Kill master" />
    
    <Button
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:onClick="doneClicked"
        android:text="Done" />

    <TextView
        android:id="@+id/ipAddress"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text=""
        android:textAppearance="?android:attr/textAppearanceLarge" />

</LinearLayout>