Scott Su | 2973dea | 2009-04-08 21:04:22 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2008 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 | |
Alan Viverette | a823cdb | 2014-01-06 15:14:47 -0800 | [diff] [blame] | 17 | <resources xmlns:android="http://schemas.android.com/apk/res/android"> |
Scott Su | 2973dea | 2009-04-08 21:04:22 -0700 | [diff] [blame] | 18 | |
| 19 | <style name="Whatever"> |
| 20 | <item name="type1">true</item> |
| 21 | <item name="type2">false</item> |
| 22 | <item name="type3">#ff0000ff</item> |
| 23 | <item name="type4">#ff00ff00</item> |
Scott Su | 17a8617 | 2009-04-23 22:12:51 -0700 | [diff] [blame] | 24 | <item name="type5">0.75px</item> |
| 25 | <item name="type6">10px</item> |
| 26 | <item name="type7">18px</item> |
Scott Su | 2973dea | 2009-04-08 21:04:22 -0700 | [diff] [blame] | 27 | <item name="type8">@drawable/pass</item> |
| 28 | <item name="type9">3.14</item> |
| 29 | <item name="type10">100%</item> |
| 30 | <item name="type11">365</item> |
| 31 | <item name="type12">86400</item> |
| 32 | <item name="type13">@string/hello_android</item> |
| 33 | <item name="type14">TypedArray Test!</item> |
| 34 | <item name="type15">@array/difficultyLevel</item> |
| 35 | <item name="type16">Typed Value!</item> |
| 36 | </style> |
| 37 | |
| 38 | <style name="TextViewWithoutColorAndAppearance"> |
| 39 | <item name="android:textSize">18sp</item> |
| 40 | </style> |
| 41 | |
| 42 | <style name="TextViewWithColorButWithOutAppearance"> |
| 43 | <item name="android:textColor">#ff0000ff</item> |
| 44 | </style> |
| 45 | |
| 46 | <style name="TextViewWithColorAndAppearance"> |
| 47 | <item name="android:textColor">#ff0000ff</item> |
| 48 | <item name="android:textAppearance">@style/TextAppearance.WithColor</item> |
| 49 | </style> |
| 50 | |
| 51 | <style name="TextViewWithoutColorButWithAppearance"> |
| 52 | <item name="android:textAppearance">@style/TextAppearance.WithColor</item> |
| 53 | </style> |
| 54 | |
| 55 | <style name="TextAppearance" parent="android:TextAppearance"> |
| 56 | </style> |
| 57 | |
| 58 | <style name="TextAppearance.WithColor"> |
| 59 | <item name="android:textColor">#ffff0000</item> |
| 60 | </style> |
| 61 | |
| 62 | <style name="TextAppearance.All"> |
| 63 | <item name="android:textColor">@drawable/black</item> |
| 64 | <item name="android:textSize">20px</item> |
| 65 | <item name="android:textStyle">bold</item> |
| 66 | <item name="android:textColorHint">@drawable/red</item> |
| 67 | <item name="android:textColorLink">@drawable/blue</item> |
| 68 | <item name="android:textColorHighlight">@drawable/yellow</item> |
| 69 | </style> |
| 70 | |
| 71 | <style name="TextAppearance.Colors"> |
| 72 | <item name="android:textColor">@drawable/black</item> |
| 73 | <item name="android:textColorHint">@drawable/blue</item> |
| 74 | <item name="android:textColorLink">@drawable/yellow</item> |
| 75 | <item name="android:textColorHighlight">@drawable/red</item> |
| 76 | </style> |
| 77 | |
| 78 | <style name="TextAppearance.NotColors"> |
| 79 | <item name="android:textSize">17px</item> |
| 80 | <item name="android:typeface">sans</item> |
| 81 | <item name="android:textStyle">normal</item> |
| 82 | </style> |
| 83 | |
| 84 | <style name="TextAppearance.Style"> |
| 85 | <item name="android:textStyle">normal</item> |
| 86 | </style> |
| 87 | |
| 88 | <style name="TestEnum1"> |
| 89 | <item name="testEnum">val1</item> |
| 90 | </style> |
| 91 | |
| 92 | <style name="TestEnum2"> |
| 93 | <item name="testEnum">val2</item> |
| 94 | </style> |
| 95 | |
| 96 | <style name="TestEnum10"> |
| 97 | <item name="testEnum">val10</item> |
| 98 | </style> |
| 99 | |
| 100 | <style name="TestFlag1"> |
| 101 | <item name="testFlags">bit1</item> |
| 102 | </style> |
| 103 | |
| 104 | <style name="TestFlag2"> |
| 105 | <item name="testFlags">bit2</item> |
| 106 | </style> |
| 107 | |
| 108 | <style name="TestFlag31"> |
| 109 | <item name="testFlags">bit31</item> |
| 110 | </style> |
| 111 | |
| 112 | <style name="TestFlag1And2"> |
| 113 | <item name="testFlags">bit1|bit2</item> |
| 114 | </style> |
| 115 | |
| 116 | <style name="TestFlag1And2And31"> |
| 117 | <item name="testFlags">bit1|bit2|bit31</item> |
| 118 | </style> |
| 119 | |
| 120 | <style name="TestEnum1.EmptyInherit" /> |
| 121 | |
| 122 | <style name="Theme_AlertDialog"> |
| 123 | <item name="android:textSize">18sp</item> |
| 124 | </style> |
| 125 | |
Phil Dubach | 72b705b | 2009-06-05 15:15:37 -0700 | [diff] [blame] | 126 | <style name="TestProgressBar"> |
| 127 | <item name="android:indeterminateOnly">false</item> |
| 128 | <item name="android:progressDrawable">?android:drawable/progress_horizontal</item> |
| 129 | <item name="android:indeterminateDrawable">?android:drawable/progress_horizontal</item> |
| 130 | <item name="android:minHeight">20dip</item> |
| 131 | <item name="android:maxHeight">20dip</item> |
| 132 | <item name="android:focusable">true</item> |
| 133 | </style> |
Phil Dubach | b59283e | 2009-07-21 14:45:09 -0700 | [diff] [blame] | 134 | |
| 135 | <style name="Test_Theme"> |
| 136 | <item name="android:windowNoTitle">true</item> |
| 137 | <item name="android:panelColorForeground">#ff000000</item> |
| 138 | <item name="android:panelColorBackground">#ffffffff</item> |
| 139 | </style> |
| 140 | |
Alan Viverette | a823cdb | 2014-01-06 15:14:47 -0800 | [diff] [blame] | 141 | <style name="Theme_OverrideOuter"> |
| 142 | <item name="themeType">1</item> |
| 143 | </style> |
| 144 | |
| 145 | <style name="Theme_OverrideInner"> |
| 146 | <item name="themeType">2</item> |
Alan Viverette | 89d350b | 2014-01-24 16:57:41 -0800 | [diff] [blame] | 147 | <item name="themeOverrideAttr">@style/Theme_OverrideAttr</item> |
| 148 | </style> |
| 149 | |
| 150 | <style name="Theme_OverrideAttr"> |
| 151 | <item name="themeType">3</item> |
Alan Viverette | a823cdb | 2014-01-06 15:14:47 -0800 | [diff] [blame] | 152 | </style> |
Alan Viverette | e48758a | 2014-03-24 17:55:39 -0700 | [diff] [blame] | 153 | |
| 154 | <style name="Theme_ThemedDrawableTest"> |
| 155 | <item name="themeBoolean">true</item> |
| 156 | <item name="themeColor">@android:color/black</item> |
| 157 | <item name="themeFloat">1.0</item> |
| 158 | <item name="themeAngle">45.0</item> |
| 159 | <item name="themeInteger">1</item> |
| 160 | <item name="themeDimension">1px</item> |
| 161 | <item name="themeDrawable">@drawable/icon_black</item> |
| 162 | <item name="themeBitmap">@drawable/icon_black</item> |
| 163 | <item name="themeNinePatch">@drawable/ninepatch_0</item> |
| 164 | <item name="themeGravity">48</item> |
| 165 | <item name="themeTileMode">2</item> |
| 166 | </style> |
Alan Viverette | a823cdb | 2014-01-06 15:14:47 -0800 | [diff] [blame] | 167 | |
Vinod Krishnan | d59ea5c | 2014-06-10 10:59:09 -0700 | [diff] [blame] | 168 | <style name="Theme_NoSwipeDismiss"> |
| 169 | <item name="android:windowSwipeToDismiss">false</item> |
| 170 | </style> |
| 171 | |
Scott Su | 2973dea | 2009-04-08 21:04:22 -0700 | [diff] [blame] | 172 | </resources> |