aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2021-07-01 04:48:28 +0000
committerAlex Ning <chineseperson5@gmail.com>2021-07-01 04:48:28 +0000
commit2d1e63d7223408cd1acbd4b02851acea2881dd52 (patch)
treee31571435a468bb4f11c1eadf798c4d9ad2bf7db /app/src/main/res
parentef953a72f73e6b11a5886678c2cd0424a4f5e9f8 (diff)
downloadinfinity-for-reddit-2d1e63d7223408cd1acbd4b02851acea2881dd52.tar
infinity-for-reddit-2d1e63d7223408cd1acbd4b02851acea2881dd52.tar.gz
infinity-for-reddit-2d1e63d7223408cd1acbd4b02851acea2881dd52.tar.bz2
infinity-for-reddit-2d1e63d7223408cd1acbd4b02851acea2881dd52.tar.lz
infinity-for-reddit-2d1e63d7223408cd1acbd4b02851acea2881dd52.tar.xz
infinity-for-reddit-2d1e63d7223408cd1acbd4b02851acea2881dd52.tar.zst
infinity-for-reddit-2d1e63d7223408cd1acbd4b02851acea2881dd52.zip
Suggest subreddits in go to subreddit dialog in MainActivity.
Diffstat (limited to '')
-rw-r--r--app/src/main/res/layout/dialog_go_to_thing_edit_text.xml47
1 files changed, 30 insertions, 17 deletions
diff --git a/app/src/main/res/layout/dialog_go_to_thing_edit_text.xml b/app/src/main/res/layout/dialog_go_to_thing_edit_text.xml
index 9c01d84d..707f4d55 100644
--- a/app/src/main/res/layout/dialog_go_to_thing_edit_text.xml
+++ b/app/src/main/res/layout/dialog_go_to_thing_edit_text.xml
@@ -1,25 +1,38 @@
<?xml version="1.0" encoding="utf-8"?>
-<com.google.android.material.textfield.TextInputLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
- style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:paddingStart="16dp"
- android:paddingTop="8dp"
- android:paddingEnd="16dp"
- android:paddingBottom="8dp"
- app:boxStrokeColor="?attr/primaryTextColor"
- app:hintTextColor="?attr/primaryTextColor">
+ android:orientation="vertical">
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/text_input_edit_text_go_to_thing_edit_text"
+ <com.google.android.material.textfield.TextInputLayout
+ style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:fontFamily="?attr/font_family"
- android:hint="@string/go_to_thing_hint"
- android:textColor="?attr/primaryTextColor"
- android:textSize="?attr/font_default"
- android:singleLine="true"
- android:imeOptions="actionDone"/>
+ android:paddingStart="16dp"
+ android:paddingTop="8dp"
+ android:paddingEnd="16dp"
+ android:paddingBottom="8dp"
+ app:boxStrokeColor="?attr/primaryTextColor"
+ app:hintTextColor="?attr/primaryTextColor">
-</com.google.android.material.textfield.TextInputLayout> \ No newline at end of file
+ <com.google.android.material.textfield.TextInputEditText
+ android:id="@+id/text_input_edit_text_go_to_thing_edit_text"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:fontFamily="?attr/font_family"
+ android:hint="@string/go_to_thing_hint"
+ android:textColor="?attr/primaryTextColor"
+ android:textSize="?attr/font_default"
+ android:singleLine="true"
+ android:imeOptions="actionDone"/>
+
+ </com.google.android.material.textfield.TextInputLayout>
+
+ <androidx.recyclerview.widget.RecyclerView
+ android:id="@+id/recycler_view_go_to_thing_edit_text"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" />
+
+</LinearLayout> \ No newline at end of file