2015-10-01 18:54:20 +03:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2015-10-22 23:01:58 +03:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
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"
|
|
|
|
android:paddingLeft="16dp"
|
|
|
|
android:paddingRight="16dp">
|
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"
|
|
|
|
android:layout_height="wrap_content">
|
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"
|
|
|
|
android:shadowColor="@color/fg_default_low"
|
2015-10-22 23:01:58 +03:00
|
|
|
android:text="@string/settings_submit" />
|
|
|
|
</LinearLayout>
|