diff options
author | Parménides GV <parmegv@sdf.org> | 2013-02-11 20:28:59 +0100 |
---|---|---|
committer | Parménides GV <parmegv@sdf.org> | 2013-02-11 20:28:59 +0100 |
commit | 162afa5bfa6485f3aacb3f60e9c92fa0c3bfa7a7 (patch) | |
tree | c9fabab994e1e51e8ec90bc8b2c78cc55d219e3e /res | |
parent | 8db161017f55a710bd91aa14fe9c1b24d4efdeab (diff) |
Gets provider.json from custom url (assuming the file is at the root of
the website, just as bitmask.net/provider.json), and writes it to a file
in ~/leap_android.
Next steps: parse that file and download eip-service and cert.
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/new_provider_dialog.xml | 18 | ||||
-rwxr-xr-x | res/values/strings.xml | 1 |
2 files changed, 19 insertions, 0 deletions
diff --git a/res/layout/new_provider_dialog.xml b/res/layout/new_provider_dialog.xml new file mode 100644 index 00000000..28122867 --- /dev/null +++ b/res/layout/new_provider_dialog.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:orientation="vertical" > + + <EditText + android:id="@+id/new_provider_url" + android:inputType="textUri" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginTop="16dp" + android:layout_marginLeft="4dp" + android:layout_marginRight="4dp" + android:layout_marginBottom="4dp" + android:hint="@string/new_provider_uri" /> + +</LinearLayout>
\ No newline at end of file diff --git a/res/values/strings.xml b/res/values/strings.xml index ca73c0da..2deb23fa 100755 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -264,5 +264,6 @@ <string name="new_provider_button">Add new Provider</string> <string name="introduce_new_provider">Introduce new provider</string> <string name="save">Save</string> + <string name="new_provider_uri">New provider\'s main URL</string> </resources>
\ No newline at end of file |