From 401dba6d83052cf0c9c60a74e8460e356f39bcb2 Mon Sep 17 00:00:00 2001 From: MChen321 <76930316+MChen321@users.noreply.github.com> Date: Thu, 8 Sep 2022 21:05:30 -0500 Subject: Added a clear search bar text button (#1063) --- app/src/main/res/drawable-xhdpi/ic_cancel_24dp.xml | 10 ++++++++++ app/src/main/res/layout/activity_search.xml | 10 ++++++++++ 2 files changed, 20 insertions(+) create mode 100644 app/src/main/res/drawable-xhdpi/ic_cancel_24dp.xml (limited to 'app/src/main/res') diff --git a/app/src/main/res/drawable-xhdpi/ic_cancel_24dp.xml b/app/src/main/res/drawable-xhdpi/ic_cancel_24dp.xml new file mode 100644 index 00000000..b20b903f --- /dev/null +++ b/app/src/main/res/drawable-xhdpi/ic_cancel_24dp.xml @@ -0,0 +1,10 @@ + + + diff --git a/app/src/main/res/layout/activity_search.xml b/app/src/main/res/layout/activity_search.xml index 8d4055ca..3e68d158 100644 --- a/app/src/main/res/layout/activity_search.xml +++ b/app/src/main/res/layout/activity_search.xml @@ -39,6 +39,16 @@ android:inputType="textNoSuggestions" android:imeOptions="actionSearch" /> + +