1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2012 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 <!-- Like in themes_base.xml, the namespace "Base.AppCompat.*" is used to 20 define base styles for the platform version. The "*.AppCompat" 21 variants are for direct use or use as parent styles by the app. --> 22 <eat-comment/> 23 24 <style name="Base.Widget.AppCompat.ActionBar" parent=""> 25 <item name="displayOptions">showTitle</item> 26 <item name="divider">?attr/dividerVertical</item> 27 <item name="height">?attr/actionBarSize</item> 28 29 <item name="titleTextStyle">@style/TextAppearance.AppCompat.Widget.ActionBar.Title</item> 30 <item name="subtitleTextStyle">@style/TextAppearance.AppCompat.Widget.ActionBar.Subtitle</item> 31 32 <item name="background">@null</item> 33 <item name="backgroundStacked">@null</item> 34 <item name="backgroundSplit">@null</item> 35 36 <item name="actionButtonStyle">@style/Widget.AppCompat.ActionButton</item> 37 <item name="actionOverflowButtonStyle">@style/Widget.AppCompat.ActionButton.Overflow</item> 38 39 <item name="android:gravity">center_vertical</item> 40 <item name="contentInsetStart">@dimen/abc_action_bar_content_inset_material</item> 41 <item name="contentInsetStartWithNavigation">@dimen/abc_action_bar_content_inset_with_nav</item> 42 <item name="contentInsetEnd">@dimen/abc_action_bar_content_inset_material</item> 43 <item name="elevation">@dimen/abc_action_bar_elevation_material</item> 44 <item name="popupTheme">?attr/actionBarPopupTheme</item> 45 </style> 46 47 <style name="Base.Widget.AppCompat.Light.ActionBar" parent="Base.Widget.AppCompat.ActionBar"> 48 <item name="actionButtonStyle">@style/Widget.AppCompat.Light.ActionButton</item> 49 <item name="actionOverflowButtonStyle">@style/Widget.AppCompat.Light.ActionButton.Overflow</item> 50 </style> 51 52 <style name="Base.Widget.AppCompat.ActionBar.Solid"> 53 <item name="background">?attr/colorPrimary</item> 54 <item name="backgroundStacked">?attr/colorPrimary</item> 55 <item name="backgroundSplit">?attr/colorPrimary</item> 56 </style> 57 58 <style name="Base.Widget.AppCompat.Light.ActionBar.Solid"> 59 <item name="background">?attr/colorPrimary</item> 60 <item name="backgroundStacked">?attr/colorPrimary</item> 61 <item name="backgroundSplit">?attr/colorPrimary</item> 62 </style> 63 64 <style name="Base.Widget.AppCompat.ActionButton" parent="RtlUnderlay.Widget.AppCompat.ActionButton"> 65 <item name="android:background">?attr/actionBarItemBackground</item> 66 <item name="android:minWidth">@dimen/abc_action_button_min_width_material</item> 67 <item name="android:minHeight">@dimen/abc_action_button_min_height_material</item> 68 <item name="android:scaleType">center</item> 69 <item name="android:gravity">center</item> 70 <item name="android:maxLines">2</item> 71 <item name="textAllCaps">@bool/abc_config_actionMenuItemAllCaps</item> 72 </style> 73 74 <style name="Base.Widget.AppCompat.ActionButton.CloseMode"> 75 <item name="android:background">?attr/controlBackground</item> 76 <item name="android:minWidth">56dp</item> 77 </style> 78 79 <style name="Base.Widget.AppCompat.ActionButton.Overflow" parent="RtlUnderlay.Widget.AppCompat.ActionButton.Overflow"> 80 <item name="srcCompat">@drawable/abc_ic_menu_overflow_material</item> 81 <item name="android:background">?attr/actionBarItemBackground</item> 82 <item name="android:contentDescription">@string/abc_action_menu_overflow_description</item> 83 <item name="android:minWidth">@dimen/abc_action_button_min_width_overflow_material</item> 84 <item name="android:minHeight">@dimen/abc_action_button_min_height_material</item> 85 </style> 86 87 <style name="Base.Widget.AppCompat.ActionBar.TabBar" parent=""> 88 <item name="divider">?attr/actionBarDivider</item> 89 <item name="showDividers">middle</item> 90 <item name="dividerPadding">8dip</item> 91 </style> 92 93 <style name="Base.Widget.AppCompat.Light.ActionBar.TabBar" 94 parent="Base.Widget.AppCompat.ActionBar.TabBar"> 95 </style> 96 97 <style name="Base.Widget.AppCompat.ActionBar.TabView" parent=""> 98 <item name="android:background">@drawable/abc_tab_indicator_material</item> 99 <item name="android:gravity">center_horizontal</item> 100 <item name="android:paddingLeft">16dip</item> 101 <item name="android:paddingRight">16dip</item> 102 <item name="android:layout_width">0dip</item> 103 <item name="android:layout_weight">1</item> 104 <item name="android:minWidth">80dip</item> 105 </style> 106 107 <style name="Base.Widget.AppCompat.Light.ActionBar.TabView" parent="Base.Widget.AppCompat.ActionBar.TabView"> 108 <item name="android:background">@drawable/abc_tab_indicator_material</item> 109 </style> 110 111 <style name="Base.Widget.AppCompat.ActionBar.TabText" parent=""> 112 <item name="android:textAppearance">@style/TextAppearance.AppCompat.Medium</item> 113 <item name="android:textColor">?android:attr/textColorPrimary</item> 114 <item name="android:textSize">12sp</item> 115 <item name="android:textStyle">bold</item> 116 <item name="android:ellipsize">marquee</item> 117 <item name="android:maxLines">2</item> 118 <item name="android:maxWidth">180dp</item> 119 <item name="textAllCaps">true</item> 120 </style> 121 122 <style name="Base.Widget.AppCompat.Light.ActionBar.TabText" 123 parent="Base.Widget.AppCompat.ActionBar.TabText"> 124 </style> 125 126 <style name="Base.Widget.AppCompat.Light.ActionBar.TabText.Inverse" 127 parent="Base.Widget.AppCompat.Light.ActionBar.TabText"> 128 <item name="android:textAppearance">@style/TextAppearance.AppCompat.Medium.Inverse</item> 129 </style> 130 131 <style name="Base.Widget.AppCompat.ActionMode" parent=""> 132 <item name="background">?attr/actionModeBackground</item> 133 <item name="backgroundSplit">?attr/actionModeSplitBackground</item> 134 <item name="height">?attr/actionBarSize</item> 135 <item name="titleTextStyle">@style/TextAppearance.AppCompat.Widget.ActionMode.Title</item> 136 <item name="subtitleTextStyle">@style/TextAppearance.AppCompat.Widget.ActionMode.Subtitle</item> 137 <item name="closeItemLayout">@layout/abc_action_mode_close_item_material</item> 138 </style> 139 140 <style name="Base.TextAppearance.AppCompat.Widget.ActionMode.Title" parent="TextAppearance.AppCompat.Widget.ActionBar.Title"/> 141 142 <style name="Base.TextAppearance.AppCompat.Widget.ActionMode.Subtitle" parent="TextAppearance.AppCompat.Widget.ActionBar.Subtitle"/> 143 144 <style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Menu" parent="TextAppearance.AppCompat.Button"> 145 <item name="android:textColor">?attr/actionMenuTextColor</item> 146 <item name="textAllCaps">@bool/abc_config_actionMenuItemAllCaps</item> 147 </style> 148 149 <style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Title" parent="TextAppearance.AppCompat.Title"> 150 <item name="android:textSize">@dimen/abc_text_size_title_material_toolbar</item> 151 <item name="android:textColor">?android:attr/textColorPrimary</item> 152 </style> 153 154 <style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Subtitle" parent="TextAppearance.AppCompat.Subhead"> 155 <item name="android:textSize">@dimen/abc_text_size_subtitle_material_toolbar</item> 156 <item name="android:textColor">?android:attr/textColorSecondary</item> 157 </style> 158 159 <style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Title.Inverse" parent="TextAppearance.AppCompat.Title.Inverse"> 160 <item name="android:textSize">@dimen/abc_text_size_title_material_toolbar</item> 161 <item name="android:textColor">?android:attr/textColorPrimaryInverse</item> 162 </style> 163 164 <style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Subtitle.Inverse" parent="TextAppearance.AppCompat.Subhead.Inverse"> 165 <item name="android:textSize">@dimen/abc_text_size_subtitle_material_toolbar</item> 166 <item name="android:textColor">?android:attr/textColorSecondaryInverse</item> 167 </style> 168 169 <style name="Base.Widget.AppCompat.ProgressBar.Horizontal" parent="android:Widget.ProgressBar.Horizontal"> 170 </style> 171 172 <style name="Base.Widget.AppCompat.ProgressBar" parent="android:Widget.ProgressBar"> 173 <item name="android:minWidth">@dimen/abc_action_bar_progress_bar_size</item> 174 <item name="android:maxWidth">@dimen/abc_action_bar_progress_bar_size</item> 175 <item name="android:minHeight">@dimen/abc_action_bar_progress_bar_size</item> 176 <item name="android:maxHeight">@dimen/abc_action_bar_progress_bar_size</item> 177 </style> 178 179 <!-- Spinner Widgets --> 180 181 <style name="Platform.Widget.AppCompat.Spinner" parent="android:Widget.Spinner" /> 182 183 <style name="Base.Widget.AppCompat.Spinner" parent="Platform.Widget.AppCompat.Spinner"> 184 <item name="android:background">@drawable/abc_spinner_mtrl_am_alpha</item> 185 <item name="android:popupBackground">@drawable/abc_popup_background_mtrl_mult</item> 186 <item name="android:dropDownSelector">?attr/listChoiceBackgroundIndicator</item> 187 <item name="android:dropDownVerticalOffset">0dip</item> 188 <item name="android:dropDownHorizontalOffset">0dip</item> 189 <item name="android:dropDownWidth">wrap_content</item> 190 <item name="android:clickable">true</item> 191 <item name="android:gravity">left|start|center_vertical</item> 192 <item name="overlapAnchor">true</item> 193 </style> 194 195 <style name="Base.Widget.AppCompat.Spinner.Underlined"> 196 <item name="android:background">@drawable/abc_spinner_textfield_background_material</item> 197 </style> 198 199 <style name="Base.Widget.AppCompat.DropDownItem.Spinner" parent=""> 200 <item name="android:textAppearance">@style/TextAppearance.AppCompat.Widget.DropDownItem</item> 201 <item name="android:paddingLeft">8dp</item> 202 <item name="android:paddingRight">8dp</item> 203 <item name="android:gravity">center_vertical</item> 204 </style> 205 206 <style name="Base.Widget.AppCompat.ListView" parent="android:Widget.ListView"> 207 <item name="android:listSelector">?attr/listChoiceBackgroundIndicator</item> 208 </style> 209 210 <style name="Base.Widget.AppCompat.ListView.DropDown"> 211 <item name="android:divider">@null</item> 212 </style> 213 214 <style name="Base.Widget.AppCompat.ListMenuView" parent="android:Widget"> 215 <item name="subMenuArrow">@drawable/abc_ic_arrow_drop_right_black_24dp</item> 216 </style> 217 218 <style name="Base.TextAppearance.AppCompat.Widget.DropDownItem" 219 parent="android:TextAppearance.Small"> 220 <item name="android:textColor">?android:attr/textColorPrimaryDisableOnly</item> 221 </style> 222 223 <style name="Base.TextAppearance.Widget.AppCompat.ExpandedMenu.Item" 224 parent="android:TextAppearance.Medium"> 225 <item name="android:textColor">?android:attr/textColorPrimaryDisableOnly</item> 226 </style> 227 228 <style name="Base.Widget.AppCompat.ListView.Menu" parent="android:Widget.ListView.Menu"> 229 <item name="android:listSelector">?attr/listChoiceBackgroundIndicator</item> 230 <item name="android:divider">?attr/dividerHorizontal</item> 231 </style> 232 233 <style name="Base.Widget.AppCompat.ListPopupWindow" parent=""> 234 <item name="android:dropDownSelector">?attr/listChoiceBackgroundIndicator</item> 235 <item name="android:popupBackground">@drawable/abc_popup_background_mtrl_mult</item> 236 <item name="android:dropDownVerticalOffset">0dip</item> 237 <item name="android:dropDownHorizontalOffset">0dip</item> 238 <item name="android:dropDownWidth">wrap_content</item> 239 </style> 240 241 <style name="Base.Widget.AppCompat.PopupMenu.Overflow"> 242 <item name="overlapAnchor">true</item> 243 <item name="android:dropDownHorizontalOffset">-4dip</item> 244 </style> 245 246 <style name="Base.Widget.AppCompat.Light.PopupMenu.Overflow"> 247 <item name="overlapAnchor">true</item> 248 <item name="android:dropDownHorizontalOffset">-4dip</item> 249 </style> 250 251 <style name="Base.Widget.AppCompat.PopupMenu" parent="@style/Widget.AppCompat.ListPopupWindow"> 252 </style> 253 254 <style name="Base.Widget.AppCompat.Light.PopupMenu" parent="@style/Widget.AppCompat.ListPopupWindow"> 255 </style> 256 257 <style name="Base.TextAppearance.AppCompat.Widget.PopupMenu.Large" parent="TextAppearance.AppCompat.Menu"/> 258 259 <style name="Base.TextAppearance.AppCompat.Widget.PopupMenu.Small" parent="TextAppearance.AppCompat.Menu"/> 260 261 <style name="Base.TextAppearance.AppCompat.Widget.PopupMenu.Header" parent="TextAppearance.AppCompat"> 262 <item name="android:textSize">@dimen/abc_text_size_menu_header_material</item> 263 <item name="android:textColor">?attr/colorAccent</item> 264 </style> 265 266 <style name="Base.TextAppearance.AppCompat.SearchResult" parent=""> 267 <item name="android:textStyle">normal</item> 268 <item name="android:textColor">?android:textColorPrimary</item> 269 <item name="android:textColorHint">?android:textColorHint</item> 270 </style> 271 272 <style name="Base.TextAppearance.AppCompat.SearchResult.Title"> 273 <item name="android:textSize">18sp</item> 274 </style> 275 276 <style name="Base.TextAppearance.AppCompat.SearchResult.Subtitle"> 277 <item name="android:textSize">14sp</item> 278 <item name="android:textColor">?android:textColorSecondary</item> 279 </style> 280 281 <style name="Base.Widget.AppCompat.AutoCompleteTextView" parent="Base.V7.Widget.AppCompat.AutoCompleteTextView" /> 282 283 <style name="Base.V7.Widget.AppCompat.AutoCompleteTextView" parent="android:Widget.AutoCompleteTextView"> 284 <item name="android:dropDownSelector">?attr/listChoiceBackgroundIndicator</item> 285 <item name="android:popupBackground">@drawable/abc_popup_background_mtrl_mult</item> 286 <item name="android:background">?attr/editTextBackground</item> 287 <item name="android:textColor">?attr/editTextColor</item> 288 <item name="android:textAppearance">?android:attr/textAppearanceMediumInverse</item> 289 </style> 290 291 <style name="Base.Widget.AppCompat.ActivityChooserView" parent=""> 292 <item name="android:gravity">center</item> 293 <item name="android:background">@drawable/abc_ab_share_pack_mtrl_alpha</item> 294 <item name="divider">?attr/dividerVertical</item> 295 <item name="showDividers">middle</item> 296 <item name="dividerPadding">6dip</item> 297 </style> 298 299 <style name="Base.Widget.AppCompat.PopupWindow" parent="android:Widget.PopupWindow"> 300 </style> 301 302 <style name="Base.Widget.AppCompat.Toolbar" parent="android:Widget"> 303 <item name="titleTextAppearance">@style/TextAppearance.Widget.AppCompat.Toolbar.Title</item> 304 <item name="subtitleTextAppearance">@style/TextAppearance.Widget.AppCompat.Toolbar.Subtitle</item> 305 <item name="android:minHeight">?attr/actionBarSize</item> 306 <item name="titleMargin">4dp</item> 307 <item name="maxButtonHeight">@dimen/abc_action_bar_default_height_material</item> 308 <item name="buttonGravity">top</item> 309 <item name="collapseIcon">?attr/homeAsUpIndicator</item> 310 <item name="collapseContentDescription">@string/abc_toolbar_collapse_description</item> 311 <item name="contentInsetStart">16dp</item> 312 <item name="contentInsetStartWithNavigation">@dimen/abc_action_bar_content_inset_with_nav</item> 313 <item name="android:paddingLeft">@dimen/abc_action_bar_default_padding_start_material</item> 314 <item name="android:paddingRight">@dimen/abc_action_bar_default_padding_end_material</item> 315 </style> 316 317 <style name="Base.Widget.AppCompat.Toolbar.Button.Navigation" parent="android:Widget"> 318 <item name="android:background">?attr/controlBackground</item> 319 <item name="android:minWidth">56dp</item> 320 <item name="android:scaleType">center</item> 321 </style> 322 323 <style name="Base.TextAppearance.Widget.AppCompat.Toolbar.Title" 324 parent="TextAppearance.AppCompat.Widget.ActionBar.Title"> 325 </style> 326 327 <style name="Base.TextAppearance.Widget.AppCompat.Toolbar.Subtitle" 328 parent="TextAppearance.AppCompat.Widget.ActionBar.Subtitle"> 329 </style> 330 331 <style name="Base.Widget.AppCompat.SearchView" parent="android:Widget"> 332 <item name="layout">@layout/abc_search_view</item> 333 <item name="queryBackground">@drawable/abc_textfield_search_material</item> 334 <item name="submitBackground">@drawable/abc_textfield_search_material</item> 335 <item name="closeIcon">@drawable/abc_ic_clear_material</item> 336 <item name="searchIcon">@drawable/abc_ic_search_api_material</item> 337 <item name="searchHintIcon">@drawable/abc_ic_search_api_material</item> 338 <item name="goIcon">@drawable/abc_ic_go_search_api_material</item> 339 <item name="voiceIcon">@drawable/abc_ic_voice_search_api_material</item> 340 <item name="commitIcon">@drawable/abc_ic_commit_search_api_mtrl_alpha</item> 341 <item name="suggestionRowLayout">@layout/abc_search_dropdown_item_icons_2line</item> 342 </style> 343 344 <style name="Base.Widget.AppCompat.SearchView.ActionBar"> 345 <item name="queryBackground">@null</item> 346 <item name="submitBackground">@null</item> 347 <item name="searchHintIcon">@null</item> 348 <item name="defaultQueryHint">@string/abc_search_hint</item> 349 </style> 350 351 <style name="Base.Widget.AppCompat.EditText" parent="Base.V7.Widget.AppCompat.EditText" /> 352 353 <style name="Base.V7.Widget.AppCompat.EditText" parent="android:Widget.EditText"> 354 <item name="android:background">?attr/editTextBackground</item> 355 <item name="android:textColor">?attr/editTextColor</item> 356 <item name="android:textAppearance">?android:attr/textAppearanceMediumInverse</item> 357 </style> 358 359 <!-- contains values used in all dpis --> 360 <style name="Base.Widget.AppCompat.DrawerArrowToggle.Common" parent=""> 361 <item name="color">?android:attr/textColorSecondary</item> 362 <item name="spinBars">true</item> 363 <item name="thickness">2dp</item> 364 <item name="arrowShaftLength">16dp</item> 365 <item name="arrowHeadLength">8dp</item> 366 </style> 367 368 <!-- contains values used in all dpis except hdpi and xxhdpi --> 369 <style name="Base.Widget.AppCompat.DrawerArrowToggle" parent="Base.Widget.AppCompat.DrawerArrowToggle.Common"> 370 <item name="barLength">18dp</item> 371 <item name="gapBetweenBars">3dp</item> 372 <item name="drawableSize">24dp</item> 373 </style> 374 375 <style name="Base.Widget.AppCompat.CompoundButton.CheckBox" parent="android:Widget.CompoundButton.CheckBox"> 376 <item name="android:button">?android:attr/listChoiceIndicatorMultiple</item> 377 <item name="android:background">?attr/controlBackground</item> 378 </style> 379 380 <style name="Base.Widget.AppCompat.CompoundButton.RadioButton" parent="android:Widget.CompoundButton.RadioButton"> 381 <item name="android:button">?android:attr/listChoiceIndicatorSingle</item> 382 <item name="android:background">?attr/controlBackground</item> 383 </style> 384 385 <style name="Base.Widget.AppCompat.CompoundButton.Switch" parent="android:Widget.CompoundButton"> 386 <item name="track">@drawable/abc_switch_track_mtrl_alpha</item> 387 <item name="android:thumb">@drawable/abc_switch_thumb_material</item> 388 <item name="switchTextAppearance">@style/TextAppearance.AppCompat.Widget.Switch</item> 389 <item name="android:background">?attr/controlBackground</item> 390 <item name="showText">false</item> 391 <item name="switchPadding">@dimen/abc_switch_padding</item> 392 <item name="android:textOn">@string/abc_capital_on</item> 393 <item name="android:textOff">@string/abc_capital_off</item> 394 </style> 395 396 <style name="Base.TextAppearance.AppCompat.Widget.Switch" parent="TextAppearance.AppCompat.Button" /> 397 398 <style name="Base.Widget.AppCompat.RatingBar" parent="android:Widget.RatingBar"> 399 <item name="android:progressDrawable">@drawable/abc_ratingbar_material</item> 400 <item name="android:indeterminateDrawable">@drawable/abc_ratingbar_material</item> 401 </style> 402 403 <style name="Base.Widget.AppCompat.RatingBar.Indicator" parent="android:Widget.RatingBar"> 404 <item name="android:progressDrawable">@drawable/abc_ratingbar_indicator_material</item> 405 <item name="android:indeterminateDrawable">@drawable/abc_ratingbar_indicator_material</item> 406 <item name="android:minHeight">36dp</item> 407 <item name="android:maxHeight">36dp</item> 408 <item name="android:isIndicator">true</item> 409 <item name="android:thumb">@null</item> 410 </style> 411 412 <style name="Base.Widget.AppCompat.RatingBar.Small" parent="android:Widget.RatingBar"> 413 <item name="android:progressDrawable">@drawable/abc_ratingbar_small_material</item> 414 <item name="android:indeterminateDrawable">@drawable/abc_ratingbar_small_material</item> 415 <item name="android:minHeight">16dp</item> 416 <item name="android:maxHeight">16dp</item> 417 <item name="android:isIndicator">true</item> 418 <item name="android:thumb">@null</item> 419 </style> 420 421 <style name="Base.Widget.AppCompat.SeekBar" parent="android:Widget"> 422 <item name="android:indeterminateOnly">false</item> 423 <item name="android:progressDrawable">@drawable/abc_seekbar_track_material</item> 424 <item name="android:indeterminateDrawable">@drawable/abc_seekbar_track_material</item> 425 <item name="android:thumb">@drawable/abc_seekbar_thumb_material</item> 426 <item name="android:focusable">true</item> 427 <item name="android:paddingLeft">16dip</item> 428 <item name="android:paddingRight">16dip</item> 429 </style> 430 431 <!-- A seek bar with tick marks at each progress value. --> 432 <style name="Base.Widget.AppCompat.SeekBar.Discrete"> 433 <item name="tickMark">@drawable/abc_seekbar_tick_mark_material</item> 434 </style> 435 436 <!-- Bordered ink button --> 437 <style name="Base.Widget.AppCompat.Button" parent="android:Widget"> 438 <item name="android:background">@drawable/abc_btn_default_mtrl_shape</item> 439 <item name="android:textAppearance">?android:attr/textAppearanceButton</item> 440 <item name="android:minHeight">48dip</item> 441 <item name="android:minWidth">88dip</item> 442 <item name="android:focusable">true</item> 443 <item name="android:clickable">true</item> 444 <item name="android:gravity">center_vertical|center_horizontal</item> 445 </style> 446 447 <!-- Small bordered ink button --> 448 <style name="Base.Widget.AppCompat.Button.Small"> 449 <item name="android:minHeight">48dip</item> 450 <item name="android:minWidth">48dip</item> 451 </style> 452 453 <!-- Colored bordered ink button --> 454 <style name="Base.Widget.AppCompat.Button.Colored"> 455 <item name="android:background">@drawable/abc_btn_colored_material</item> 456 <item name="android:textAppearance">@style/TextAppearance.AppCompat.Widget.Button.Inverse</item> 457 </style> 458 459 <!-- Borderless ink button --> 460 <style name="Base.Widget.AppCompat.Button.Borderless"> 461 <item name="android:background">@drawable/abc_btn_borderless_material</item> 462 </style> 463 464 <!-- Colored borderless ink button --> 465 <style name="Base.Widget.AppCompat.Button.Borderless.Colored"> 466 <item name="android:textColor">@color/abc_btn_colored_borderless_text_material</item> 467 </style> 468 469 <style name="Base.Widget.AppCompat.Button.ButtonBar.AlertDialog" parent="Widget.AppCompat.Button.Borderless.Colored"> 470 <item name="android:minWidth">64dp</item> 471 <item name="android:maxLines">2</item> 472 <item name="android:minHeight">@dimen/abc_alert_dialog_button_bar_height</item> 473 </style> 474 475 <style name="Base.Widget.AppCompat.ImageButton" parent="android:Widget.ImageButton"> 476 <item name="android:background">@drawable/abc_btn_default_mtrl_shape</item> 477 </style> 478 479 <style name="Base.Widget.AppCompat.TextView.SpinnerItem" parent="android:Widget.TextView.SpinnerItem"> 480 <item name="android:textAppearance">@style/TextAppearance.AppCompat.Widget.TextView.SpinnerItem</item> 481 <item name="android:paddingLeft">8dp</item> 482 <item name="android:paddingRight">8dp</item> 483 </style> 484 485 <style name="Base.TextAppearance.AppCompat.Widget.TextView.SpinnerItem" parent="TextAppearance.AppCompat.Menu" /> 486 487 <style name="Base.DialogWindowTitleBackground.AppCompat" parent="android:Widget"> 488 <item name="android:background">@null</item> 489 <item name="android:paddingLeft">?attr/dialogPreferredPadding</item> 490 <item name="android:paddingRight">?attr/dialogPreferredPadding</item> 491 <item name="android:paddingTop">@dimen/abc_dialog_padding_top_material</item> 492 </style> 493 494 <style name="Base.DialogWindowTitle.AppCompat" parent="android:Widget"> 495 <item name="android:maxLines">1</item> 496 <item name="android:scrollHorizontally">true</item> 497 <item name="android:textAppearance">@style/TextAppearance.AppCompat.Title</item> 498 </style> 499 500 <style name="Base.Animation.AppCompat.Dialog" parent="android:Animation"> 501 <item name="android:windowEnterAnimation">@anim/abc_popup_enter</item> 502 <item name="android:windowExitAnimation">@anim/abc_popup_exit</item> 503 </style> 504 505 <style name="Base.Widget.AppCompat.ButtonBar" parent="android:Widget"> 506 <item name="android:background">@null</item> 507 </style> 508 509 <style name="Base.Widget.AppCompat.ButtonBar.AlertDialog" /> 510 511 <style name="Base.Animation.AppCompat.DropDownUp" parent="android:Animation"> 512 <item name="android:windowEnterAnimation">@anim/abc_grow_fade_in_from_bottom</item> 513 <item name="android:windowExitAnimation">@anim/abc_shrink_fade_out_from_bottom</item> 514 </style> 515 516 <style name="Base.AlertDialog.AppCompat" parent="android:Widget"> 517 <item name="android:layout">@layout/abc_alert_dialog_material</item> 518 <item name="listLayout">@layout/abc_select_dialog_material</item> 519 <item name="listItemLayout">@layout/select_dialog_item_material</item> 520 <item name="multiChoiceItemLayout">@layout/select_dialog_multichoice_material</item> 521 <item name="singleChoiceItemLayout">@layout/select_dialog_singlechoice_material</item> 522 </style> 523 524 <style name="Base.AlertDialog.AppCompat.Light" parent="Base.AlertDialog.AppCompat" /> 525 526</resources> 527