2015-10-01 18:54:20 +03:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-04-11 16:37:28 +03:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2017-04-17 18:01:27 +03:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2015-10-01 18:54:20 +03:00
|
|
|
android:layout_width="match_parent"
|
2015-10-22 23:01:58 +03:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical"
|
2018-04-11 16:40:33 +03:00
|
|
|
android:paddingTop="@dimen/activity_vertical_margin"
|
|
|
|
android:paddingLeft="@dimen/activity_horizontal_margin"
|
|
|
|
android:paddingRight="@dimen/activity_horizontal_margin">
|
2015-10-01 18:54:20 +03:00
|
|
|
|
|
|
|
<android.support.design.widget.TextInputLayout
|
|
|
|
android:id="@+id/settings_url_wrapper"
|
2015-10-22 23:01:58 +03:00
|
|
|
android:layout_width="match_parent"
|
2015-10-01 18:54:20 +03:00
|
|
|
android:layout_height="wrap_content"
|
2016-01-21 22:48:39 +03:00
|
|
|
android:layout_marginTop="8dp">
|
2015-10-01 18:54:20 +03:00
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/settings_url"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:hint="@string/settings_url"
|
2015-10-22 23:01:58 +03:00
|
|
|
android:inputType="textUri" />
|
2015-10-01 18:54:20 +03:00
|
|
|
</android.support.design.widget.TextInputLayout>
|
|
|
|
|
|
|
|
<TextView
|
2015-10-22 23:01:58 +03:00
|
|
|
android:id="@+id/settings_url_warn_http"
|
2015-10-01 18:54:20 +03:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2015-10-25 11:35:27 +03:00
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
android:layout_marginTop="8dp"
|
2015-10-22 23:26:20 +03:00
|
|
|
android:background="@color/bg_attention"
|
|
|
|
android:padding="8dp"
|
2015-10-01 18:54:20 +03:00
|
|
|
android:text="@string/settings_url_warn_http"
|
2015-10-22 23:26:20 +03:00
|
|
|
android:textColor="@color/fg_contrast"
|
2015-10-22 23:01:58 +03:00
|
|
|
android:visibility="gone" />
|
2015-10-01 18:54:20 +03:00
|
|
|
|
|
|
|
<android.support.design.widget.TextInputLayout
|
|
|
|
android:id="@+id/settings_username_wrapper"
|
2015-10-22 23:01:58 +03:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
2015-10-01 18:54:20 +03:00
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/settings_username"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2016-01-02 20:43:48 +03:00
|
|
|
android:hint="@string/settings_username"
|
2016-09-17 10:23:56 +03:00
|
|
|
android:inputType="text" />
|
2015-10-01 18:54:20 +03:00
|
|
|
</android.support.design.widget.TextInputLayout>
|
|
|
|
|
|
|
|
<android.support.design.widget.TextInputLayout
|
|
|
|
android:id="@+id/settings_password_wrapper"
|
2015-10-22 23:01:58 +03:00
|
|
|
android:layout_width="match_parent"
|
2017-04-17 18:01:27 +03:00
|
|
|
android:layout_height="wrap_content"
|
2018-04-11 16:37:28 +03:00
|
|
|
app:passwordToggleEnabled="true">
|
2015-10-01 18:54:20 +03:00
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/settings_password"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:hint="@string/settings_password"
|
2015-10-22 23:01:58 +03:00
|
|
|
android:inputType="textPassword" />
|
2015-10-01 18:54:20 +03:00
|
|
|
</android.support.design.widget.TextInputLayout>
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/settings_submit"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2017-04-10 23:28:44 +03:00
|
|
|
android:layout_marginBottom="10pt"
|
2018-04-11 16:40:33 +03:00
|
|
|
android:layout_marginTop="@dimen/activity_vertical_margin"
|
2015-10-01 18:54:20 +03:00
|
|
|
android:shadowColor="@color/fg_default_low"
|
2015-10-22 23:01:58 +03:00
|
|
|
android:text="@string/settings_submit" />
|
2016-10-24 13:28:15 +03:00
|
|
|
|
2017-05-05 13:34:22 +03:00
|
|
|
</LinearLayout>
|