aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/item_recent_search_query.xml
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-09-29 14:19:54 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-09-29 14:19:54 +0000
commit6e4519ef93f295178e0b850b739bd0085de6aa17 (patch)
tree882925d4680567193e06472e4c40e856f6c43acc /app/src/main/res/layout/item_recent_search_query.xml
parent8dd4759035bae9cff7a0d8bd0af1d1624193c796 (diff)
downloadinfinity-for-reddit-6e4519ef93f295178e0b850b739bd0085de6aa17.tar
infinity-for-reddit-6e4519ef93f295178e0b850b739bd0085de6aa17.tar.gz
infinity-for-reddit-6e4519ef93f295178e0b850b739bd0085de6aa17.tar.bz2
infinity-for-reddit-6e4519ef93f295178e0b850b739bd0085de6aa17.tar.lz
infinity-for-reddit-6e4519ef93f295178e0b850b739bd0085de6aa17.tar.xz
infinity-for-reddit-6e4519ef93f295178e0b850b739bd0085de6aa17.tar.zst
infinity-for-reddit-6e4519ef93f295178e0b850b739bd0085de6aa17.zip
Display search history in SearchActivity. Save suggested sort type and nsfw info in database for SubredditData. Fix an issue in parsing posts.
Diffstat (limited to 'app/src/main/res/layout/item_recent_search_query.xml')
-rw-r--r--app/src/main/res/layout/item_recent_search_query.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/app/src/main/res/layout/item_recent_search_query.xml b/app/src/main/res/layout/item_recent_search_query.xml
new file mode 100644
index 00000000..f014e2fe
--- /dev/null
+++ b/app/src/main/res/layout/item_recent_search_query.xml
@@ -0,0 +1,19 @@
+<?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:padding="16dp"
+ android:clickable="true"
+ android:focusable="true"
+ android:background="?attr/selectableItemBackground">
+
+ <TextView
+ android:id="@+id/recent_search_query_text_view_item_recent_search_query"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:fontFamily="?attr/font_family"
+ android:textSize="?attr/font_default"
+ android:drawablePadding="16dp" />
+
+</LinearLayout> \ No newline at end of file