aboutsummaryrefslogtreecommitdiffstats
path: root/app/res/layout-land/activity_input_ssid.xml
diff options
context:
space:
mode:
authorFil <fil.bergamo@riseup.net>2018-07-04 19:14:17 +0200
committerFil <fil.bergamo@riseup.net>2018-07-04 19:29:53 +0200
commit121a4bec96d2f9b842c6d393d2b9c6356a9a4405 (patch)
treeda1c557520d670def2f755492e3afd62ce891cf6 /app/res/layout-land/activity_input_ssid.xml
parenta6b34d6c75109b831976bc872a5a0a47a08c1664 (diff)
downloadRepWifiApp-121a4bec96d2f9b842c6d393d2b9c6356a9a4405.tar.gz
RepWifiApp-121a4bec96d2f9b842c6d393d2b9c6356a9a4405.tar.bz2
RepWifiApp-121a4bec96d2f9b842c6d393d2b9c6356a9a4405.zip
Add full integration with the Connectivity Frameworkv0.9-beta
Fixes Issue #1867 "Download app not working". Uses proxy classes to hook into the application framework, solving almost any problem with missing connectivity features, creating a connection that is fully managed by the framework itself. Introduces a background service that performs all backend operations. Cleans up code design, refining structure of classes and entities.
Diffstat (limited to 'app/res/layout-land/activity_input_ssid.xml')
-rw-r--r--app/res/layout-land/activity_input_ssid.xml92
1 files changed, 92 insertions, 0 deletions
diff --git a/app/res/layout-land/activity_input_ssid.xml b/app/res/layout-land/activity_input_ssid.xml
new file mode 100644
index 0000000..9be39e6
--- /dev/null
+++ b/app/res/layout-land/activity_input_ssid.xml
@@ -0,0 +1,92 @@
+<?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:background="@color/black"
+ android:baselineAligned="false"
+ android:padding="15dp" >
+
+ <RelativeLayout
+ android:id="@+id/left_frame"
+ android:layout_width="0dip"
+ android:layout_weight=".50"
+ android:layout_height="fill_parent"
+ android:background="@drawable/top_frame"
+ android:padding="5dp"
+ android:paddingRight="10dp" >
+
+ <Button
+ android:id="@+id/btn_select_hidden_ssid"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerHorizontal="true"
+ android:layout_centerVertical="true"
+ android:background="@drawable/repwifi_button"
+ android:onClick="onBtnSelectClick"
+ android:paddingLeft="32dp"
+ android:paddingRight="32dp"
+ android:text="@string/select_saved_net"
+ android:textColor="@color/ThemeLight" />
+ </RelativeLayout>
+
+ <RelativeLayout
+ android:id="@+id/button_frame"
+ android:layout_toRightOf="@id/left_frame"
+ android:layout_width="0dip"
+ android:layout_weight=".50"
+ android:layout_height="fill_parent"
+ android:background="@drawable/top_frame"
+ android:padding="15dp" >
+
+ <EditText
+ android:id="@+id/txt_ssid"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="30dp"
+ android:layout_centerInParent="true"
+ android:background="@drawable/button_bg"
+ android:inputType="text"
+ android:maxLines="1"
+ android:padding="5dp"
+ android:singleLine="true"
+ android:textColor="@color/ThemeLight"
+ android:textCursorDrawable="@null"
+ android:textSize="10pt" />
+
+ <TextView
+ android:id="@+id/txt_insert_ssid"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_above="@id/txt_ssid"
+ android:layout_centerHorizontal="true"
+ android:layout_marginBottom="10dp"
+ android:background="@color/black"
+ android:maxLines="1"
+ android:text="@string/input_ssid"
+ android:textColor="@color/ThemeLight"
+ android:textSize="9pt" />
+
+ <LinearLayout
+ style="@style/LoginFormContainer"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/txt_ssid"
+ android:background="@color/black"
+ android:orientation="vertical" >
+
+ <Button
+ android:id="@+id/btn_next_hidden_ssid"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="right"
+ android:layout_marginTop="16dp"
+ android:background="@drawable/repwifi_button"
+ android:onClick="onBtnNextClick"
+ android:paddingLeft="32dp"
+ android:paddingRight="32dp"
+ android:text="@string/button_text_next"
+ android:textColor="@color/ThemeLight" />
+ </LinearLayout>
+ </RelativeLayout>
+
+</LinearLayout> \ No newline at end of file