diff options
Diffstat (limited to 'app/res/layout/activity_main.xml')
-rw-r--r-- | app/res/layout/activity_main.xml | 117 |
1 files changed, 65 insertions, 52 deletions
diff --git a/app/res/layout/activity_main.xml b/app/res/layout/activity_main.xml index aabedf4..9d8524d 100644 --- a/app/res/layout/activity_main.xml +++ b/app/res/layout/activity_main.xml @@ -1,56 +1,69 @@ <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" - android:padding="15dp" - android:background="@color/black" > + android:background="@color/black" + android:padding="15dp" > + + <TextView + android:id="@+id/txt_main" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_centerHorizontal="true" + android:layout_marginBottom="10dp" + android:layout_marginTop="10dp" + android:background="@color/black" + android:maxLines="10" + android:textColor="@color/ThemeLight" /> + + <Button + android:id="@+id/btn_scan" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_centerHorizontal="true" + android:layout_marginBottom="20dp" + android:layout_marginTop="15dp" + 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="20dp" + android:background="@drawable/repwifi_button" + android:onClick="btnHiddenClick" + android:paddingLeft="5dp" + android:paddingRight="5dp" + android:text="@string/connect_hidden" + android:textColor="@color/ThemeLight" /> - <TextView - android:id="@+id/txt_main" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:layout_centerHorizontal="true" - android:textColor="@color/ThemeLight" - android:background="@color/black" - android:maxLines = "10" - android:layout_marginTop="10dp" - android:layout_marginBottom="10dp" /> - - <Button - android:id="@+id/btn_scan" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:paddingLeft="5dp" - android:paddingRight="5dp" - android:layout_centerHorizontal="true" - android:textColor="@color/ThemeLight" - android:background="@color/ThemeDark" - android:text="@string/scan_networks" - android:onClick="btnScanClick" - android:layout_marginTop="15dp" - android:layout_marginBottom="20dp" /> - - <Button - android:id="@+id/btn_manage_nets" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:layout_below="@id/btn_scan" - android:paddingLeft="5dp" - android:paddingRight="5dp" - android:layout_centerHorizontal="true" - android:textColor="@color/ThemeLight" - android:background="@color/ThemeDark" - android:text="@string/manage_networks" - android:onClick="btnManageClick" - android:layout_marginBottom="20dp" /> - - <ImageView - android:id="@+id/img_logo" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:layout_centerHorizontal="true" - android:layout_below="@id/btn_manage_nets" - android:layout_margin="20dp" > - - </ImageView> - - </RelativeLayout> + <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="20dp" + android:background="@drawable/repwifi_button" + android:onClick="btnManageClick" + android:paddingLeft="5dp" + android:paddingRight="5dp" + android:text="@string/manage_networks" + android:textColor="@color/ThemeLight" /> + + <ImageView + android:id="@+id/img_logo" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_below="@id/btn_manage_nets" + android:layout_centerHorizontal="true" + android:layout_margin="20dp" > + </ImageView> + +</RelativeLayout> |