diff options
author | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2024-08-14 22:51:26 +0000 |
---|---|---|
committer | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2024-08-14 22:51:26 +0000 |
commit | ea8f2404debddee1e0b2e1dbd0078647814fed9b (patch) | |
tree | f3c8816968a0eb880ede1cf22a56c6d81b149f14 /app/src/main/res/layout/activity_search.xml | |
parent | 1c821fbab41a21ec3d40f78436a78cc596692b28 (diff) | |
download | infinity-for-reddit-ea8f2404debddee1e0b2e1dbd0078647814fed9b.tar infinity-for-reddit-ea8f2404debddee1e0b2e1dbd0078647814fed9b.tar.gz infinity-for-reddit-ea8f2404debddee1e0b2e1dbd0078647814fed9b.tar.bz2 infinity-for-reddit-ea8f2404debddee1e0b2e1dbd0078647814fed9b.tar.lz infinity-for-reddit-ea8f2404debddee1e0b2e1dbd0078647814fed9b.tar.xz infinity-for-reddit-ea8f2404debddee1e0b2e1dbd0078647814fed9b.tar.zst infinity-for-reddit-ea8f2404debddee1e0b2e1dbd0078647814fed9b.zip |
Redesign recent search queries UI.
Diffstat (limited to 'app/src/main/res/layout/activity_search.xml')
-rw-r--r-- | app/src/main/res/layout/activity_search.xml | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/app/src/main/res/layout/activity_search.xml b/app/src/main/res/layout/activity_search.xml index 3427f7d3..ef6bee96 100644 --- a/app/src/main/res/layout/activity_search.xml +++ b/app/src/main/res/layout/activity_search.xml @@ -122,14 +122,16 @@ </RelativeLayout> - <View - android:id="@+id/divider_search_activity" + <androidx.recyclerview.widget.RecyclerView + android:id="@+id/recent_search_query_recycler_view_search_activity" android:layout_width="match_parent" - android:layout_height="1dp" - android:visibility="gone" /> + android:layout_height="wrap_content" + android:visibility="gone" + app:spanCount="2" + app:layoutManager="androidx.recyclerview.widget.GridLayoutManager" /> <androidx.recyclerview.widget.RecyclerView - android:id="@+id/recycler_view_search_activity" + android:id="@+id/subreddit_autocomplete_recycler_view_search_activity" android:layout_width="match_parent" android:layout_height="wrap_content" android:visibility="gone" |