Fix text views, update queue time

This commit is contained in:
h4h13 2019-09-03 23:24:14 +05:30
parent 887b6a4d36
commit 671728b315
22 changed files with 367 additions and 196 deletions

View file

@ -3,7 +3,6 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:baselineAligned="false"
android:gravity="center_vertical"
android:minHeight="?android:attr/listPreferredItemHeight"
@ -35,13 +34,13 @@
<code.name.monkey.appthemehelper.common.views.ATEPrimaryTextView
android:id="@android:id/title"
style="@style/TextViewSubtitle1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentStart="true"
android:layout_alignParentLeft="true"
android:ellipsize="marquee"
android:fadingEdge="horizontal"
style="@style/TextAppearance.MaterialComponents.Subtitle1"
android:singleLine="true"
tools:text="Title" />
@ -54,7 +53,7 @@
android:layout_alignLeft="@android:id/title"
android:layout_marginTop="2dp"
android:maxLines="4"
android:textAppearance="@style/TextAppearance.MaterialComponents.Body2"
android:textAppearance="@style/TextViewBody2"
tools:text="Summary" />
</RelativeLayout>

View file

@ -54,8 +54,8 @@
android:layout_alignLeft="@android:id/title"
android:layout_marginTop="2dp"
android:maxLines="4"
android:textAppearance="@style/TextAppearance.MaterialComponents.Body2"
tools:text="Summary" />
android:textAppearance="@style/TextViewBody2"
tools:text="I have one solution for you.you can change font size for specific preference by managing layout file." />
</RelativeLayout>

View file

@ -24,18 +24,18 @@
android:orientation="vertical"
android:padding="0dip">
<TextView
<com.google.android.material.textview.MaterialTextView
android:id="@+id/custom_list_view_row_text_view"
style="@style/TextAppearance.MaterialComponents.Subtitle1"
android:layout_width="fill_parent"
android:layout_height="22dip"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:textAppearance="@style/TextViewSubtitle1"
android:textColor="#000000" />
<TextView
<code.name.monkey.appthemehelper.common.views.ATESecondaryTextView
android:id="@+id/custom_list_view_row_subtext_view"
android:layout_width="fill_parent"
android:layout_height="18dip"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:textColor="#000000"
android:textSize="12sp" />