diff options
author | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2023-09-18 03:14:31 +0000 |
---|---|---|
committer | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2023-09-18 03:14:31 +0000 |
commit | ee4a0167a3b27755527023faba9a9bc00f5b91ee (patch) | |
tree | fe4bbd484f933e8036664ec8c3ac16dc21c9061b /app/src/main/res/layout/activity_search.xml | |
parent | 28400822af6024906fccd8fb9893594d283bee1e (diff) | |
download | infinity-for-reddit-ee4a0167a3b27755527023faba9a9bc00f5b91ee.tar infinity-for-reddit-ee4a0167a3b27755527023faba9a9bc00f5b91ee.tar.gz infinity-for-reddit-ee4a0167a3b27755527023faba9a9bc00f5b91ee.tar.bz2 infinity-for-reddit-ee4a0167a3b27755527023faba9a9bc00f5b91ee.tar.lz infinity-for-reddit-ee4a0167a3b27755527023faba9a9bc00f5b91ee.tar.xz infinity-for-reddit-ee4a0167a3b27755527023faba9a9bc00f5b91ee.tar.zst infinity-for-reddit-ee4a0167a3b27755527023faba9a9bc00f5b91ee.zip |
Fix https://github.com/Docile-Alligator/Infinity-For-Reddit/issues/1508. Minor UI tweaks in SearchActivity.
Diffstat (limited to 'app/src/main/res/layout/activity_search.xml')
-rw-r--r-- | app/src/main/res/layout/activity_search.xml | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/app/src/main/res/layout/activity_search.xml b/app/src/main/res/layout/activity_search.xml index 1a4580c6..4589d6ac 100644 --- a/app/src/main/res/layout/activity_search.xml +++ b/app/src/main/res/layout/activity_search.xml @@ -87,11 +87,15 @@ android:id="@+id/search_in_text_view_search_activity" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_margin="16dp" + android:layout_marginStart="16dp" + android:layout_marginTop="16dp" + android:layout_marginEnd="16dp" + android:layout_marginBottom="16dp" + android:layout_centerVertical="true" + android:fontFamily="?attr/font_family" android:text="@string/search_in" android:textColor="?attr/colorAccent" - android:textSize="?attr/font_default" - android:fontFamily="?attr/font_family" /> + android:textSize="?attr/font_default" /> <TextView android:id="@+id/subreddit_name_text_view_search_activity" @@ -105,16 +109,17 @@ android:textColor="?attr/primaryTextColor" android:textSize="?attr/font_default" android:fontFamily="?attr/font_family" /> - <ImageView - android:id="@+id/delete_all_recent_searches_image_view_search_activity" + + <com.google.android.material.button.MaterialButton + android:id="@+id/delete_all_recent_searches_button_search_activity" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentEnd="true" - android:padding="16dp" - android:clickable="true" - android:focusable="true" - android:src="@drawable/ic_delete_all_24" - app:tint="@color/primaryTextColor" /> + android:layout_centerVertical="true" + app:strokeWidth="0dp" + app:icon="@drawable/ic_delete_all_24" + app:iconSize="24dp" + style="?attr/materialIconButtonOutlinedStyle" /> </RelativeLayout> |