Weice | fcd891b | 2021-12-28 23:31:08 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <resources xmlns:android="http://schemas.android.com/apk/res/android"> |
Xinyi Zhou | 3a07097 | 2022-02-17 20:48:00 -0800 | [diff] [blame] | 3 | <style name="HalfSheetStyle" parent="Theme.Material3.DayNight.NoActionBar"> |
Weice | fcd891b | 2021-12-28 23:31:08 +0000 | [diff] [blame] | 4 | <item name="android:windowFrame">@null</item> |
| 5 | <item name="android:windowBackground">@android:color/transparent</item> |
| 6 | <item name="android:windowEnterAnimation">@anim/fast_pair_half_sheet_slide_in</item> |
| 7 | <item name="android:windowExitAnimation">@anim/fast_pair_half_sheet_slide_out</item> |
| 8 | <item name="android:windowIsTranslucent">true</item> |
| 9 | <item name="android:windowContentOverlay">@null</item> |
| 10 | <item name="android:windowNoTitle">true</item> |
| 11 | <item name="android:backgroundDimEnabled">true</item> |
| 12 | <item name="android:statusBarColor">@android:color/transparent</item> |
| 13 | <item name="android:fitsSystemWindows">true</item> |
| 14 | <item name="android:windowTranslucentNavigation">true</item> |
| 15 | </style> |
| 16 | |
Xinyi Zhou | 3a07097 | 2022-02-17 20:48:00 -0800 | [diff] [blame] | 17 | <style name="HalfSheetButton" parent="@style/Widget.Material3.Button.TonalButton"> |
Weice | fcd891b | 2021-12-28 23:31:08 +0000 | [diff] [blame] | 18 | <item name="android:textColor">@color/fast_pair_half_sheet_button_accent_text</item> |
| 19 | <item name="android:backgroundTint">@color/fast_pair_half_sheet_button_color</item> |
| 20 | <item name="android:textSize">@dimen/fast_pair_notification_text_size</item> |
| 21 | <item name="android:fontFamily">google-sans-medium</item> |
| 22 | <item name="android:textAlignment">center</item> |
| 23 | <item name="android:textAllCaps">false</item> |
| 24 | </style> |
| 25 | |
Xinyi Zhou | 3a07097 | 2022-02-17 20:48:00 -0800 | [diff] [blame] | 26 | <style name="HalfSheetButtonBorderless" parent="@style/Widget.Material3.Button.OutlinedButton"> |
Weice | fcd891b | 2021-12-28 23:31:08 +0000 | [diff] [blame] | 27 | <item name="android:textColor">@color/fast_pair_half_sheet_button_text</item> |
| 28 | <item name="android:strokeColor">@color/fast_pair_half_sheet_button_color</item> |
| 29 | <item name="android:textAllCaps">false</item> |
| 30 | <item name="android:textSize">@dimen/fast_pair_notification_text_size</item> |
| 31 | <item name="android:fontFamily">google-sans-medium</item> |
| 32 | <item name="android:layout_width">wrap_content</item> |
| 33 | <item name="android:layout_height">wrap_content</item> |
| 34 | <item name="android:textAlignment">center</item> |
| 35 | <item name="android:minHeight">@dimen/accessibility_required_min_touch_target_size</item> |
| 36 | </style> |
| 37 | |
| 38 | </resources> |