[merge] More appropriate pill size for downstream text size

https://developer.android.com/reference/com/google/android/material/chip/ChipDrawable

Change-Id: Ib21bb1426547c8a49f55e2ecd836f83d9dfe1654
This commit is contained in:
SpiritCroc 2023-04-11 17:00:18 +02:00
parent 89750f74a4
commit 9e0ec534d5
2 changed files with 8 additions and 4 deletions

View File

@ -18,9 +18,10 @@
<item name="dialog_width_ratio" format="float" type="dimen">0.75</item> <item name="dialog_width_ratio" format="float" type="dimen">0.75</item>
<dimen name="pill_avatar_size">20sp</dimen> <dimen name="pill_avatar_padding">1sp</dimen>
<dimen name="pill_min_height">26sp</dimen> <dimen name="pill_avatar_size">16sp</dimen>
<dimen name="pill_text_padding">4dp</dimen> <dimen name="pill_min_height">18sp</dimen>
<dimen name="pill_text_padding">3dp</dimen>
<dimen name="call_pip_height">128dp</dimen> <dimen name="call_pip_height">128dp</dimen>
<dimen name="call_pip_width">88dp</dimen> <dimen name="call_pip_width">88dp</dimen>

View File

@ -3,4 +3,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
style="@style/Widget.MaterialComponents.Chip.Entry" style="@style/Widget.MaterialComponents.Chip.Entry"
android:checkable="false" android:checkable="false"
app:chipStartPadding="0dp"
app:chipEndPadding="4dp"
app:iconStartPadding="@dimen/pill_avatar_padding"
app:closeIcon="@null" /> app:closeIcon="@null" />