Merge pull request #5856 from ofalvai/bugfix/ofa/read-recept-text-scale

Use fixed text size in read receipt counter
This commit is contained in:
Benoit Marty 2022-05-23 13:41:03 +02:00 committed by GitHub
commit fd252dbaff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 3 deletions

1
changelog.d/5856.bugfix Normal file
View File

@ -0,0 +1 @@
Use fixed text size in read receipt counter

View File

@ -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>

View File

@ -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"