Extract text size to style
This commit is contained in:
parent
3b2e61fa66
commit
042ec3628f
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<resources xmlns:tools="http://schemas.android.com/tools">
|
||||
|
||||
<style name="TimelineContentStubBaseParams">
|
||||
<item name="android:layout_width">match_parent</item>
|
||||
|
@ -33,5 +33,8 @@
|
|||
<item name="android:gravity">center</item>
|
||||
</style>
|
||||
|
||||
<style name="TimelineFixedSizeCaptionStyle" parent="@style/Widget.Vector.TextView.Caption">
|
||||
<item name="android:textSize" tools:ignore="SpUsage">12dp</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
</resources>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
<TextView
|
||||
android:id="@+id/receiptMore"
|
||||
style="@style/Widget.Vector.TextView.Caption"
|
||||
style="@style/TimelineFixedSizeCaptionStyle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/item_event_message_state_size"
|
||||
android:background="@drawable/pill_receipt"
|
||||
|
@ -16,8 +16,6 @@
|
|||
android:paddingStart="4dp"
|
||||
android:paddingEnd="4dp"
|
||||
android:textColor="?vctr_content_primary"
|
||||
android:textSize="12dp"
|
||||
tools:ignore="SpUsage"
|
||||
tools:text="999+" />
|
||||
|
||||
<ImageView
|
||||
|
|
Loading…
Reference in New Issue