diff options
Diffstat (limited to 'main/src/main/res/layout/import_remote_config.xml')
-rw-r--r-- | main/src/main/res/layout/import_remote_config.xml | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/main/src/main/res/layout/import_remote_config.xml b/main/src/main/res/layout/import_remote_config.xml new file mode 100644 index 00000000..f04503ce --- /dev/null +++ b/main/src/main/res/layout/import_remote_config.xml @@ -0,0 +1,82 @@ +<?xml version="1.0" encoding="utf-8"?> + +<!-- + ~ Copyright (c) 2012-2016 Arne Schwabe + ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt + --> + +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:padding="20dp" + android:layout_height="match_parent" + android:orientation="vertical"> + + <RadioGroup + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="horizontal" + android:id="@+id/import_source_group" + > + <RadioButton + android:checked="true" + android:id="@+id/import_choice_as" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:paddingEnd="20dp" + android:text="@string/import_from_access_server" + android:paddingRight="20dp" /> + + <RadioButton + android:id="@+id/import_choice_url" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/import_from_URL" /> + + </RadioGroup> + + <EditText + android:id="@+id/as_servername" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginLeft="4dp" + android:layout_marginTop="4dp" + android:layout_marginRight="4dp" + android:layout_marginBottom="4dp" + android:hint="@string/as_servername" + android:inputType="textUri" /> + + + + <EditText + android:id="@+id/username" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginLeft="4dp" + android:layout_marginTop="8dp" + android:layout_marginRight="4dp" + android:layout_marginBottom="4dp" + android:hint="@string/auth_username" + android:inputType="textEmailAddress" /> + + <EditText + android:id="@+id/password" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginLeft="4dp" + android:layout_marginTop="4dp" + android:layout_marginRight="4dp" + android:layout_marginBottom="4dp" + android:hint="@string/password" + android:inputType="textPassword" /> + + <CheckBox + android:id="@+id/request_autologin" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginLeft="4dp" + android:layout_marginTop="4dp" + android:layout_marginRight="4dp" + android:layout_marginBottom="16dp" + android:text="@string/request_autologin" /> + +</LinearLayout>
\ No newline at end of file |