2016-10-06 05:26:54 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2016-10-14 01:26:56 +02:00
|
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
2016-10-06 05:26:54 +02:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:paddingBottom="@dimen/activity_vertical_margin"
|
|
|
|
android:paddingLeft="@dimen/activity_horizontal_margin"
|
|
|
|
android:paddingRight="@dimen/activity_horizontal_margin"
|
|
|
|
android:scrollbars="vertical">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/podselection__dialog__text_profile"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="@dimen/activity_vertical_margin"
|
|
|
|
android:text="@string/profile"
|
|
|
|
android:textAppearance="@style/AppTheme.TextAppearance.Caption"
|
2016-10-14 01:26:56 +02:00
|
|
|
android:visibility="gone" />
|
2016-10-06 05:26:54 +02:00
|
|
|
|
|
|
|
<Spinner
|
|
|
|
android:id="@+id/podselection__dialog__spinner_profile"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="@dimen/activity_horizontal_margin_half"
|
2016-10-14 01:26:56 +02:00
|
|
|
android:visibility="gone" />
|
2016-10-06 05:26:54 +02:00
|
|
|
|
|
|
|
<TextView
|
2016-10-22 23:30:22 +02:00
|
|
|
android:id="@+id/podselection__dialog__text_pod_name"
|
2016-10-06 05:26:54 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="@dimen/activity_horizontal_margin_half"
|
|
|
|
android:text="@string/pod_name"
|
2016-10-14 01:26:56 +02:00
|
|
|
android:textAppearance="@style/AppTheme.TextAppearance.Caption" />
|
2016-10-06 05:26:54 +02:00
|
|
|
|
|
|
|
<EditText
|
2016-10-22 23:30:22 +02:00
|
|
|
android:id="@+id/podselection__dialog__edit_pod_name"
|
2016-10-06 05:26:54 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="@dimen/activity_horizontal_margin_half"
|
|
|
|
android:ems="10"
|
|
|
|
android:hint="@string/pod_name"
|
|
|
|
android:inputType="textPersonName"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
2016-10-14 01:26:56 +02:00
|
|
|
tools:text="Geraspora" />
|
2016-10-06 05:26:54 +02:00
|
|
|
|
2016-10-07 02:43:12 +02:00
|
|
|
<TextView
|
2016-10-22 23:30:22 +02:00
|
|
|
android:id="@+id/podselection__dialog__text_pod_address"
|
2016-10-07 02:43:12 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="@dimen/activity_horizontal_margin_half"
|
|
|
|
android:text="@string/pod_address"
|
2016-10-14 01:26:56 +02:00
|
|
|
android:textAppearance="@style/AppTheme.TextAppearance.Caption" />
|
2016-10-07 02:43:12 +02:00
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/podselection__dialog__edit_podaddress"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="@dimen/activity_horizontal_margin_half"
|
|
|
|
android:ems="10"
|
|
|
|
android:hint="@string/pod_address"
|
|
|
|
android:inputType="textPersonName"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
2016-10-14 01:26:56 +02:00
|
|
|
tools:text="pod.geraspora.de" />
|
2016-10-07 02:43:12 +02:00
|
|
|
|
2016-10-06 05:26:54 +02:00
|
|
|
<TextView
|
2016-10-22 23:30:22 +02:00
|
|
|
android:id="@+id/podselection__dialog__text_protocol"
|
2016-10-06 05:26:54 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="@dimen/activity_horizontal_margin_half"
|
|
|
|
android:text="@string/http_protocol"
|
2016-10-14 01:26:56 +02:00
|
|
|
android:textAppearance="@style/AppTheme.TextAppearance.Caption" />
|
2016-10-06 05:26:54 +02:00
|
|
|
|
|
|
|
<RadioGroup
|
|
|
|
android:id="@+id/podselection__dialog__radiogroup_protocol"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="@dimen/activity_horizontal_margin_half"
|
|
|
|
android:checkedButton="@+id/podselection__dialog__radio_https"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
android:id="@+id/podselection__dialog__radio_http"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
2016-10-14 01:26:56 +02:00
|
|
|
android:text="http" />
|
2016-10-06 05:26:54 +02:00
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
android:id="@+id/podselection__dialog__radio_https"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
2016-10-14 01:26:56 +02:00
|
|
|
android:text="https" />
|
2016-10-06 05:26:54 +02:00
|
|
|
</RadioGroup>
|
|
|
|
|
2016-10-22 19:21:26 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/podselection__dialog__text_torpreset"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="@dimen/activity_horizontal_margin_half"
|
|
|
|
android:text="@string/tor"
|
|
|
|
android:textAppearance="@style/AppTheme.TextAppearance.Caption"
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/podselection__dialog__check_torpreset"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="@dimen/activity_horizontal_margin_half"
|
|
|
|
android:text="@string/pref_title__http_proxy_load_tor_preset"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
2016-10-06 05:26:54 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/podselection__dialog__btn_cancel"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
2016-10-14 01:26:56 +02:00
|
|
|
android:text="@android:string/cancel" />
|
2016-10-06 05:26:54 +02:00
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/podselection__dialog__btn_ok"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
2016-10-14 01:26:56 +02:00
|
|
|
android:text="@android:string/ok" />
|
2016-10-06 05:26:54 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|