aboutsummaryrefslogtreecommitdiffstats
path: root/app/res/layout-land/activity_main.xml
blob: 84461c03cb9361a3cb9a536a5d6a0dc3405266ca (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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
<!-- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:background="@color/black"
    android:padding="15dp" > -->
    
    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
        android:baselineAligned="false"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:background="@color/black"
        android:padding="15dp">
        

    <RelativeLayout
        android:id="@+id/top_frame"
        android:layout_width="0dip"
        android:layout_weight=".55"
        android:layout_height="fill_parent"
        android:background="@drawable/top_frame"
        android:padding="5dp"
        android:paddingRight="10dp" >
        
       <TextView
            android:id="@+id/txt_status"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerHorizontal="true"
            android:background="#80000000"
            android:textColor="@color/ThemeLight"
            android:textIsSelectable="true"
			android:layout_marginTop="10dp"
			android:layout_marginBottom="10dp" />
        
       <ImageView
            android:id="@+id/img_logo"
            android:layout_below="@id/txt_status"
            android:layout_width="80dp"
            android:layout_height="80dp"
            android:layout_margin="5dp"
            android:paddingRight="5dp"
            android:contentDescription="repwifi_logo" >
        </ImageView>

         <Button
            android:id="@+id/btn_info"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_centerHorizontal="true"
            android:layout_marginTop="10dp"
            android:layout_marginRight="5dp"
            android:layout_toRightOf="@id/img_logo"
            android:layout_below="@id/txt_status"
            android:background="@drawable/repwifi_button"
            android:onClick="onBtnInfoClick"
            android:text="@string/text_connection_info"
            android:textColor="@color/ThemeLight" />

        <Button
            android:id="@+id/btn_disconnect"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_centerHorizontal="true"
            android:layout_marginTop="10dp"
            android:layout_marginRight="5dp"
            android:layout_below="@id/btn_info"
            android:layout_toRightOf="@id/img_logo"
            android:background="@drawable/repwifi_button"
            android:onClick="onBtnDisconnectClick"
            android:text="@string/disconnect"
            android:textColor="@color/ThemeLight" />

    </RelativeLayout>


    <RelativeLayout 
        android:id="@+id/button_frame"
		android:layout_toRightOf="@id/top_frame"
		android:layout_width="0dip"
        android:layout_weight=".45"
        android:layout_height="wrap_content"
		android:background="@color/black"
		android:padding="5dp" >
        
        <Button
        android:id="@+id/btn_scan"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:layout_centerHorizontal="true"
        android:layout_marginBottom="10dp"
        android:background="@drawable/repwifi_button"
        android:onClick="btnScanClick"
        android:paddingLeft="5dp"
        android:paddingRight="5dp"
        android:text="@string/scan_networks"
        android:textColor="@color/ThemeLight" />

    <Button
        android:id="@+id/btn_hidden_ssid"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:layout_below="@id/btn_scan"
        android:layout_centerHorizontal="true"
        android:layout_marginBottom="10dp"
        android:paddingLeft="5dp"
        android:paddingRight="5dp"
        android:background="@drawable/repwifi_button"
        android:onClick="btnHiddenClick"
        android:text="@string/connect_hidden"
        android:textColor="@color/ThemeLight" />

    <Button
        android:id="@+id/btn_manage_nets"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:layout_below="@id/btn_hidden_ssid"
        android:layout_centerHorizontal="true"
        android:layout_marginBottom="10dp"
        android:background="@drawable/repwifi_button"
        android:onClick="btnManageClick"
        android:paddingLeft="5dp"
        android:paddingRight="5dp"
        android:text="@string/manage_networks"
        android:textColor="@color/ThemeLight" />
        
    </RelativeLayout>

    </LinearLayout>