Fix text correction

This commit is contained in:
h4h13 2020-01-17 23:14:59 +05:30
parent 6210065221
commit 77f7b1bd5b
11 changed files with 13 additions and 17 deletions

View file

@ -46,6 +46,4 @@ object Constants {
MediaStore.Audio.AudioColumns.ARTIST,// 10
MediaStore.Audio.AudioColumns.COMPOSER)// 11
const val NUMBER_OF_TOP_TRACKS = 99
}

View file

@ -109,7 +109,7 @@
android:layout_gravity="center"
android:ellipsize="end"
android:gravity="center"
android:maxLines="2"
android:maxLines="1"
android:paddingStart="16dp"
android:paddingEnd="16dp"
android:textAppearance="@style/TextViewBody1"
@ -125,7 +125,7 @@
android:layout_gravity="center"
android:ellipsize="end"
android:gravity="center"
android:maxLines="2"
android:maxLines="1"
android:paddingStart="16dp"
android:paddingEnd="16dp"
android:textColor="?android:attr/textColorSecondary"

View file

@ -115,7 +115,7 @@
android:focusableInTouchMode="true"
android:freezesText="true"
android:marqueeRepeatLimit="marquee_forever"
android:maxLines="2"
android:singleLine="true"
android:scrollHorizontally="true"
android:textStyle="bold"
tools:text="@tools:sample/lorem/random" />

View file

@ -94,7 +94,7 @@
android:layout_gravity="center"
android:ellipsize="end"
android:gravity="center"
android:maxLines="2"
android:maxLines="1"
android:paddingStart="16dp"
android:paddingEnd="16dp"
android:textAppearance="@style/TextViewBody1"

View file

@ -96,7 +96,7 @@
android:layout_marginBottom="8dp"
android:ellipsize="end"
android:gravity="center"
android:maxLines="2"
android:maxLines="1"
android:paddingStart="16dp"
android:paddingTop="8dp"
android:paddingEnd="16dp"
@ -117,7 +117,7 @@
android:layout_marginBottom="4dp"
android:ellipsize="end"
android:gravity="center"
android:maxLines="2"
android:maxLines="1"
android:paddingStart="16dp"
android:paddingEnd="16dp"
android:textColor="?android:attr/textColorSecondary"

View file

@ -44,7 +44,7 @@
android:alpha="0.75"
android:ellipsize="end"
android:gravity="center"
android:maxLines="2"
android:maxLines="1"
android:paddingStart="8dp"
android:paddingTop="12dp"
android:paddingEnd="8dp"

View file

@ -94,7 +94,7 @@
android:layout_gravity="center"
android:ellipsize="end"
android:gravity="center"
android:maxLines="2"
android:maxLines="1"
android:paddingStart="16dp"
android:paddingEnd="16dp"
android:textAppearance="@style/TextViewBody1"

View file

@ -95,7 +95,7 @@
android:layout_gravity="center"
android:ellipsize="end"
android:gravity="center"
android:maxLines="2"
android:maxLines="1"
android:paddingStart="16dp"
android:paddingEnd="16dp"
android:textAppearance="@style/TextViewBody1"

View file

@ -42,9 +42,8 @@
android:focusable="true"
android:focusableInTouchMode="true"
android:freezesText="true"
android:gravity="center"
android:paddingTop="8dp"
android:marqueeRepeatLimit="marquee_forever"
android:paddingTop="8dp"
android:scrollHorizontally="true"
android:singleLine="true"
android:textAppearance="@style/TextViewHeadline6"
@ -57,7 +56,6 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ellipsize="end"
android:gravity="center"
android:maxLines="1"
android:paddingTop="8dp"
tools:text="Text" />

View file

@ -43,7 +43,7 @@
android:layout_gravity="center"
android:ellipsize="end"
android:gravity="center"
android:maxLines="2"
android:maxLines="1"
android:paddingStart="16dp"
android:paddingEnd="16dp"
android:textAppearance="@style/TextViewBody2"
@ -72,7 +72,7 @@
android:layout_gravity="center"
android:ellipsize="end"
android:gravity="center"
android:maxLines="2"
android:maxLines="1"
android:paddingStart="16dp"
android:paddingEnd="16dp"
android:textColor="?android:attr/textColorSecondary"

View file

@ -141,7 +141,7 @@
android:layout_height="0dp"
android:ellipsize="end"
android:gravity="start"
android:maxLines="2"
android:maxLines="1"
android:paddingStart="16dp"
android:paddingEnd="16dp"
android:rotation="0"