1<?xml version="1.0" encoding="utf-8"?> 2<resources> 3 4 <!-- ************************************************** 5 MAIN STYLES 6 *************************************************** --> 7 <style name="MainStyle"> 8 <item name="android:layout_width">match_parent</item> 9 <item name="android:layout_height">wrap_content</item> 10 <item name="android:textDirection">locale</item> 11 </style> 12 13 <style name="PreferenceStyle"> 14 <item name="android:layout_height">fill_parent</item> 15 <item name="android:layout_width">fill_parent</item> 16 <item name="android:orientation">vertical</item> 17 <item name="android:paddingHorizontal">24dp</item> 18 <item name="android:paddingVertical">20dp</item> 19 <item name="android:background">?android:attr/selectableItemBackground</item> 20 </style> 21 22 <style name="MainStyle.SettingsControlButton" parent="android:Widget.DeviceDefault.Button"> 23 <item name="android:textSize">16sp</item> 24 <item name="android:minHeight">16sp</item> 25 <item name="android:minWidth">74dp</item> 26 <item name="android:padding">8dp</item> 27 <item name="android:paddingStart">16dp</item> 28 <item name="android:paddingEnd">16dp</item> 29 <item name="android:fontFamily">@*android:string/config_bodyFontFamilyMedium</item> 30 </style> 31 32 <style name="MainStyle.PrimaryButton"> 33 <item name="android:theme">@style/RoundedCornerThemeOverlay</item> 34 <item name="android:textSize">16sp</item> 35 <item name="android:fontFamily">@*android:string/config_bodyFontFamilyMedium</item> 36 <item name="android:layout_marginStart">24dp</item> 37 <item name="android:layout_marginEnd">24dp</item> 38 <item name="android:backgroundTint">@color/adservices_colorAccentPrimary</item> 39 <item name="android:colorControlHighlight">@color/ripple_material_inverse</item> 40 <item name="android:textColor">@color/adservices_primary_dark_device_default_settings 41 </item> 42 <item name="android:textAllCaps">false</item> 43 <item name="android:layout_width">wrap_content</item> 44 <item name="android:layout_height">wrap_content</item> 45 </style> 46 47 <style name="MainStyle.PrimaryButtonVariant" parent="MainStyle.PrimaryButton"> 48 <item name="android:layout_width">wrap_content</item> 49 <item name="android:layout_marginEnd">0dp</item> 50 <item name="android:layout_marginStart">24dp</item> 51 <item name="android:textAlignment">viewStart</item> 52 </style> 53 54 <style name="MainStyle.PrimaryButtonNegative"> 55 <item name="android:theme">@style/RoundedCornerThemeOverlay</item> 56 <item name="android:textSize">16sp</item> 57 <item name="android:fontFamily">@*android:string/config_bodyFontFamilyMedium</item> 58 <item name="android:layout_height">wrap_content</item> 59 <item name="android:layout_width">0dp</item> 60 <item name="android:layout_weight">1</item> 61 <item name="android:background">@color/transparent_color</item> 62 <item name="android:layout_marginStart">12dp</item> 63 <item name="android:layout_marginEnd">0dp</item> 64 <item name="android:textColor">@color/adservices_accent_primary_variant</item> 65 <item name="android:textColorHighlight">@color/ripple_material_inverse</item> 66 <item name="android:textAllCaps">false</item> 67 <item name="android:textAlignment">viewStart</item> 68 <item name="android:clickable">true</item> 69 </style> 70 71 <style name="RoundedCornerThemeOverlay"> 72 <item name="android:paddingTop">8dp</item> 73 <item name="android:paddingBottom">8dp</item> 74 <item name="android:paddingStart">16dp</item> 75 <item name="android:paddingEnd">16dp</item> 76 <item name="android:minHeight">16dp</item> 77 <item name="android:minWidth">32dp</item> 78 <item name="android:buttonCornerRadius">24dp</item> 79 </style> 80 81 <style name="NotificationButtonContainer"> 82 <item name="android:paddingTop">12dp</item> 83 <item name="android:paddingBottom">12dp</item> 84 <item name="android:orientation">horizontal</item> 85 <item name="android:layout_width">match_parent</item> 86 <item name="android:layout_height">wrap_content</item> 87 </style> 88 89 <!-- ************************************************** 90 FONT STYLES 91 *************************************************** --> 92 <style name="MainStyle.H1"> 93 <item name="android:layout_marginTop">24dp</item> 94 <item name="android:textAppearance">@style/TextAppearance.H1</item> 95 </style> 96 97 <style name="MainStyle.H4"> 98 <item name="android:textAppearance">@style/TextAppearance.H4</item> 99 </style> 100 101 <style name="MainStyle.H5"> 102 <item name="android:layout_marginTop">18dp</item> 103 <item name="android:textAppearance">@style/TextAppearance.H5</item> 104 </style> 105 106 <style name="MainStyle.H6"> 107 <item name="android:layout_marginTop">20dp</item> 108 <item name="android:textAppearance">@style/TextAppearance.H6</item> 109 </style> 110 111 <style name="MainStyle.Body1"> 112 <item name="android:layout_marginTop">18dp</item> 113 <item name="android:textAppearance">@style/TextAppearance.Body1</item> 114 </style> 115 116 <style name="MainStyle.Body1Bold"> 117 <item name="android:layout_marginTop">16dp</item> 118 <item name="android:textAppearance">@style/TextAppearance.Body1.Bold</item> 119 </style> 120 121 <style name="MainStyle.Body1BoldBullet"> 122 <item name="android:layout_marginTop">16dp</item> 123 <item name="android:layout_marginStart">5dp</item> 124 <item name="android:textAppearance">@style/TextAppearance.Body1.Bold</item> 125 </style> 126 127 <style name="MainStyle.Body1BulletSubtext"> 128 <item name="android:layout_marginStart">18dp</item> 129 <item name="android:textAppearance">@style/TextAppearance.Body1</item> 130 </style> 131 132 <style name="MainStyle.Body2"> 133 <item name="android:textAppearance">@style/TextAppearance.Body2</item> 134 </style> 135 136 <style name="MainStyle.Body2BoldBullet"> 137 <item name="android:layout_marginTop">16dp</item> 138 <item name="android:layout_marginStart">5dp</item> 139 <item name="android:textAppearance">@style/TextAppearance.Body2.Bold</item> 140 </style> 141 142 <style name="MainStyle.Body2BulletSubtext"> 143 <item name="android:layout_marginStart">18dp</item> 144 <item name="android:textAppearance">@style/TextAppearance.Body2</item> 145 </style> 146 147 <style name="MainStyle.Subtitle"> 148 <item name="android:textAppearance">?android:attr/textAppearanceSmall</item> 149 <item name="android:textColor">?android:attr/textColorSecondary</item> 150 <item name="android:maxLines">4</item> 151 </style> 152 153 <style name="TextAppearance" parent="android:TextAppearance.DeviceDefault"> 154 <item name="android:textColor">@color/primary_text_color</item> 155 </style> 156 157 <style name="TextAppearance.H1"> 158 <item name="android:textSize">36sp</item> 159 </style> 160 161 <style name="TextAppearance.H4"> 162 <item name="android:textSize">24sp</item> 163 </style> 164 165 <style name="TextAppearance.H5"> 166 <item name="android:textSize">20sp</item> 167 </style> 168 169 <style name="TextAppearance.H6"> 170 <item name="android:textSize">18sp</item> 171 </style> 172 173 <style name="TextAppearance.Body1"> 174 <item name="android:textSize">16sp</item> 175 </style> 176 177 <style name="TextAppearance.Body1.Bold"> 178 <item name="android:textStyle">bold</item> 179 </style> 180 181 <style name="TextAppearance.Body2"> 182 <item name="android:textSize">14sp</item> 183 </style> 184 185 <style name="TextAppearance.Body2.Bold"> 186 <item name="android:textStyle">bold</item> 187 </style> 188 <style name="NotificationContainer"> 189 <item name="android:layout_width">match_parent</item> 190 </style> 191</resources> 192