2013-09-17 18:14:30 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:scrollbars="vertical" >
|
|
|
|
|
|
|
|
<GridLayout
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:columnCount="2"
|
|
|
|
android:padding="10dp"
|
|
|
|
android:useDefaultMargins="true" >
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_columnSpan="2"
|
|
|
|
android:layout_gravity="left"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
android:text="@string/root_url" />
|
|
|
|
|
|
|
|
<Spinner
|
|
|
|
android:id="@+id/select_protocol"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_gravity="left"
|
|
|
|
android:entries="@array/http_protocols" />
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/baseURL"
|
|
|
|
android:layout_gravity="fill_horizontal"
|
|
|
|
android:hint="myserver/dav/"
|
|
|
|
android:inputType="textUri"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:text="" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/http_warning"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_columnSpan="2"
|
|
|
|
android:layout_gravity="left"
|
|
|
|
android:drawableLeft="@drawable/alerts_and_states_warning"
|
|
|
|
android:drawablePadding="10dp"
|
|
|
|
android:padding="10dp"
|
|
|
|
android:text="@string/http_warning" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
android:text="@string/user_name" />
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/userName"
|
|
|
|
android:layout_gravity="fill_horizontal"
|
|
|
|
android:inputType="textNoSuggestions"
|
|
|
|
android:text="" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
android:text="@string/password" />
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/password"
|
|
|
|
android:layout_gravity="fill_horizontal"
|
|
|
|
android:inputType="textPassword"
|
|
|
|
android:text="" />
|
2013-10-11 22:00:20 +00:00
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/auth_preemptive"
|
|
|
|
android:layout_columnSpan="2"
|
|
|
|
android:checked="true"
|
|
|
|
android:layout_gravity="left"
|
|
|
|
android:text="@string/auth_preemptive" />
|
|
|
|
|
2013-09-17 18:14:30 +00:00
|
|
|
<Space android:layout_gravity="left|top" />
|
2013-10-11 22:00:20 +00:00
|
|
|
|
2013-09-17 18:14:30 +00:00
|
|
|
</GridLayout>
|
|
|
|
|
|
|
|
</ScrollView>
|