diff options
author | Stefan Niedermann <info@niedermann.it> | 2022-11-04 17:15:58 +0300 |
---|---|---|
committer | Stefan Niedermann <info@niedermann.it> | 2022-11-12 11:02:24 +0300 |
commit | 0d3e32a2f73702f796590973bb6d45749f4e3f01 (patch) | |
tree | e18e62cf24d3dec67e4489dd9d2cc2166bf09734 /app/src/main/res/layout/activity_notes_list_view.xml | |
parent | 855ede810e72129d4fde41ecdc8c287d17ecf77f (diff) |
Material 3: Simplify paddings and margins
Signed-off-by: Stefan Niedermann <info@niedermann.it>
Diffstat (limited to 'app/src/main/res/layout/activity_notes_list_view.xml')
-rw-r--r-- | app/src/main/res/layout/activity_notes_list_view.xml | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/app/src/main/res/layout/activity_notes_list_view.xml b/app/src/main/res/layout/activity_notes_list_view.xml index 5286b2f0..c18db2dd 100644 --- a/app/src/main/res/layout/activity_notes_list_view.xml +++ b/app/src/main/res/layout/activity_notes_list_view.xml @@ -24,10 +24,8 @@ <com.google.android.material.card.MaterialCardView android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_marginStart="@dimen/spacer_activity_sides" - android:layout_marginTop="@dimen/spacer_1hx" - android:layout_marginEnd="@dimen/spacer_activity_sides" - android:layout_marginBottom="@dimen/spacer_1hx" + android:layout_marginHorizontal="@dimen/spacer_activity_sides" + android:layout_marginVertical="@dimen/spacer_1hx" app:cardBackgroundColor="@color/appbar" app:cardCornerRadius="@dimen/spacer_4x" app:cardElevation="2dp" @@ -88,8 +86,7 @@ android:id="@+id/search_toolbar" android:layout_width="match_parent" android:layout_height="match_parent" - android:layout_marginStart="@dimen/spacer_activity_sides" - android:layout_marginEnd="@dimen/spacer_activity_sides" + android:layout_marginHorizontal="@dimen/spacer_activity_sides" android:visibility="gone" app:contentInsetStartWithNavigation="0dp" app:navigationIcon="@drawable/ic_arrow_back_grey600_24dp" |