GoogleGit

blob: c520a46e9add8b8fbed28ee8c1a656ec599f9312 [file] [log] [blame]
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright (C) 2006 The Android Open Source Project
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. -->
  13. <!--
  14. ===============================================================
  15. PLEASE READ
  16. ===============================================================
  17. The Holo themes must not be modified in order to pass CTS.
  18. Many related themes and styles depend on other values defined in this file.
  19. If you would like to provide custom themes and styles for your device,
  20. please see styles_device_defaults.xml.
  21. ===============================================================
  22. PLEASE READ
  23. ===============================================================
  24. -->
  25. <resources>
  26. <!-- Global Theme Styles -->
  27. <eat-comment />
  28. <style name="WindowTitleBackground">
  29. <item name="background">@drawable/title_bar</item>
  30. </style>
  31. <style name="WindowTitle">
  32. <item name="singleLine">true</item>
  33. <item name="textAppearance">@style/TextAppearance.WindowTitle</item>
  34. <item name="shadowColor">#BB000000</item>
  35. <item name="shadowRadius">2.75</item>
  36. </style>
  37. <style name="DialogWindowTitleBackground">
  38. <item name="background">@drawable/title_bar</item>
  39. </style>
  40. <style name="DialogWindowTitle">
  41. <item name="maxLines">1</item>
  42. <item name="scrollHorizontally">true</item>
  43. <item name="textAppearance">@style/TextAppearance.DialogWindowTitle</item>
  44. </style>
  45. <style name="AlertDialog">
  46. <item name="fullDark">@drawable/popup_full_dark</item>
  47. <item name="topDark">@drawable/popup_top_dark</item>
  48. <item name="centerDark">@drawable/popup_center_dark</item>
  49. <item name="bottomDark">@drawable/popup_bottom_dark</item>
  50. <item name="fullBright">@drawable/popup_full_bright</item>
  51. <item name="topBright">@drawable/popup_top_bright</item>
  52. <item name="centerBright">@drawable/popup_center_bright</item>
  53. <item name="bottomBright">@drawable/popup_bottom_bright</item>
  54. <item name="bottomMedium">@drawable/popup_bottom_medium</item>
  55. <item name="centerMedium">@drawable/popup_center_medium</item>
  56. <item name="progressLayout">@layout/progress_dialog</item>
  57. <item name="horizontalProgressLayout">@layout/alert_dialog_progress</item>
  58. <item name="needsDefaultBackgrounds">false</item>
  59. </style>
  60. <style name="Widget.PreferenceFrameLayout">
  61. <item name="borderTop">0dip</item>
  62. <item name="borderBottom">0dip</item>
  63. <item name="borderLeft">0dip</item>
  64. <item name="borderRight">0dip</item>
  65. </style>
  66. <!-- Base style for animations. This style specifies no animations. -->
  67. <style name="Animation" />
  68. <!-- Standard animations for a full-screen window or activity. -->
  69. <style name="Animation.Activity">
  70. <item name="activityOpenEnterAnimation">@anim/activity_open_enter</item>
  71. <item name="activityOpenExitAnimation">@anim/activity_open_exit</item>
  72. <item name="activityCloseEnterAnimation">@anim/activity_close_enter</item>
  73. <item name="activityCloseExitAnimation">@anim/activity_close_exit</item>
  74. <item name="taskOpenEnterAnimation">@anim/task_open_enter</item>
  75. <item name="taskOpenExitAnimation">@anim/task_open_exit</item>
  76. <item name="launchTaskBehindTargetAnimation">@anim/launch_task_behind_target</item>
  77. <item name="launchTaskBehindSourceAnimation">@anim/launch_task_behind_source</item>
  78. <item name="taskCloseEnterAnimation">@anim/task_close_enter</item>
  79. <item name="taskCloseExitAnimation">@anim/task_close_exit</item>
  80. <item name="taskToFrontEnterAnimation">@anim/task_open_enter</item>
  81. <item name="taskToFrontExitAnimation">@anim/task_open_exit</item>
  82. <item name="taskToBackEnterAnimation">@anim/task_close_enter</item>
  83. <item name="taskToBackExitAnimation">@anim/task_close_exit</item>
  84. <item name="wallpaperOpenEnterAnimation">@anim/wallpaper_open_enter</item>
  85. <item name="wallpaperOpenExitAnimation">@anim/wallpaper_open_exit</item>
  86. <item name="wallpaperCloseEnterAnimation">@anim/wallpaper_close_enter</item>
  87. <item name="wallpaperCloseExitAnimation">@anim/wallpaper_close_exit</item>
  88. <item name="wallpaperIntraOpenEnterAnimation">@anim/wallpaper_intra_open_enter</item>
  89. <item name="wallpaperIntraOpenExitAnimation">@anim/wallpaper_intra_open_exit</item>
  90. <item name="wallpaperIntraCloseEnterAnimation">@anim/wallpaper_intra_close_enter</item>
  91. <item name="wallpaperIntraCloseExitAnimation">@anim/wallpaper_intra_close_exit</item>
  92. <item name="fragmentOpenEnterAnimation">@animator/fragment_open_enter</item>
  93. <item name="fragmentOpenExitAnimation">@animator/fragment_open_exit</item>
  94. <item name="fragmentCloseEnterAnimation">@animator/fragment_close_enter</item>
  95. <item name="fragmentCloseExitAnimation">@animator/fragment_close_exit</item>
  96. <item name="fragmentFadeEnterAnimation">@animator/fragment_fade_enter</item>
  97. <item name="fragmentFadeExitAnimation">@animator/fragment_fade_exit</item>
  98. </style>
  99. <!-- Standard animations for a non-full-screen window or activity. -->
  100. <style name="Animation.Dialog">
  101. <item name="windowEnterAnimation">@anim/dialog_enter</item>
  102. <item name="windowExitAnimation">@anim/dialog_exit</item>
  103. </style>
  104. <!-- Standard animations for a translucent window or activity. This
  105. style is <em>not</em> used by default for the translucent theme
  106. (since translucent activities are a special case that have no
  107. clear UI paradigm), but you can make your own specialized theme
  108. with this animation style if you would like to have the standard
  109. platform transition animation. -->
  110. <style name="Animation.Translucent">
  111. <item name="windowEnterAnimation">@anim/translucent_enter</item>
  112. <item name="windowExitAnimation">@anim/translucent_exit</item>
  113. </style>
  114. <!-- Standard animations for a non-full-screen window or activity. -->
  115. <style name="Animation.LockScreen">
  116. <item name="windowEnterAnimation">@anim/lock_screen_enter</item>
  117. <item name="windowExitAnimation">@anim/lock_screen_exit</item>
  118. </style>
  119. <style name="Animation.OptionsPanel">
  120. <item name="windowEnterAnimation">@anim/options_panel_enter</item>
  121. <item name="windowExitAnimation">@anim/options_panel_exit</item>
  122. </style>
  123. <style name="Animation.SubMenuPanel">
  124. <item name="windowEnterAnimation">@anim/submenu_enter</item>
  125. <item name="windowExitAnimation">@anim/submenu_exit</item>
  126. </style>
  127. <style name="Animation.TypingFilter">
  128. <item name="windowEnterAnimation">@anim/grow_fade_in_center</item>
  129. <item name="windowExitAnimation">@anim/shrink_fade_out_center</item>
  130. </style>
  131. <style name="Animation.TypingFilterRestore">
  132. <item name="windowEnterAnimation">@null</item>
  133. <item name="windowExitAnimation">@anim/shrink_fade_out_center</item>
  134. </style>
  135. <style name="Animation.Toast">
  136. <item name="windowEnterAnimation">@anim/toast_enter</item>
  137. <item name="windowExitAnimation">@anim/toast_exit</item>
  138. </style>
  139. <style name="Animation.DropDownDown">
  140. <item name="windowEnterAnimation">@anim/grow_fade_in</item>
  141. <item name="windowExitAnimation">@anim/shrink_fade_out</item>
  142. </style>
  143. <style name="Animation.DropDownUp">
  144. <item name="windowEnterAnimation">@anim/grow_fade_in_from_bottom</item>
  145. <item name="windowExitAnimation">@anim/shrink_fade_out_from_bottom</item>
  146. </style>
  147. <!-- Window animations that are applied to input method overlay windows. -->
  148. <style name="Animation.InputMethod">
  149. <item name="windowEnterAnimation">@anim/input_method_enter</item>
  150. <item name="windowExitAnimation">@anim/input_method_exit</item>
  151. </style>
  152. <!-- Window animations that are applied to voice activity windows. -->
  153. <style name="Animation.VoiceActivity">
  154. <item name="windowEnterAnimation">@anim/voice_activity_open_enter</item>
  155. <item name="windowExitAnimation">@anim/voice_activity_close_exit</item>
  156. </style>
  157. <!-- Window animations that are applied to voice interaction overlay windows. -->
  158. <style name="Animation.VoiceInteractionSession">
  159. <item name="windowEnterAnimation">@anim/voice_layer_enter</item>
  160. <item name="windowExitAnimation">@anim/voice_layer_exit</item>
  161. </style>
  162. <!-- Special optional fancy IM animations. @hide -->
  163. <style name="Animation.InputMethodFancy">
  164. <item name="windowEnterAnimation">@anim/input_method_fancy_enter</item>
  165. <item name="windowExitAnimation">@anim/input_method_fancy_exit</item>
  166. </style>
  167. <!-- Window animations that are applied to the search bar overlay window.
  168. Previously used, but currently unused.
  169. {@hide Pending API council approval} -->
  170. <style name="Animation.SearchBar">
  171. <item name="windowEnterAnimation">@anim/search_bar_enter</item>
  172. <item name="windowExitAnimation">@anim/search_bar_exit</item>
  173. </style>
  174. <!-- Window animations that are applied to the zoom buttons overlay window. -->
  175. <style name="Animation.ZoomButtons">
  176. <item name="windowEnterAnimation">@anim/fade_in</item>
  177. <item name="windowExitAnimation">@anim/fade_out</item>
  178. </style>
  179. <!-- Standard animations for wallpapers. -->
  180. <style name="Animation.Wallpaper">
  181. <item name="windowEnterAnimation">@anim/wallpaper_enter</item>
  182. <item name="windowExitAnimation">@anim/wallpaper_exit</item>
  183. </style>
  184. <!-- A special animation we can use for recent applications,
  185. for devices that can support it (do alpha transformations). -->
  186. <style name="Animation.RecentApplications">
  187. <item name="windowEnterAnimation">@anim/recents_fade_in</item>
  188. <item name="windowShowAnimation">@anim/recents_fade_in</item>
  189. <item name="windowExitAnimation">@anim/recents_fade_out</item>
  190. <item name="windowHideAnimation">@anim/recents_fade_out</item>
  191. </style>
  192. <!-- A special animation value used internally for popup windows. -->
  193. <style name="Animation.PopupWindow" />
  194. <!-- Window animations used for action mode UI in overlay mode. -->
  195. <style name="Animation.PopupWindow.ActionMode">
  196. <item name="windowEnterAnimation">@anim/fade_in</item>
  197. <item name="windowExitAnimation">@anim/fade_out</item>
  198. </style>
  199. <!-- Window animations used for volume panel. -->
  200. <style name="Animation.VolumePanel">
  201. <item name="windowEnterAnimation">@null</item>
  202. <item name="windowExitAnimation">@anim/fade_out</item>
  203. </style>
  204. <!-- Window animations for screen savers. {@hide} -->
  205. <style name="Animation.Dream">
  206. <item name="windowEnterAnimation">@anim/slow_fade_in</item>
  207. <item name="windowExitAnimation">@anim/fast_fade_out</item>
  208. </style>
  209. <!-- Status Bar Styles -->
  210. <style name="TextAppearance.StatusBar">
  211. <item name="textAppearance">?attr/textAppearanceSmall</item>
  212. </style>
  213. <style name="TextAppearance.StatusBar.Ticker">
  214. </style>
  215. <style name="TextAppearance.StatusBar.Title">
  216. <item name="textStyle">bold</item>
  217. </style>
  218. <style name="TextAppearance.StatusBar.Icon">
  219. </style>
  220. <!-- Notification content styles -->
  221. <style name="TextAppearance.StatusBar.EventContent">
  222. <item name="textColor">#999999</item>
  223. <item name="textSize">@dimen/notification_text_size</item>
  224. </style>
  225. <style name="TextAppearance.StatusBar.EventContent.Title">
  226. <item name="textColor">#ffffff</item>
  227. <item name="fontFamily">sans-serif-light</item>
  228. <item name="textSize">@dimen/notification_title_text_size</item>
  229. <item name="textStyle">bold</item>
  230. </style>
  231. <style name="TextAppearance.StatusBar.EventContent.Line2">
  232. <item name="textSize">@dimen/notification_subtext_size</item>
  233. </style>
  234. <style name="TextAppearance.StatusBar.EventContent.Info">
  235. <item name="textSize">@dimen/notification_subtext_size</item>
  236. <item name="textColor">#999999</item>
  237. </style>
  238. <style name="TextAppearance.StatusBar.EventContent.Time">
  239. <item name="textSize">@dimen/notification_subtext_size</item>
  240. <item name="textColor">#999999</item>
  241. </style>
  242. <style name="TextAppearance.StatusBar.EventContent.Emphasis">
  243. <item name="textColor">#CCCCCC</item>
  244. </style>
  245. <style name="TextAppearance.Small.CalendarViewWeekDayView">
  246. <item name="textStyle">bold</item>
  247. </style>
  248. <style name="TextAppearance.Suggestion">
  249. <item name="textUnderlineThickness">2dip</item>
  250. </style>
  251. <style name="TextAppearance.EasyCorrectSuggestion" parent="TextAppearance.Suggestion">
  252. <item name="textUnderlineColor">#88C8C8C8</item>
  253. </style>
  254. <style name="TextAppearance.MisspelledSuggestion" parent="TextAppearance.Suggestion">
  255. <item name="textUnderlineColor">@color/holo_red_light</item>
  256. </style>
  257. <style name="TextAppearance.AutoCorrectionSuggestion" parent="TextAppearance.Suggestion">
  258. <item name="textUnderlineColor">@color/holo_blue_light</item>
  259. </style>
  260. <!-- Widget Styles -->
  261. <style name="Widget">
  262. <item name="textAppearance">?textAppearance</item>
  263. </style>
  264. <style name="Widget.AbsListView">
  265. <item name="scrollbars">vertical</item>
  266. <item name="fadingEdge">vertical</item>
  267. <item name="fastScrollStyle">?attr/fastScrollStyle</item>
  268. </style>
  269. <style name="Widget.GestureOverlayView">
  270. <item name="gestureStrokeWidth">12.0</item>
  271. <item name="gestureColor">#ffffff00</item>
  272. <item name="uncertainGestureColor">#48ffff00</item>
  273. <item name="fadeOffset">420</item>
  274. <item name="fadeDuration">150</item>
  275. <item name="gestureStrokeLengthThreshold">50.0</item>
  276. <item name="gestureStrokeSquarenessThreshold">0.275</item>
  277. <item name="gestureStrokeAngleThreshold">40.0</item>
  278. <item name="eventsInterceptionEnabled">true</item>
  279. </style>
  280. <style name="Widget.GestureOverlayView.White">
  281. <item name="gestureColor">#ff00ff00</item>
  282. <item name="uncertainGestureColor">#4800ff00</item>
  283. </style>
  284. <style name="Widget.Button">
  285. <item name="background">@drawable/btn_default</item>
  286. <item name="focusable">true</item>
  287. <item name="clickable">true</item>
  288. <item name="textAppearance">?attr/textAppearanceSmallInverse</item>
  289. <item name="textColor">@color/primary_text_light</item>
  290. <item name="gravity">center_vertical|center_horizontal</item>
  291. </style>
  292. <style name="Widget.Button.Small">
  293. <item name="background">@drawable/btn_default_small</item>
  294. </style>
  295. <style name="Widget.Button.Inset">
  296. <item name="background">@drawable/button_inset</item>
  297. </style>
  298. <style name="Widget.Button.Transparent">
  299. <item name="background">@drawable/btn_default_transparent</item>
  300. <item name="textAppearance">?attr/textAppearanceSmall</item>
  301. <item name="textColor">@color/white</item>
  302. </style>
  303. <style name="Widget.CompoundButton">
  304. <item name="focusable">true</item>
  305. <item name="clickable">true</item>
  306. <item name="textAppearance">?attr/textAppearance</item>
  307. <item name="textColor">?attr/textColorPrimaryDisableOnly</item>
  308. <item name="gravity">center_vertical|start</item>
  309. </style>
  310. <style name="Widget.CompoundButton.CheckBox">
  311. <item name="button">?attr/listChoiceIndicatorMultiple</item>
  312. </style>
  313. <style name="Widget.CompoundButton.RadioButton">
  314. <item name="button">?attr/listChoiceIndicatorSingle</item>
  315. </style>
  316. <style name="Widget.CompoundButton.Star">
  317. <item name="button">@drawable/btn_star</item>
  318. </style>
  319. <style name="Widget.Button.Toggle">
  320. <item name="background">@drawable/btn_toggle_bg</item>
  321. <item name="textOn">@string/capital_on</item>
  322. <item name="textOff">@string/capital_off</item>
  323. <item name="disabledAlpha">?attr/disabledAlpha</item>
  324. </style>
  325. <style name="Widget.StackView">
  326. <item name="resOutColor">@color/holo_blue_light</item>
  327. <item name="clickColor">@color/holo_blue_light</item>
  328. </style>
  329. <style name="Widget.ProgressBar">
  330. <item name="indeterminateOnly">true</item>
  331. <item name="indeterminateDrawable">@drawable/progress_medium_white</item>
  332. <item name="indeterminateBehavior">repeat</item>
  333. <item name="indeterminateDuration">3500</item>
  334. <item name="minWidth">48dip</item>
  335. <item name="maxWidth">48dip</item>
  336. <item name="minHeight">48dip</item>
  337. <item name="maxHeight">48dip</item>
  338. <item name="mirrorForRtl">false</item>
  339. </style>
  340. <style name="Widget.ProgressBar.Large">
  341. <item name="indeterminateDrawable">@drawable/progress_large_white</item>
  342. <item name="minWidth">76dip</item>
  343. <item name="maxWidth">76dip</item>
  344. <item name="minHeight">76dip</item>
  345. <item name="maxHeight">76dip</item>
  346. </style>
  347. <style name="Widget.ProgressBar.Small">
  348. <item name="indeterminateDrawable">@drawable/progress_small_white</item>
  349. <item name="minWidth">16dip</item>
  350. <item name="maxWidth">16dip</item>
  351. <item name="minHeight">16dip</item>
  352. <item name="maxHeight">16dip</item>
  353. </style>
  354. <style name="Widget.ProgressBar.Inverse">
  355. <item name="indeterminateDrawable">@drawable/progress_medium</item>
  356. </style>
  357. <style name="Widget.ProgressBar.Large.Inverse">
  358. <item name="indeterminateDrawable">@drawable/progress_large</item>
  359. </style>
  360. <style name="Widget.ProgressBar.Small.Inverse">
  361. <item name="indeterminateDrawable">@drawable/progress_small</item>
  362. </style>
  363. <style name="Widget.ProgressBar.Small.Title">
  364. <item name="indeterminateDrawable">@drawable/progress_small_titlebar</item>
  365. </style>
  366. <style name="Widget.ProgressBar.Horizontal">
  367. <item name="indeterminateOnly">false</item>
  368. <item name="progressDrawable">@drawable/progress_horizontal</item>
  369. <item name="indeterminateDrawable">@drawable/progress_indeterminate_horizontal</item>
  370. <item name="minHeight">20dip</item>
  371. <item name="maxHeight">20dip</item>
  372. <item name="mirrorForRtl">true</item>
  373. </style>
  374. <style name="Widget.SeekBar">
  375. <item name="indeterminateOnly">false</item>
  376. <item name="progressDrawable">@drawable/progress_horizontal</item>
  377. <item name="indeterminateDrawable">@drawable/progress_horizontal</item>
  378. <item name="minHeight">20dip</item>
  379. <item name="maxHeight">20dip</item>
  380. <item name="thumb">@drawable/seek_thumb</item>
  381. <item name="thumbOffset">8dip</item>
  382. <item name="focusable">true</item>
  383. <item name="mirrorForRtl">true</item>
  384. </style>
  385. <style name="Widget.RatingBar">
  386. <item name="indeterminateOnly">false</item>
  387. <item name="progressDrawable">@drawable/ratingbar_full</item>
  388. <item name="indeterminateDrawable">@drawable/ratingbar_full</item>
  389. <item name="minHeight">57dip</item>
  390. <item name="maxHeight">57dip</item>
  391. <item name="thumb">@null</item>
  392. <item name="mirrorForRtl">true</item>
  393. </style>
  394. <style name="Widget.RatingBar.Indicator">
  395. <item name="indeterminateOnly">false</item>
  396. <item name="progressDrawable">@drawable/ratingbar</item>
  397. <item name="indeterminateDrawable">@drawable/ratingbar</item>
  398. <item name="minHeight">38dip</item>
  399. <item name="maxHeight">38dip</item>
  400. <item name="thumb">@null</item>
  401. <item name="isIndicator">true</item>
  402. </style>
  403. <style name="Widget.RatingBar.Small">
  404. <item name="indeterminateOnly">false</item>
  405. <item name="progressDrawable">@drawable/ratingbar_small</item>
  406. <item name="indeterminateDrawable">@drawable/ratingbar_small</item>
  407. <item name="minHeight">14dip</item>
  408. <item name="maxHeight">14dip</item>
  409. <item name="thumb">@null</item>
  410. <item name="isIndicator">true</item>
  411. </style>
  412. <style name="Widget.TextView">
  413. <item name="textAppearance">?attr/textAppearanceSmall</item>
  414. <item name="textSelectHandleLeft">?attr/textSelectHandleLeft</item>
  415. <item name="textSelectHandleRight">?attr/textSelectHandleRight</item>
  416. <item name="textSelectHandle">?attr/textSelectHandle</item>
  417. <item name="textEditPasteWindowLayout">?attr/textEditPasteWindowLayout</item>
  418. <item name="textEditNoPasteWindowLayout">?attr/textEditNoPasteWindowLayout</item>
  419. <item name="textEditSidePasteWindowLayout">?attr/textEditSidePasteWindowLayout</item>
  420. <item name="textEditSideNoPasteWindowLayout">?attr/textEditSideNoPasteWindowLayout</item>
  421. <item name="textEditSuggestionItemLayout">?attr/textEditSuggestionItemLayout</item>
  422. <item name="textCursorDrawable">?attr/textCursorDrawable</item>
  423. </style>
  424. <style name="Widget.CheckedTextView">
  425. <item name="textAlignment">viewStart</item>
  426. </style>
  427. <style name="Widget.TextView.ListSeparator">
  428. <item name="background">@drawable/dark_header_dither</item>
  429. <item name="layout_width">match_parent</item>
  430. <item name="layout_height">wrap_content</item>
  431. <item name="textStyle">bold</item>
  432. <item name="textColor">?textColorSecondary</item>
  433. <item name="textSize">14sp</item>
  434. <item name="gravity">center_vertical</item>
  435. <item name="paddingStart">8dip</item>
  436. </style>
  437. <style name="Widget.TextView.ListSeparator.White">
  438. <item name="textColor">?textColorPrimaryInverse</item>
  439. <item name="background">@drawable/light_header_dither</item>
  440. </style>
  441. <style name="Widget.EditText">
  442. <item name="focusable">true</item>
  443. <item name="focusableInTouchMode">true</item>
  444. <item name="clickable">true</item>
  445. <item name="background">?attr/editTextBackground</item>
  446. <item name="textAppearance">?attr/textAppearanceMediumInverse</item>
  447. <item name="textColor">?attr/editTextColor</item>
  448. <item name="gravity">center_vertical</item>
  449. </style>
  450. <style name="Widget.ExpandableListView" parent="Widget.ListView">
  451. <item name="groupIndicator">@drawable/expander_group</item>
  452. <item name="indicatorLeft">?attr/expandableListPreferredItemIndicatorLeft</item>
  453. <item name="indicatorRight">?attr/expandableListPreferredItemIndicatorRight</item>
  454. <item name="childDivider">@drawable/divider_horizontal_dark_opaque</item>
  455. </style>
  456. <style name="Widget.ExpandableListView.White">
  457. <item name="childDivider">@drawable/divider_horizontal_bright_opaque</item>
  458. </style>
  459. <style name="Widget.FragmentBreadCrumbs">
  460. <item name="padding">4dp</item>
  461. <item name="animateLayoutChanges">true</item>
  462. <item name="itemLayout">@layout/fragment_bread_crumb_item</item>
  463. <item name="itemColor">@null</item>
  464. </style>
  465. <style name="Widget.ImageWell">
  466. <item name="background">@drawable/panel_picture_frame_background</item>
  467. </style>
  468. <style name="Widget.ImageButton">
  469. <item name="focusable">true</item>
  470. <item name="clickable">true</item>
  471. <item name="scaleType">center</item>
  472. <item name="background">@drawable/btn_default</item>
  473. </style>
  474. <style name="Widget.CalendarView">
  475. <item name="showWeekNumber">true</item>
  476. <item name="minDate">01/01/1900</item>
  477. <item name="maxDate">12/31/2100</item>
  478. <item name="shownWeekCount">6</item>
  479. <item name="selectedWeekBackgroundColor">#330099FF</item>
  480. <item name="focusedMonthDateColor">#FFFFFFFF</item>
  481. <item name="unfocusedMonthDateColor">#66FFFFFF</item>
  482. <item name="weekNumberColor">#33FFFFFF</item>
  483. <item name="weekSeparatorLineColor">#19FFFFFF</item>
  484. <item name="selectedDateVerticalBar">@drawable/day_picker_week_view_dayline_holo</item>
  485. <item name="weekDayTextAppearance">@style/TextAppearance.Small.CalendarViewWeekDayView</item>
  486. <item name="dateTextAppearance">?attr/textAppearanceSmall</item>
  487. <item name="calendarViewMode">holo</item>
  488. </style>
  489. <style name="Widget.NumberPicker">
  490. <item name="internalLayout">@layout/number_picker</item>
  491. <item name="orientation">vertical</item>
  492. <item name="fadingEdge">vertical</item>
  493. <item name="fadingEdgeLength">50dip</item>
  494. </style>
  495. <style name="Widget.TimePicker">
  496. <item name="timePickerMode">spinner</item>
  497. <item name="legacyLayout">@layout/time_picker_legacy</item>
  498. </style>
  499. <style name="Widget.DatePicker">
  500. <item name="datePickerMode">spinner</item>
  501. <item name="legacyLayout">@layout/date_picker_legacy</item>
  502. <item name="calendarViewShown">false</item>
  503. </style>
  504. <style name="Widget.AutoCompleteTextView" parent="Widget.EditText">
  505. <item name="completionHintView">@layout/simple_dropdown_hint</item>
  506. <item name="completionThreshold">2</item>
  507. <item name="dropDownSelector">@drawable/list_selector_background</item>
  508. <item name="popupBackground">@drawable/spinner_dropdown_background</item>
  509. <item name="dropDownVerticalOffset">-6dip</item>
  510. <item name="dropDownHorizontalOffset">0dip</item>
  511. <item name="dropDownWidth">wrap_content</item>
  512. </style>
  513. <style name="Widget.Spinner">
  514. <item name="background">@drawable/btn_dropdown</item>
  515. <item name="clickable">true</item>
  516. <item name="spinnerMode">dialog</item>
  517. <item name="dropDownSelector">@drawable/list_selector_background</item>
  518. <item name="popupBackground">@drawable/spinner_dropdown_background</item>
  519. <item name="dropDownVerticalOffset">-10dip</item>
  520. <item name="dropDownHorizontalOffset">0dip</item>
  521. <item name="dropDownWidth">wrap_content</item>
  522. <item name="popupPromptView">@layout/simple_dropdown_hint</item>
  523. <item name="gravity">center</item>
  524. </style>
  525. <style name="Widget.Spinner.DropDown">
  526. <item name="spinnerMode">dropdown</item>
  527. </style>
  528. <style name="Widget.TextView.PopupMenu">
  529. <item name="clickable">true</item>
  530. <item name="textAppearance">@style/TextAppearance.Widget.TextView.PopupMenu</item>
  531. </style>
  532. <style name="Widget.TextView.SpinnerItem">
  533. <item name="textAppearance">@style/TextAppearance.Widget.TextView.SpinnerItem</item>
  534. </style>
  535. <style name="Widget.DropDownItem">
  536. <item name="textAppearance">@style/TextAppearance.Widget.DropDownItem</item>
  537. <item name="paddingStart">@dimen/dropdownitem_text_padding_left</item>
  538. <item name="paddingEnd">@dimen/dropdownitem_text_padding_right</item>
  539. <item name="gravity">center_vertical</item>
  540. </style>
  541. <style name="Widget.DropDownItem.Spinner">
  542. <item name="checkMark">?attr/listChoiceIndicatorSingle</item>
  543. </style>
  544. <style name="Widget.ScrollView">
  545. <item name="scrollbars">vertical</item>
  546. <item name="fadingEdge">vertical</item>
  547. </style>
  548. <style name="Widget.HorizontalScrollView">
  549. <item name="scrollbars">horizontal</item>
  550. <item name="fadingEdge">horizontal</item>
  551. </style>
  552. <style name="Widget.ListView" parent="Widget.AbsListView">
  553. <item name="listSelector">@drawable/list_selector_background</item>
  554. <item name="cacheColorHint">?attr/colorBackgroundCacheHint</item>
  555. <item name="divider">@drawable/divider_horizontal_dark_opaque</item>
  556. </style>
  557. <style name="Widget.ListView.White" parent="Widget.AbsListView">
  558. <item name="listSelector">@drawable/list_selector_background</item>
  559. <item name="cacheColorHint">?attr/colorBackgroundCacheHint</item>
  560. <item name="divider">@drawable/divider_horizontal_bright_opaque</item>
  561. </style>
  562. <style name="Widget.ListView.DropDown">
  563. <item name="cacheColorHint">@null</item>
  564. <item name="divider">@drawable/divider_horizontal_bright_opaque</item>
  565. </style>
  566. <style name="Widget.ListView.Menu" parent="Widget.Holo.ListView">
  567. <item name="cacheColorHint">@null</item>
  568. <item name="scrollbars">vertical</item>
  569. <item name="fadingEdge">none</item>
  570. <!-- Light background for the list in menus, so the divider for bright themes -->
  571. <item name="divider">@drawable/divider_horizontal_dark</item>
  572. </style>
  573. <style name="Widget.GridView" parent="Widget.AbsListView">
  574. <item name="listSelector">@drawable/grid_selector_background</item>
  575. </style>
  576. <style name="Widget.WebView">
  577. <item name="focusable">true</item>
  578. <item name="focusableInTouchMode">true</item>
  579. <item name="scrollbars">horizontal|vertical</item>
  580. </style>
  581. <style name="Widget.WebTextView">
  582. <item name="focusable">true</item>
  583. <item name="focusableInTouchMode">true</item>
  584. <item name="clickable">true</item>
  585. <item name="completionHintView">@layout/simple_dropdown_item_1line</item>
  586. <item name="textAppearance">?attr/textAppearanceLargeInverse</item>
  587. <item name="completionThreshold">2</item>
  588. <item name="dropDownSelector">@drawable/list_selector_background</item>
  589. <item name="popupBackground">@drawable/spinner_dropdown_background</item>
  590. <item name="textCursorDrawable">@drawable/text_cursor_holo_light</item>
  591. </style>
  592. <style name="Widget.TabWidget">
  593. <item name="textAppearance">@style/TextAppearance.Widget.TabWidget</item>
  594. <item name="ellipsize">marquee</item>
  595. <item name="singleLine">true</item>
  596. <item name="tabStripLeft">@drawable/tab_bottom_left</item>
  597. <item name="tabStripRight">@drawable/tab_bottom_right</item>
  598. <item name="tabStripEnabled">true</item>
  599. <item name="divider">@null</item>
  600. <item name="gravity">fill_horizontal|center_vertical</item>
  601. <item name="tabLayout">@layout/tab_indicator</item>
  602. </style>
  603. <style name="Widget.Gallery">
  604. <item name="fadingEdge">none</item>
  605. <item name="gravity">center_vertical</item>
  606. <item name="spacing">-20dip</item>
  607. <item name="unselectedAlpha">0.85</item>
  608. </style>
  609. <style name="Widget.PopupWindow">
  610. <item name="popupBackground">@drawable/editbox_dropdown_background_dark</item>
  611. <item name="popupAnimationStyle">@style/Animation.PopupWindow</item>
  612. </style>
  613. <style name="Widget.KeyboardView" parent="Widget">
  614. <item name="background">@drawable/keyboard_background</item>
  615. <item name="keyBackground">@drawable/btn_keyboard_key</item>
  616. <item name="keyTextSize">22sp</item>
  617. <item name="keyTextColor">#FFFFFFFF</item>
  618. <item name="keyPreviewLayout">@layout/keyboard_key_preview</item>
  619. <item name="keyPreviewOffset">-12dip</item>
  620. <item name="keyPreviewHeight">80dip</item>
  621. <item name="labelTextSize">14sp</item>
  622. <item name="popupLayout">@layout/keyboard_popup_keyboard</item>
  623. <item name="verticalCorrection">-10dip</item>
  624. <item name="shadowColor">#BB000000</item>
  625. <item name="shadowRadius">2.75</item>
  626. </style>
  627. <style name="Widget.GenericQuickContactBadge">
  628. <item name="background">@null</item>
  629. <item name="clickable">true</item>
  630. <item name="scaleType">fitCenter</item>
  631. <item name="src">@drawable/ic_contact_picture</item>
  632. </style>
  633. <style name="Widget.QuickContactBadge" parent="Widget.GenericQuickContactBadge">
  634. <item name="layout_width">64dip</item>
  635. <item name="layout_height">64dip</item>
  636. </style>
  637. <style name="Widget.QuickContactBadgeSmall" parent="Widget.GenericQuickContactBadge">
  638. <item name="layout_width">40dip</item>
  639. <item name="layout_height">40dip</item>
  640. </style>
  641. <style name="Widget.QuickContactBadge.WindowSmall">
  642. <item name="quickContactWindowSize">modeSmall</item>
  643. </style>
  644. <style name="Widget.QuickContactBadge.WindowMedium">
  645. <item name="quickContactWindowSize">modeMedium</item>
  646. </style>
  647. <style name="Widget.QuickContactBadge.WindowLarge">
  648. <item name="quickContactWindowSize">modeLarge</item>
  649. </style>
  650. <style name="Widget.QuickContactBadgeSmall.WindowSmall">
  651. <item name="quickContactWindowSize">modeSmall</item>
  652. </style>
  653. <style name="Widget.QuickContactBadgeSmall.WindowMedium">
  654. <item name="quickContactWindowSize">modeMedium</item>
  655. </style>
  656. <style name="Widget.QuickContactBadgeSmall.WindowLarge">
  657. <item name="quickContactWindowSize">modeLarge</item>
  658. </style>
  659. <style name="Widget.CompoundButton.Switch">
  660. <item name="textOn">@string/capital_on</item>
  661. <item name="textOff">@string/capital_off</item>
  662. </style>
  663. <!-- Text Appearances -->
  664. <eat-comment />
  665. <style name="TextAppearance">
  666. <item name="textColor">?textColorPrimary</item>
  667. <item name="textColorHighlight">?textColorHighlight</item>
  668. <item name="textColorHint">?textColorHint</item>
  669. <item name="textColorLink">?textColorLink</item>
  670. <item name="textSize">16sp</item>
  671. <item name="textStyle">normal</item>
  672. </style>
  673. <style name="TextAppearance.Inverse">
  674. <item name="textColor">?textColorPrimaryInverse</item>
  675. <item name="textColorHint">?textColorHintInverse</item>
  676. <item name="textColorHighlight">?textColorHighlightInverse</item>
  677. <item name="textColorLink">?textColorLinkInverse</item>
  678. </style>
  679. <style name="TextAppearance.Theme">
  680. </style>
  681. <style name="TextAppearance.DialogWindowTitle">
  682. <item name="textSize">18sp</item>
  683. </style>
  684. <style name="TextAppearance.Large">
  685. <item name="textSize">22sp</item>
  686. </style>
  687. <style name="TextAppearance.Large.Inverse">
  688. <item name="textColor">?textColorPrimaryInverse</item>
  689. <item name="textColorHint">?textColorHintInverse</item>
  690. <item name="textColorHighlight">?textColorHighlightInverse</item>
  691. <item name="textColorLink">?textColorLinkInverse</item>
  692. </style>
  693. <style name="TextAppearance.Medium">
  694. <item name="textSize">18sp</item>
  695. </style>
  696. <style name="TextAppearance.Medium.Inverse">
  697. <item name="textColor">?textColorPrimaryInverse</item>
  698. <item name="textColorHint">?textColorHintInverse</item>
  699. <item name="textColorHighlight">?textColorHighlightInverse</item>
  700. <item name="textColorLink">?textColorLinkInverse</item>
  701. </style>
  702. <style name="TextAppearance.Small">
  703. <item name="textSize">14sp</item>
  704. <item name="textColor">?textColorSecondary</item>
  705. </style>
  706. <style name="TextAppearance.Small.Inverse">
  707. <item name="textColor">?textColorSecondaryInverse</item>
  708. <item name="textColorHint">?textColorHintInverse</item>
  709. <item name="textColorHighlight">?textColorHighlightInverse</item>
  710. <item name="textColorLink">?textColorLinkInverse</item>
  711. </style>
  712. <style name="TextAppearance.Theme.Dialog" parent="TextAppearance.Theme" />
  713. <style name="TextAppearance.Widget" />
  714. <style name="TextAppearance.Widget.Button" parent="TextAppearance.Small.Inverse">
  715. <item name="textColor">@color/primary_text_light_nodisable</item>
  716. </style>
  717. <style name="TextAppearance.Widget.IconMenu.Item" parent="TextAppearance.Small">
  718. <item name="textColor">?textColorPrimary</item>
  719. <!-- dp is used on purpose here instead of sp; there is not space
  720. for larger font sizes based on the user setting. Newer apps
  721. should not receive the legacy icon menu panel. -->
  722. <item name="textSize">14dp</item>
  723. </style>
  724. <style name="TextAppearance.Widget.EditText">
  725. <item name="textColor">@color/widget_edittext_dark</item>
  726. <item name="textColorHint">@color/hint_foreground_light</item>
  727. </style>
  728. <style name="TextAppearance.Widget.TabWidget">
  729. <item name="textSize">14sp</item>
  730. <item name="textStyle">normal</item>
  731. <item name="textColor">@color/tab_indicator_text</item>
  732. </style>
  733. <style name="TextAppearance.Widget.TextView">
  734. <item name="textColor">?textColorPrimaryDisableOnly</item>
  735. <item name="textColorHint">?textColorHint</item>
  736. </style>
  737. <style name="TextAppearance.Widget.TextView.PopupMenu">
  738. <item name="textSize">18sp</item>
  739. <item name="textColor">?textColorPrimaryDisableOnly</item>
  740. <item name="textColorHint">?textColorHint</item>
  741. </style>
  742. <style name="TextAppearance.Widget.DropDownHint">
  743. <item name="textColor">?textColorPrimaryInverse</item>
  744. <item name="textSize">14sp</item>
  745. </style>
  746. <style name="TextAppearance.Widget.DropDownItem">
  747. <item name="textColor">@color/primary_text_light_disable_only</item>
  748. </style>
  749. <style name="TextAppearance.Widget.TextView.SpinnerItem">
  750. <item name="textColor">@color/primary_text_light_disable_only</item>
  751. </style>
  752. <!-- @hide -->
  753. <style name="TextAppearance.SlidingTabNormal" parent="TextAppearance.Medium">
  754. <item name="textColor">?attr/textColorTertiary</item>
  755. <item name="textSize">28sp</item>
  756. <item name="shadowColor">@color/sliding_tab_text_color_shadow</item>
  757. <item name="shadowDx">0.0</item>
  758. <item name="shadowDy">1.0</item>
  759. <item name="shadowRadius">5.0</item>
  760. </style>
  761. <!-- @hide -->
  762. <style name="TextAppearance.SlidingTabActive" parent="TextAppearance.Medium">
  763. <item name="textColor">@color/sliding_tab_text_color_active</item>
  764. <item name="textSize">28sp</item>
  765. </style>
  766. <!-- @hide -->
  767. <style name="TextAppearance.SearchResult">
  768. <item name="textStyle">normal</item>
  769. <item name="textColor">?textColorPrimaryInverse</item>
  770. <item name="textColorHint">?textColorHintInverse</item>
  771. </style>
  772. <!-- @hide -->
  773. <style name="TextAppearance.SearchResult.Title">
  774. <item name="textSize">18sp</item>
  775. </style>
  776. <!-- @hide -->
  777. <style name="TextAppearance.SearchResult.Subtitle">
  778. <item name="textSize">14sp</item>
  779. <item name="textColor">?textColorSecondaryInverse</item>
  780. </style>
  781. <style name="TextAppearance.WindowTitle">
  782. <item name="textColor">#fff</item>
  783. <item name="textSize">14sp</item>
  784. <item name="textStyle">bold</item>
  785. </style>
  786. <style name="TextAppearance.Large.Inverse.NumberPickerInputText">
  787. <item name="textColor">@color/primary_text_light</item>
  788. <item name="textSize">30sp</item>
  789. </style>
  790. <style name="TextAppearance.Toast">
  791. <item name="fontFamily">sans-serif-condensed</item>
  792. </style>
  793. <style name="Widget.ActivityChooserView">
  794. <item name="gravity">center</item>
  795. <item name="background">@drawable/ab_share_pack_holo_dark</item>
  796. <item name="divider">?attr/dividerVertical</item>
  797. <item name="showDividers">middle</item>
  798. <item name="dividerPadding">6dip</item>
  799. </style>
  800. <style name="TextAppearance.SuggestionHighlight">
  801. <item name="textSize">18sp</item>
  802. <item name="textColor">@color/suggestion_highlight_text</item>
  803. </style>
  804. <!-- Preference Styles -->
  805. <style name="Preference">
  806. <item name="layout">@layout/preference</item>
  807. </style>
  808. <style name="PreferenceFragment">
  809. <item name="layout">@layout/preference_list_fragment</item>
  810. <item name="paddingStart">0dp</item>
  811. <item name="paddingEnd">0dp</item>
  812. </style>
  813. <style name="PreferenceActivity">
  814. <item name="layout">@layout/preference_list_content</item>
  815. <item name="headerLayout">@layout/preference_header_item</item>
  816. <item name="headerRemoveIconIfEmpty">false</item>
  817. </style>
  818. <style name="Preference.Information">
  819. <item name="layout">@layout/preference_information</item>
  820. <item name="enabled">false</item>
  821. <item name="shouldDisableView">false</item>
  822. </style>
  823. <style name="Preference.Category">
  824. <item name="layout">@layout/preference_category</item>
  825. <!-- The title should not dim if the category is disabled, instead only the preference children should dim. -->
  826. <item name="shouldDisableView">false</item>
  827. <item name="selectable">false</item>
  828. </style>
  829. <style name="Preference.CheckBoxPreference">
  830. <item name="widgetLayout">@layout/preference_widget_checkbox</item>
  831. </style>
  832. <style name="Preference.SwitchPreference">
  833. <item name="widgetLayout">@layout/preference_widget_switch</item>
  834. <item name="switchTextOn">@string/capital_on</item>
  835. <item name="switchTextOff">@string/capital_off</item>
  836. </style>
  837. <style name="Preference.SeekBarPreference">
  838. <item name="layout">@layout/preference_widget_seekbar</item>
  839. </style>
  840. <style name="Preference.PreferenceScreen">
  841. </style>
  842. <style name="Preference.DialogPreference">
  843. <item name="positiveButtonText">@string/ok</item>
  844. <item name="negativeButtonText">@string/cancel</item>
  845. </style>
  846. <style name="Preference.DialogPreference.YesNoPreference">
  847. <item name="positiveButtonText">@string/yes</item>
  848. <item name="negativeButtonText">@string/no</item>
  849. </style>
  850. <style name="Preference.DialogPreference.EditTextPreference">
  851. <item name="dialogLayout">@layout/preference_dialog_edittext</item>
  852. </style>
  853. <style name="Preference.RingtonePreference">
  854. <item name="ringtoneType">ringtone</item>
  855. <item name="showSilent">true</item>
  856. <item name="showDefault">true</item>
  857. </style>
  858. <style name="Preference.Holo">
  859. <item name="layout">@layout/preference_holo</item>
  860. </style>
  861. <style name="PreferenceFragment.Holo">
  862. <item name="paddingStart">@dimen/preference_fragment_padding_side</item>
  863. <item name="paddingEnd">@dimen/preference_fragment_padding_side</item>
  864. </style>
  865. <style name="Preference.Holo.Information">
  866. <item name="layout">@layout/preference_information_holo</item>
  867. <item name="enabled">false</item>
  868. <item name="shouldDisableView">false</item>
  869. </style>
  870. <style name="Preference.Holo.Category">
  871. <item name="layout">@layout/preference_category_holo</item>
  872. <!-- The title should not dim if the category is disabled, instead only the preference children should dim. -->
  873. <item name="shouldDisableView">false</item>
  874. <item name="selectable">false</item>
  875. </style>
  876. <style name="Preference.Holo.CheckBoxPreference">
  877. <item name="widgetLayout">@layout/preference_widget_checkbox</item>
  878. </style>
  879. <style name="Preference.Holo.SwitchPreference">
  880. <item name="widgetLayout">@layout/preference_widget_switch</item>
  881. <item name="switchTextOn">@string/capital_on</item>
  882. <item name="switchTextOff">@string/capital_off</item>
  883. </style>
  884. <style name="Preference.Holo.SeekBarPreference">
  885. <item name="layout">@layout/preference_widget_seekbar</item>
  886. </style>
  887. <style name="Preference.Holo.PreferenceScreen">
  888. </style>
  889. <style name="Preference.Holo.DialogPreference">
  890. <item name="positiveButtonText">@string/ok</item>
  891. <item name="negativeButtonText">@string/cancel</item>
  892. </style>
  893. <style name="Preference.Holo.DialogPreference.YesNoPreference">
  894. <item name="positiveButtonText">@string/yes</item>
  895. <item name="negativeButtonText">@string/no</item>
  896. </style>
  897. <style name="Preference.Holo.DialogPreference.EditTextPreference">
  898. <item name="dialogLayout">@layout/preference_dialog_edittext</item>
  899. </style>
  900. <style name="Preference.Holo.RingtonePreference">
  901. <item name="ringtoneType">ringtone</item>
  902. <item name="showSilent">true</item>
  903. <item name="showDefault">true</item>
  904. </style>
  905. <!-- No margins or background by default. Could be different for x-large screens -->
  906. <style name="PreferencePanel">
  907. </style>
  908. <!-- The attributes are overridden here because the x-large or large resources may have
  909. changed the margins and background in the parent PreferencePanel style. -->
  910. <style name="PreferencePanel.Dialog">
  911. <item name="layout_marginStart">0dip</item>
  912. <item name="layout_marginEnd">0dip</item>
  913. <item name="layout_marginTop">0dip</item>
  914. <item name="layout_marginBottom">0dip</item>
  915. <item name="background">@null</item>
  916. </style>
  917. <style name="PreferenceHeaderPanel">
  918. <item name="layout_marginStart">@dimen/preference_screen_side_margin</item>
  919. <item name="layout_marginEnd">@dimen/preference_screen_side_margin_negative</item>
  920. <item name="paddingTop">@dimen/preference_screen_header_vertical_padding</item>
  921. <item name="paddingBottom">@dimen/preference_screen_header_vertical_padding</item>
  922. </style>
  923. <style name="PreferenceHeaderList">
  924. <item name="paddingStart">@dimen/preference_screen_header_padding_side</item>
  925. <item name="paddingEnd">@dimen/preference_screen_header_padding_side</item>
  926. <item name="scrollbarStyle">@integer/preference_screen_header_scrollbarStyle</item>
  927. </style>
  928. <style name="PreferenceFragmentList">
  929. <item name="paddingStart">@dimen/preference_fragment_padding_side</item>
  930. <item name="paddingEnd">@dimen/preference_fragment_padding_side</item>
  931. </style>
  932. <!-- Other Misc Styles -->
  933. <eat-comment />
  934. <style name="MediaButton">
  935. <item name="background">@null</item>
  936. <item name="layout_width">71dip</item>
  937. <item name="layout_height">52dip</item>
  938. </style>
  939. <style name="MediaButton.Previous">
  940. <item name="src">@drawable/ic_media_previous</item>
  941. <item name="contentDescription">@string/lockscreen_transport_prev_description</item>
  942. </style>
  943. <style name="MediaButton.Next">
  944. <item name="src">@drawable/ic_media_next</item>
  945. <item name="contentDescription">@string/lockscreen_transport_next_description</item>
  946. </style>
  947. <style name="MediaButton.Play">
  948. <item name="src">@drawable/ic_media_play</item>
  949. <item name="contentDescription">@string/lockscreen_transport_play_description</item>
  950. </style>
  951. <style name="MediaButton.Ffwd">
  952. <item name="src">@drawable/ic_media_ff</item>
  953. <item name="contentDescription">@string/lockscreen_transport_ffw_description</item>
  954. </style>
  955. <style name="MediaButton.Rew">
  956. <item name="src">@drawable/ic_media_rew</item>
  957. <item name="contentDescription">@string/lockscreen_transport_rew_description</item>
  958. </style>
  959. <style name="MediaButton.Pause">
  960. <item name="src">@drawable/ic_media_pause</item>
  961. <item name="contentDescription">@string/lockscreen_transport_pause_description</item>
  962. </style>
  963. <style name="ZoomControls">
  964. <item name="gravity">bottom</item>
  965. <item name="paddingStart">15dip</item>
  966. <item name="paddingEnd">15dip</item>
  967. </style>
  968. <!-- Style you can use with a container (typically a horizontal
  969. LinearLayout) to get the standard "button bar" background and
  970. spacing. @hide -->
  971. <style name="ButtonBar">
  972. <item name="paddingTop">5dip</item>
  973. <item name="paddingStart">4dip</item>
  974. <item name="paddingEnd">4dip</item>
  975. <item name="paddingBottom">1dip</item>
  976. <item name="background">@drawable/bottom_bar</item>
  977. </style>
  978. <!-- Style you can use with a container (typically a horizontal
  979. LinearLayout) to get a "segmented button" background and spacing. -->
  980. <style name="SegmentedButton">
  981. <item name="background">@drawable/btn_default</item>
  982. <item name="divider">?attr/dividerVertical</item>
  983. <item name="showDividers">middle</item>
  984. </style>
  985. <!-- Style for the small popup windows that contain text selection anchors. -->
  986. <style name="Widget.TextSelectHandle">
  987. <item name="popupAnimationStyle">@style/Animation.TextSelectHandle</item>
  988. </style>
  989. <!-- Style for animating text selection handles. -->
  990. <style name="Animation.TextSelectHandle">
  991. <item name="windowEnterAnimation">@anim/fast_fade_in</item>
  992. <item name="windowExitAnimation">@anim/fast_fade_out</item>
  993. </style>
  994. <!-- Style for the popup window that contains text suggestions. -->
  995. <style name="Widget.TextSuggestionsPopupWindow">
  996. <item name="dropDownSelector">@drawable/list_selector_background</item>
  997. <item name="popupBackground">@drawable/text_edit_suggestions_window</item>
  998. <item name="dropDownWidth">wrap_content</item>
  999. </style>
  1000. <style name="Widget.ActionBar">
  1001. <item name="background">@drawable/action_bar_background</item>
  1002. <item name="displayOptions">useLogo|showHome|showTitle</item>
  1003. <item name="divider">@drawable/action_bar_divider</item>
  1004. <item name="height">?attr/actionBarSize</item>
  1005. <item name="paddingStart">0dip</item>
  1006. <item name="paddingTop">0dip</item>
  1007. <item name="paddingEnd">0dip</item>
  1008. <item name="paddingBottom">0dip</item>
  1009. <item name="titleTextStyle">@style/TextAppearance.Widget.ActionBar.Title</item>
  1010. <item name="subtitleTextStyle">@style/TextAppearance.Widget.ActionBar.Subtitle</item>
  1011. <item name="progressBarStyle">@style/Widget.ProgressBar.Horizontal</item>
  1012. <item name="indeterminateProgressStyle">@style/Widget.ProgressBar.Small</item>
  1013. <item name="homeLayout">@layout/action_bar_home</item>
  1014. </style>
  1015. <style name="Widget.ActionMode">
  1016. <item name="background">?attr/actionModeBackground</item>
  1017. <item name="backgroundSplit">?attr/actionModeSplitBackground</item>
  1018. <item name="height">?attr/actionBarSize</item>
  1019. <item name="titleTextStyle">@style/TextAppearance.Widget.ActionMode.Title</item>
  1020. <item name="subtitleTextStyle">@style/TextAppearance.Widget.ActionMode.Subtitle</item>
  1021. </style>
  1022. <style name="Widget.Toolbar">
  1023. <item name="titleTextAppearance">@style/TextAppearance.Widget.Toolbar.Title</item>
  1024. <item name="subtitleTextAppearance">@style/TextAppearance.Widget.Toolbar.Subtitle</item>
  1025. <item name="minHeight">?attr/actionBarSize</item>
  1026. <item name="titleMargins">4dp</item>
  1027. <item name="maxButtonHeight">56dp</item>
  1028. <item name="buttonGravity">top</item>
  1029. <item name="navigationButtonStyle">@style/Widget.Toolbar.Button.Navigation</item>
  1030. <item name="collapseIcon">?attr/homeAsUpIndicator</item>
  1031. <item name="collapseContentDescription">@string/toolbar_collapse_description</item>
  1032. <item name="contentInsetStart">16dp</item>
  1033. <item name="touchscreenBlocksFocus">true</item>
  1034. </style>
  1035. <style name="Widget.Toolbar.Button.Navigation" parent="Widget">
  1036. <item name="background">?attr/selectableItemBackground</item>
  1037. <item name="minWidth">56dp</item>
  1038. <item name="scaleType">center</item>
  1039. </style>
  1040. <style name="TextAppearance.Widget.ActionBar.Title" parent="TextAppearance.Medium">
  1041. </style>
  1042. <style name="TextAppearance.Widget.ActionBar.Subtitle" parent="TextAppearance.Small">
  1043. </style>
  1044. <style name="TextAppearance.Widget.ActionMode.Title" parent="TextAppearance.Medium">
  1045. </style>
  1046. <style name="TextAppearance.Widget.ActionMode.Subtitle" parent="TextAppearance.Small">
  1047. <item name="textColor">?attr/textColorSecondary</item>
  1048. </style>
  1049. <style name="TextAppearance.Widget.Toolbar.Title" parent="TextAppearance.Widget.ActionBar.Title">
  1050. </style>
  1051. <style name="TextAppearance.Widget.Toolbar.Subtitle" parent="TextAppearance.Widget.ActionBar.Subtitle">
  1052. </style>
  1053. <style name="Widget.ActionButton">
  1054. <item name="background">?attr/actionBarItemBackground</item>
  1055. <item name="paddingStart">12dip</item>
  1056. <item name="paddingEnd">12dip</item>
  1057. <item name="minWidth">@dimen/action_button_min_width</item>
  1058. <item name="minHeight">?attr/actionBarSize</item>
  1059. <item name="gravity">center</item>
  1060. <item name="maxLines">2</item>
  1061. </style>
  1062. <style name="Widget.ActionButton.Overflow">
  1063. <item name="src">@drawable/ic_menu_more</item>
  1064. <item name="contentDescription">@string/action_menu_overflow_description</item>
  1065. </style>
  1066. <style name="Widget.ActionButton.CloseMode">
  1067. </style>
  1068. <style name="Widget.ActionBar.TabView" parent="Widget">
  1069. <item name="gravity">center_horizontal</item>
  1070. <item name="background">@drawable/minitab_lt</item>
  1071. <item name="paddingStart">4dip</item>
  1072. <item name="paddingEnd">4dip</item>
  1073. </style>
  1074. <style name="Widget.ActionBar.TabBar" parent="Widget">
  1075. </style>
  1076. <style name="Widget.ActionBar.TabText" parent="Widget">
  1077. <item name="textAppearance">@style/TextAppearance.Widget.TextView.PopupMenu</item>
  1078. <item name="textColor">?attr/textColorPrimaryInverse</item>
  1079. <item name="textSize">18sp</item>
  1080. </style>
  1081. <style name="Widget.ListPopupWindow">
  1082. <item name="dropDownSelector">@drawable/list_selector_background</item>
  1083. <item name="popupBackground">@drawable/spinner_dropdown_background</item>
  1084. <item name="dropDownVerticalOffset">-10dip</item>
  1085. <item name="dropDownHorizontalOffset">0dip</item>
  1086. <item name="dropDownWidth">wrap_content</item>
  1087. </style>
  1088. <style name="Widget.PopupMenu" parent="Widget.ListPopupWindow">
  1089. </style>
  1090. <style name="TextAppearance.Widget.PopupMenu">
  1091. <item name="textColor">@color/primary_text_light</item>
  1092. <item name="textColorHint">@color/hint_foreground_light</item>
  1093. <item name="textColorHighlight">@color/highlighted_text_light</item>
  1094. <item name="textColorLink">@color/link_text_light</item>
  1095. </style>
  1096. <style name="TextAppearance.Widget.PopupMenu.Large">
  1097. <item name="textSize">22sp</item>
  1098. </style>
  1099. <style name="TextAppearance.Widget.PopupMenu.Small">
  1100. <item name="textSize">14sp</item>
  1101. <item name="textColor">@color/secondary_text_light</item>
  1102. </style>
  1103. <!-- Pointer styles -->
  1104. <style name="Pointer">
  1105. <item name="pointerIconArrow">@drawable/pointer_arrow_icon</item>
  1106. <item name="pointerIconSpotHover">@drawable/pointer_spot_hover_icon</item>
  1107. <item name="pointerIconSpotTouch">@drawable/pointer_spot_touch_icon</item>
  1108. <item name="pointerIconSpotAnchor">@drawable/pointer_spot_anchor_icon</item>
  1109. </style>
  1110. <!-- Wifi dialog styles -->
  1111. <!-- @hide -->
  1112. <style name="wifi_item">
  1113. <item name="layout_width">200dip</item>
  1114. <item name="layout_height">wrap_content</item>
  1115. <item name="layout_marginTop">8dip</item>
  1116. <item name="layout_marginStart">16dip</item>
  1117. <item name="layout_marginEnd">16dip</item>
  1118. <item name="orientation">vertical</item>
  1119. <item name="gravity">start</item>
  1120. </style>
  1121. <!-- @hide -->
  1122. <style name="wifi_item_label">
  1123. <item name="layout_width">wrap_content</item>
  1124. <item name="layout_height">wrap_content</item>
  1125. <item name="textSize">14sp</item>
  1126. </style>
  1127. <!-- @hide -->
  1128. <style name="wifi_item_content">
  1129. <item name="layout_width">match_parent</item>
  1130. <item name="layout_height">wrap_content</item>
  1131. <item name="textSize">18sp</item>
  1132. </style>
  1133. <!-- @hide -->
  1134. <style name="wifi_section">
  1135. <item name="layout_width">match_parent</item>
  1136. <item name="layout_height">wrap_content</item>
  1137. <item name="orientation">vertical</item>
  1138. </style>
  1139. <style name="Widget.FastScroll">
  1140. <item name="thumbDrawable">?attr/fastScrollThumbDrawable</item>
  1141. <item name="trackDrawable">?attr/fastScrollTrackDrawable</item>
  1142. <item name="backgroundLeft">?attr/fastScrollPreviewBackgroundLeft</item>
  1143. <item name="backgroundRight">?attr/fastScrollPreviewBackgroundRight</item>
  1144. <item name="position">?attr/fastScrollOverlayPosition</item>
  1145. <item name="textColor">?attr/fastScrollTextColor</item>
  1146. <item name="thumbMinWidth">64dp</item>
  1147. <item name="thumbMinHeight">52dp</item>
  1148. <item name="textSize">52sp</item>
  1149. <item name="minWidth">72dp</item>
  1150. <item name="minHeight">72dp</item>
  1151. <item name="padding">16dp</item>
  1152. </style>
  1153. </resources>