summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/gpodnetauth_host.xml
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/layout/gpodnetauth_host.xml')
-rw-r--r--app/src/main/res/layout/gpodnetauth_host.xml59
1 files changed, 20 insertions, 39 deletions
diff --git a/app/src/main/res/layout/gpodnetauth_host.xml b/app/src/main/res/layout/gpodnetauth_host.xml
index 52c5fdb5d..bcee9b880 100644
--- a/app/src/main/res/layout/gpodnetauth_host.xml
+++ b/app/src/main/res/layout/gpodnetauth_host.xml
@@ -1,50 +1,31 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical">
-
- <RadioGroup
- android:id="@+id/serverRadioGroup"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <RadioButton
- android:id="@+id/officialServerRadio"
- android:text="@string/gpodnetauth_server_official"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:checked="true"/>
- <RadioButton
- android:id="@+id/customServerRadio"
- android:text="@string/gpodnetauth_server_custom"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"/>
- </RadioGroup>
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical">
<com.google.android.material.textfield.TextInputLayout
- android:id="@+id/serverUrlTextInput"
- style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
- android:visibility="gone"
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox">
<com.google.android.material.textfield.TextInputEditText
- android:id="@+id/serverUrlText"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="@string/gpodnetauth_host"
- android:inputType="textNoSuggestions"
- android:lines="1"
- android:imeOptions="actionNext|flagNoFullscreen" />
+ android:id="@+id/serverUrlText"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:hint="@string/gpodnetauth_host"
+ android:inputType="textNoSuggestions"
+ android:lines="1"
+ android:imeOptions="actionNext|flagNoFullscreen" />
</com.google.android.material.textfield.TextInputLayout>
<Button
- android:id="@+id/chooseHostButton"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="right|end"
- android:text="@string/gpodnetauth_select_server"/>
+ android:id="@+id/chooseHostButton"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="right|end"
+ android:text="@string/gpodnetauth_select_server" />
-</LinearLayout> \ No newline at end of file
+</LinearLayout>