[Media TTT] Tweak the coloring and sizing of the receiver icon.

Fixes: 263478641
Test: manual -- see screenshots in bug
Change-Id: I135fae722cb981888a8aa61cec07a6cb4caedaae
This commit is contained in:
Caitlin Shkuratov
2022-12-22 20:52:28 +00:00
parent d065bb8c08
commit 209156b953
2 changed files with 8 additions and 7 deletions

View File

@@ -19,8 +19,8 @@
xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
android:shape="oval">
<size
android:height="@dimen/media_ttt_chip_size_receiver"
android:width="@dimen/media_ttt_chip_size_receiver"
android:height="@dimen/media_ttt_icon_size_receiver"
android:width="@dimen/media_ttt_icon_size_receiver"
/>
<solid android:color="?androidprv:attr/colorSurface" />
<solid android:color="?androidprv:attr/colorAccentPrimary" />
</shape>

View File

@@ -1073,11 +1073,12 @@
<dimen name="media_ttt_last_item_start_margin">12dp</dimen>
<!-- Media tap-to-transfer chip for receiver device -->
<dimen name="media_ttt_chip_size_receiver">100dp</dimen>
<dimen name="media_ttt_icon_size_receiver">95dp</dimen>
<dimen name="media_ttt_icon_size_receiver">112dp</dimen>
<!-- Add some padding for the generic icon so it doesn't go all the way to the border. -->
<dimen name="media_ttt_generic_icon_padding">12dp</dimen>
<dimen name="media_ttt_receiver_vert_translation">20dp</dimen>
<!-- The generic icon should be 40dp, and the full icon is 112dp, so the padding should be
(112 - 40) / 2 = 36dp -->
<dimen name="media_ttt_generic_icon_padding">36dp</dimen>
<dimen name="media_ttt_receiver_vert_translation">40dp</dimen>
<!-- Window magnification -->
<dimen name="magnification_border_drag_size">35dp</dimen>