summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/select_country_dialog.xml
diff options
context:
space:
mode:
authorSimon Rusinov <mrpinkolik@gmail.com>2022-10-15 14:29:39 +0500
committerGitHub <noreply@github.com>2022-10-15 11:29:39 +0200
commit4c30d8ff7ff855e3cc25caf383620857a4319c79 (patch)
treedf25c3213e007ce39f724e95e8fba38cfe5479c7 /app/src/main/res/layout/select_country_dialog.xml
parent8ff9dd829aa24ef7f0581dadcf3726a64f289955 (diff)
downloadAntennaPod-4c30d8ff7ff855e3cc25caf383620857a4319c79.zip
Add auto-complete to discovery country selection (#6139)
Diffstat (limited to 'app/src/main/res/layout/select_country_dialog.xml')
-rw-r--r--app/src/main/res/layout/select_country_dialog.xml22
1 files changed, 22 insertions, 0 deletions
diff --git a/app/src/main/res/layout/select_country_dialog.xml b/app/src/main/res/layout/select_country_dialog.xml
new file mode 100644
index 000000000..4b77492d3
--- /dev/null
+++ b/app/src/main/res/layout/select_country_dialog.xml
@@ -0,0 +1,22 @@
+<?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="match_parent"
+ android:orientation="vertical">
+
+ <com.google.android.material.textfield.TextInputLayout
+ android:id="@+id/country_text_input"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_margin="20dp"
+ android:hint="@string/country"
+ style="@style/Widget.MaterialComponents.TextInputLayout.FilledBox.ExposedDropdownMenu">
+
+ <AutoCompleteTextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content" />
+
+ </com.google.android.material.textfield.TextInputLayout>
+
+</LinearLayout>