misp-bump/app/src/main/res/layout/dialog_enter_credentials.xml

40 lines
1.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent" android:layout_height="match_parent"
android:padding="20dp">
<android.support.design.widget.TextInputLayout
android:id="@+id/input_layout_server_url"
android:layout_width="match_parent" android:layout_height="wrap_content"
android:hint="@string/server_url">
<android.support.design.widget.TextInputEditText
android:layout_width="match_parent" android:layout_height="match_parent"
android:inputType="textUri"/>
</android.support.design.widget.TextInputLayout>
<android.support.design.widget.TextInputLayout
android:id="@+id/input_layout_automation_key"
android:layout_width="match_parent" android:layout_height="wrap_content"
android:layout_below="@id/input_layout_server_url"
android:layout_marginTop="8dp"
android:hint="@string/authkey"
app:passwordToggleEnabled="true">
<android.support.design.widget.TextInputEditText
android:layout_width="match_parent" android:layout_height="match_parent"
android:inputType="textPassword"/>
</android.support.design.widget.TextInputLayout>
<CheckBox
android:id="@+id/check_save_authkey"
android:layout_width="match_parent" android:layout_height="wrap_content"
android:layout_below="@id/input_layout_automation_key"
android:layout_marginTop="16dp"
android:text="@string/save_authkey"/>
</RelativeLayout>