2021-08-08 19:21:56 +02:00
|
|
|
<LinearLayout 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="wrap_content"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
2022-01-07 09:37:15 +01:00
|
|
|
style="@style/Widget.Material3.TextInputLayout.OutlinedBox"
|
2021-08-08 19:21:56 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="24dp"
|
|
|
|
|
android:layout_marginTop="24dp"
|
|
|
|
|
android:layout_marginEnd="24dp"
|
|
|
|
|
android:textColorHint="?android:textColorHint"
|
|
|
|
|
app:endIconMode="clear_text"
|
|
|
|
|
app:endIconTint="?android:textColorSecondary"
|
2022-01-10 12:35:56 +01:00
|
|
|
app:errorEnabled="true">
|
2021-08-08 19:21:56 +02:00
|
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
|
|
|
android:id="@+id/server_name_text_view"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2021-09-04 19:00:41 +02:00
|
|
|
android:hint="@string/server_signup_dialog_hint_name"
|
2021-08-08 19:21:56 +02:00
|
|
|
android:inputType="textNoSuggestions"
|
2021-08-09 13:04:30 +02:00
|
|
|
android:textCursorDrawable="@null" />
|
2021-08-08 19:21:56 +02:00
|
|
|
|
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
2022-01-07 09:37:15 +01:00
|
|
|
style="@style/Widget.Material3.TextInputLayout.OutlinedBox"
|
2021-08-08 19:21:56 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="24dp"
|
|
|
|
|
android:layout_marginEnd="24dp"
|
|
|
|
|
android:textColorHint="?android:textColorHint"
|
|
|
|
|
app:endIconMode="clear_text"
|
|
|
|
|
app:endIconTint="?android:textColorSecondary"
|
2022-01-10 12:35:56 +01:00
|
|
|
app:errorEnabled="true">
|
2021-08-08 19:21:56 +02:00
|
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
|
|
|
android:id="@+id/username_text_view"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2021-09-04 19:00:41 +02:00
|
|
|
android:hint="@string/server_signup_dialog_hint_username"
|
2021-08-08 19:21:56 +02:00
|
|
|
android:inputType="textShortMessage"
|
2022-01-13 10:39:56 +01:00
|
|
|
android:textCursorDrawable="@null" />
|
2021-08-08 19:21:56 +02:00
|
|
|
|
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
2022-01-07 09:37:15 +01:00
|
|
|
style="@style/Widget.Material3.TextInputLayout.OutlinedBox"
|
2021-08-08 19:21:56 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="24dp"
|
|
|
|
|
android:layout_marginEnd="24dp"
|
|
|
|
|
android:textColorHint="?android:textColorHint"
|
|
|
|
|
app:endIconMode="password_toggle"
|
|
|
|
|
app:endIconTint="?android:textColorSecondary"
|
2022-01-10 12:35:56 +01:00
|
|
|
app:errorEnabled="true">
|
2021-08-08 19:21:56 +02:00
|
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
|
|
|
android:id="@+id/password_text_view"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2021-09-04 19:00:41 +02:00
|
|
|
android:hint="@string/server_signup_dialog_hint_password"
|
2021-08-08 19:21:56 +02:00
|
|
|
android:inputType="textPassword"
|
2022-01-13 10:39:56 +01:00
|
|
|
android:textCursorDrawable="@null" />
|
2021-08-08 19:21:56 +02:00
|
|
|
|
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
2022-01-07 09:37:15 +01:00
|
|
|
style="@style/Widget.Material3.TextInputLayout.OutlinedBox"
|
2021-08-08 19:21:56 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="24dp"
|
|
|
|
|
android:layout_marginEnd="24dp"
|
|
|
|
|
android:textColorHint="?android:textColorHint"
|
|
|
|
|
app:endIconMode="clear_text"
|
|
|
|
|
app:endIconTint="?android:textColorSecondary"
|
2022-01-10 12:35:56 +01:00
|
|
|
app:errorEnabled="true">
|
2021-08-08 19:21:56 +02:00
|
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
|
|
|
android:id="@+id/server_text_view"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2021-09-04 19:00:41 +02:00
|
|
|
android:hint="@string/server_signup_dialog_hint_url"
|
2021-08-08 19:21:56 +02:00
|
|
|
android:inputType="textNoSuggestions"
|
2022-01-13 10:39:56 +01:00
|
|
|
android:textCursorDrawable="@null" />
|
2021-08-08 19:21:56 +02:00
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
2021-08-09 17:55:30 +02:00
|
|
|
|
2022-01-11 12:49:40 +01:00
|
|
|
<CheckBox
|
|
|
|
|
android:id="@+id/low_security_checkbox"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="24dp"
|
|
|
|
|
android:layout_marginEnd="24dp"
|
2022-01-13 10:39:56 +01:00
|
|
|
android:text="@string/server_signup_dialog_action_low_security" />
|
2021-08-08 19:21:56 +02:00
|
|
|
</LinearLayout>
|