1<?xml version="1.0" encoding="utf-8"?><!-- 2 ~ Copyright (C) 2023 The Android Open Source Project 3 ~ 4 ~ Licensed under the Apache License, Version 2.0 (the "License"); 5 ~ you may not use this file except in compliance with the License. 6 ~ You may obtain a copy of the License at 7 ~ 8 ~ http://www.apache.org/licenses/LICENSE-2.0 9 ~ 10 ~ Unless required by applicable law or agreed to in writing, software 11 ~ distributed under the License is distributed on an "AS IS" BASIS, 12 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 ~ See the License for the specific language governing permissions and 14 ~ limitations under the License. 15 --> 16 17<resources> 18 19 <style name="FeedbackConsentTheme" parent="@style/Theme.Leanback"> 20 <item name="android:colorBackground">@color/feedback_screen_dark_background</item> 21 <item name="android:windowContentOverlay">@null</item> 22 <item name="android:windowNoTitle">true</item> 23 </style> 24 25 26 <style name="FeedbackConsentRowText"> 27 <item name="android:layout_width">match_parent</item> 28 <item name="android:layout_height">wrap_content</item> 29 <item name="android:layout_marginBottom">5dp</item> 30 <item name="android:fontFamily">google-sans-text</item> 31 <item name="android:lineSpacingExtra"> 32 @dimen/feedback_consent_line_spacing_extra 33 </item> 34 <item name="android:layout_marginHorizontal"> 35 @dimen/feedback_consent_padding_horizontal 36 </item> 37 <item name="android:textColor"> 38 @color/feedback_consent_action_text_color_state_list 39 </item> 40 41 </style> 42 43 <style name="FeedbackConsentRowTitleText" parent="FeedbackConsentRowText"> 44 <item name="android:textStyle">bold</item> 45 <item name="android:textSize">@dimen/feedback_consent_title_text_size</item> 46 <item name="android:lineHeight">@dimen/feedback_consent_title_line_height 47 </item> 48 </style> 49 50 <style name="FeedbackConsentRowLegalText" parent="FeedbackConsentRowText"> 51 <item name="android:textSize">@dimen/feedback_consent_legal_text_size</item> 52 <item name="android:lineHeight"> 53 @dimen/feedback_consent_legal_text_line_height 54 </item> 55 56 </style> 57 58 <style name="FeedbackConsentSwitch" parent="android:style/Widget.Button"> 59 <item name="android:layout_width">match_parent</item> 60 <item name="android:layout_height"> 61 @dimen/feedback_consent_action_button_height 62 </item> 63 <item name="android:gravity">center_vertical</item> 64 <item name="android:fontFamily">google-sans-text-medium</item> 65 <item name="android:paddingHorizontal"> 66 @dimen/feedback_consent_padding_horizontal 67 </item> 68 <item name="android:drawablePadding"> 69 @dimen/feedback_consent_action_button_drawable_padding 70 </item> 71 <item name="android:thumbTint">@drawable/feedback_consent_switch_thumb 72 </item> 73 <item name="android:trackTint">@drawable/feedback_consent_switch_track 74 </item> 75 <item name="android:background">@color/google_transparent</item> 76 </style> 77 78 <style name="FeedbackConsentActionButton" parent="android:style/Widget.Button"> 79 <item name="android:layout_width">match_parent</item> 80 <item name="android:layout_height"> 81 @dimen/feedback_consent_action_button_height 82 </item> 83 <item name="android:gravity">start|center_vertical</item> 84 <item name="android:fontFamily">google-sans-text-medium</item> 85 <item name="android:textSize">@dimen/feedback_consent_title_text_size</item> 86 <item name="android:paddingHorizontal"> 87 @dimen/feedback_consent_padding_horizontal 88 </item> 89 <item name="android:drawablePadding"> 90 @dimen/feedback_consent_action_button_drawable_padding 91 </item> 92 <item name="android:textColor"> 93 @color/feedback_consent_action_text_color_state_list 94 </item> 95 <item name="android:background"> 96 @drawable/feedback_consent_action_background 97 </item> 98 <item name="android:stateListAnimator"> 99 @animator/feedback_consent_action_animator 100 </item> 101 </style> 102 103 <style name="ViewLogsDialogTheme" parent="@android:style/Theme.DeviceDefault.Dialog.Alert" > 104 <item name="android:windowContentOverlay">@null</item> 105 <item name="android:windowNoTitle">true</item> 106 <item name="android:windowIsFloating">true</item> 107 <item name="android:backgroundDimEnabled">true</item> 108 </style> 109 110</resources>