Skip to content

Commit 4579c5e

Browse files
fix(UI): Adjust App Drawer search bar layout
The `layout_marginEnd` has been removed from the search bar's parent `LinearLayout`, and the `FontSearchView`'s `layout_width` has been changed from `0dp` to `wrap_content`. This prevents the search view from taking up the full width, resolving an issue where the clear button could overlap with other UI elements.
1 parent 43144ff commit 4579c5e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/src/main/res/layout/fragment_app_drawer.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,11 @@
1313
android:layout_width="match_parent"
1414
android:layout_height="wrap_content"
1515
android:layout_marginTop="34dp"
16-
android:layout_marginEnd="12dp"
1716
android:paddingHorizontal="8dp">
1817

1918
<com.github.creativecodecat.components.views.FontSearchView
2019
android:id="@+id/search"
21-
android:layout_width="0dp"
20+
android:layout_width="wrap_content"
2221
android:layout_height="wrap_content"
2322
android:imeOptions="actionSearch"
2423
app:iconifiedByDefault="false"

0 commit comments

Comments
 (0)