Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/stefan-niedermann/nextcloud-notes.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Niedermann <info@niedermann.it>2022-11-04 17:15:58 +0300
committerStefan Niedermann <info@niedermann.it>2022-11-12 11:02:24 +0300
commit0d3e32a2f73702f796590973bb6d45749f4e3f01 (patch)
treee18e62cf24d3dec67e4489dd9d2cc2166bf09734 /app/src/main/res/layout/item_notes_list_note_item_with_excerpt.xml
parent855ede810e72129d4fde41ecdc8c287d17ecf77f (diff)
Material 3: Simplify paddings and margins
Signed-off-by: Stefan Niedermann <info@niedermann.it>
Diffstat (limited to 'app/src/main/res/layout/item_notes_list_note_item_with_excerpt.xml')
-rw-r--r--app/src/main/res/layout/item_notes_list_note_item_with_excerpt.xml14
1 files changed, 5 insertions, 9 deletions
diff --git a/app/src/main/res/layout/item_notes_list_note_item_with_excerpt.xml b/app/src/main/res/layout/item_notes_list_note_item_with_excerpt.xml
index 966f4b66..384a674b 100644
--- a/app/src/main/res/layout/item_notes_list_note_item_with_excerpt.xml
+++ b/app/src/main/res/layout/item_notes_list_note_item_with_excerpt.xml
@@ -65,9 +65,8 @@
android:layout_weight="1"
android:orientation="vertical"
android:paddingStart="0dp"
- android:paddingTop="@dimen/spacer_2x"
- android:paddingEnd="@dimen/spacer_2x"
- android:paddingBottom="@dimen/spacer_2x">
+ android:paddingVertical="@dimen/spacer_2x"
+ android:paddingEnd="@dimen/spacer_2x">
<LinearLayout
android:layout_width="match_parent"
@@ -97,8 +96,7 @@
android:layout_weight="1"
android:ellipsize="end"
android:maxLines="1"
- android:paddingTop="1dp"
- android:paddingBottom="1dp"
+ android:paddingVertical="1dp"
android:textSize="@dimen/secondary_font_size"
tools:text="@tools:sample/lorem/random" />
@@ -109,10 +107,8 @@
android:layout_marginStart="@dimen/spacer_1x"
android:background="@drawable/border"
android:maxLines="1"
- android:paddingStart="@dimen/spacer_1x"
- android:paddingTop="1dp"
- android:paddingEnd="@dimen/spacer_1x"
- android:paddingBottom="1dp"
+ android:paddingVertical="1dp"
+ android:paddingHorizontal="@dimen/spacer_1x"
android:singleLine="true"
android:textColor="?android:textColorPrimary"
android:textSize="@dimen/secondary_font_size"