diff options
author | Alex Ning <chineseperson5@gmail.com> | 2020-10-28 02:25:25 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2020-10-28 02:25:25 +0000 |
commit | 06fdd12f0c24e569a82b664ea47ab2b7ba1e65ee (patch) | |
tree | 6e7068c4532d9e872b52d9e6130d909fcbcb5a61 /app/src/main/res/layout/item_recent_search_query.xml | |
parent | fbddc739184b2bf164242740f75a47638d9d442b (diff) | |
download | infinity-for-reddit-06fdd12f0c24e569a82b664ea47ab2b7ba1e65ee.tar infinity-for-reddit-06fdd12f0c24e569a82b664ea47ab2b7ba1e65ee.tar.gz infinity-for-reddit-06fdd12f0c24e569a82b664ea47ab2b7ba1e65ee.tar.bz2 infinity-for-reddit-06fdd12f0c24e569a82b664ea47ab2b7ba1e65ee.tar.lz infinity-for-reddit-06fdd12f0c24e569a82b664ea47ab2b7ba1e65ee.tar.xz infinity-for-reddit-06fdd12f0c24e569a82b664ea47ab2b7ba1e65ee.tar.zst infinity-for-reddit-06fdd12f0c24e569a82b664ea47ab2b7ba1e65ee.zip |
Deleting search history is now available.
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.xml | 13 |
1 files changed, 12 insertions, 1 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 index f014e2fe..fd851926 100644 --- a/app/src/main/res/layout/item_recent_search_query.xml +++ b/app/src/main/res/layout/item_recent_search_query.xml @@ -10,10 +10,21 @@ <TextView android:id="@+id/recent_search_query_text_view_item_recent_search_query" - android:layout_width="wrap_content" + android:layout_width="0dp" android:layout_height="wrap_content" + android:layout_weight="1" + android:layout_gravity="center_vertical" android:fontFamily="?attr/font_family" android:textSize="?attr/font_default" android:drawablePadding="16dp" /> + <ImageView + android:id="@+id/delete_image_view_item_recent_search_query" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center_vertical" + android:clickable="true" + android:focusable="true" + android:background="?attr/selectableItemBackground" /> + </LinearLayout>
\ No newline at end of file |