From af992834950113b665e7c808f872fd2b6780f8fc Mon Sep 17 00:00:00 2001 From: h4h13 Date: Thu, 26 Dec 2019 20:55:41 +0530 Subject: [PATCH] Fix text size & colors --- app/src/main/res/layout-xlarge/item_artist.xml | 5 ++--- app/src/main/res/layout/fragment_main_settings.xml | 4 +--- app/src/main/res/layout/item_album_card.xml | 3 +-- app/src/main/res/layout/item_artist.xml | 5 ++--- app/src/main/res/layout/item_contributor.xml | 4 ++-- app/src/main/res/layout/item_contributor_header.xml | 2 +- app/src/main/res/layout/item_donation_option.xml | 4 ++-- app/src/main/res/layout/item_grid_circle.xml | 5 +++-- app/src/main/res/layout/list_item_view.xml | 5 +++-- app/src/main/res/layout/list_item_view_seekbar.xml | 3 ++- app/src/main/res/layout/list_item_view_switch.xml | 3 ++- 11 files changed, 21 insertions(+), 22 deletions(-) diff --git a/app/src/main/res/layout-xlarge/item_artist.xml b/app/src/main/res/layout-xlarge/item_artist.xml index 13b057c4..da64d842 100644 --- a/app/src/main/res/layout-xlarge/item_artist.xml +++ b/app/src/main/res/layout-xlarge/item_artist.xml @@ -26,9 +26,8 @@ android:layout_height="wrap_content" android:ellipsize="end" android:gravity="center" - android:maxLines="1" + android:maxLines="2" android:paddingTop="12dp" android:textAppearance="@style/TextViewNormal" - android:textColor="?attr/colorOnPrimary" - tools:text="Name" /> + tools:text="@tools:sample/full_names" /> \ No newline at end of file diff --git a/app/src/main/res/layout/fragment_main_settings.xml b/app/src/main/res/layout/fragment_main_settings.xml index 63ae35a5..122af633 100644 --- a/app/src/main/res/layout/fragment_main_settings.xml +++ b/app/src/main/res/layout/fragment_main_settings.xml @@ -17,9 +17,7 @@ android:layout_height="wrap_content" android:layout_margin="4dp" app:cardCornerRadius="8dp" - app:cardElevation="0dp" - app:cardUseCompatPadding="true" - app:strokeWidth="1.5dp"> + app:cardUseCompatPadding="true"> \ No newline at end of file diff --git a/app/src/main/res/layout/item_artist.xml b/app/src/main/res/layout/item_artist.xml index 94ad8876..d55de701 100644 --- a/app/src/main/res/layout/item_artist.xml +++ b/app/src/main/res/layout/item_artist.xml @@ -26,8 +26,7 @@ android:layout_height="wrap_content" android:ellipsize="end" android:gravity="center" - android:maxLines="1" + android:maxLines="2" android:paddingTop="12dp" - android:textColor="?android:attr/textColorPrimary" - tools:text="Name" /> + tools:text="@tools:sample/full_names" /> \ No newline at end of file diff --git a/app/src/main/res/layout/item_contributor.xml b/app/src/main/res/layout/item_contributor.xml index cb5fb3ab..2414408a 100644 --- a/app/src/main/res/layout/item_contributor.xml +++ b/app/src/main/res/layout/item_contributor.xml @@ -48,7 +48,7 @@ app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0" app:layout_constraintStart_toEndOf="@+id/icon" - tools:text="@tools:sample/lorem" /> + tools:text="@tools:sample/full_names" /> + tools:text="@tools:sample/full_names" /> \ No newline at end of file diff --git a/app/src/main/res/layout/item_contributor_header.xml b/app/src/main/res/layout/item_contributor_header.xml index c68d2d02..18839256 100644 --- a/app/src/main/res/layout/item_contributor_header.xml +++ b/app/src/main/res/layout/item_contributor_header.xml @@ -58,6 +58,6 @@ android:layout_height="wrap_content" android:textColor="?android:attr/textColorSecondary" app:lineHeightHint="24sp" - tools:text="@tools:sample/lorem/random" /> + tools:text="@tools:sample/full_names" /> \ No newline at end of file diff --git a/app/src/main/res/layout/item_donation_option.xml b/app/src/main/res/layout/item_donation_option.xml index 26860dfd..8e061e31 100644 --- a/app/src/main/res/layout/item_donation_option.xml +++ b/app/src/main/res/layout/item_donation_option.xml @@ -48,14 +48,14 @@ android:layout_height="wrap_content" android:singleLine="true" android:textAppearance="@style/TextViewBody2" - tools:text="Title" /> + tools:text="@tools:sample/full_names" /> + tools:text="@tools:sample/full_names" /> \ No newline at end of file diff --git a/app/src/main/res/layout/item_grid_circle.xml b/app/src/main/res/layout/item_grid_circle.xml index 21cfaa2a..7048fafa 100644 --- a/app/src/main/res/layout/item_grid_circle.xml +++ b/app/src/main/res/layout/item_grid_circle.xml @@ -46,11 +46,12 @@ android:id="@+id/title" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:singleLine="true" + android:gravity="center" + android:maxLines="2" android:textAppearance="@style/TextViewSubtitle1" android:textColor="?android:attr/textColorPrimary" android:textStyle="bold" - tools:text="@tools:sample/lorem" /> + tools:text="@tools:sample/lorem/random" /> diff --git a/app/src/main/res/layout/list_item_view_seekbar.xml b/app/src/main/res/layout/list_item_view_seekbar.xml index 25864d96..9cdebdfb 100644 --- a/app/src/main/res/layout/list_item_view_seekbar.xml +++ b/app/src/main/res/layout/list_item_view_seekbar.xml @@ -50,12 +50,13 @@ android:id="@android:id/summary" android:layout_width="0dp" android:layout_height="wrap_content" + android:layout_marginTop="2dp" android:textColor="?android:attr/textColorSecondary" app:layout_constrainedWidth="true" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="@+id/guideline_front_margin" app:layout_constraintTop_toBottomOf="@android:id/title" - app:lineHeightHint="24sp" + app:lineHeightHint="20sp" tools:maxLines="2" tools:text="@tools:sample/lorem/random" /> diff --git a/app/src/main/res/layout/list_item_view_switch.xml b/app/src/main/res/layout/list_item_view_switch.xml index 2b338374..00569b27 100644 --- a/app/src/main/res/layout/list_item_view_switch.xml +++ b/app/src/main/res/layout/list_item_view_switch.xml @@ -50,6 +50,7 @@ android:id="@android:id/summary" android:layout_width="0dp" android:layout_height="wrap_content" + android:layout_marginTop="2dp" android:paddingStart="0dp" android:paddingEnd="16dp" android:textColor="?android:attr/textColorSecondary" @@ -57,7 +58,7 @@ app:layout_constraintEnd_toStartOf="@android:id/checkbox" app:layout_constraintStart_toStartOf="@+id/guideline_front_margin" app:layout_constraintTop_toBottomOf="@android:id/title" - app:lineHeightHint="24sp" + app:lineHeightHint="20sp" tools:maxLines="2" tools:text="@tools:sample/lorem/random" />