Skip to content

Commit

Permalink
feat: Reduce vertical padding/margin of items
Browse files Browse the repository at this point in the history
  • Loading branch information
aikrq committed Jan 2, 2025
1 parent 7d6778b commit 9fe8568
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions app/src/main/res/layout/manage_locallibraries.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,11 @@

</com.google.android.material.appbar.AppBarLayout>

<!-- Elevation needs to be greater than AppBarLayout's elevation;
otherwise for some reason when the AppBarLayout's background
is not transparent, the elevation on this Toolbar doesn't show. -->
<FrameLayout
android:id="@+id/contextual_toolbar_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:elevation="4dp"
android:elevation="2dp"
android:visibility="gone">

<com.google.android.material.appbar.MaterialToolbar
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/view_item_local_lib.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="8dp"
android:layout_marginVertical="4dp"
android:layout_marginVertical="2dp"
android:checkable="true"
android:clickable="true"
android:focusable="true"
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/view_item_local_lib_search.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
android:focusable="true"
android:paddingEnd="20dp"
android:paddingStart="24dp"
android:paddingVertical="12dp">
android:paddingVertical="8dp">

<TextView
android:id="@+id/library_name"
Expand Down

0 comments on commit 9fe8568

Please sign in to comment.