Adam Lesinski | f90f2f8d | 2014-06-06 14:27:00 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
Adam Lesinski | 6029319 | 2014-10-21 18:36:42 -0700 | [diff] [blame] | 2 | <!-- Copyright (C) 2014 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 | |
Adam Lesinski | f90f2f8d | 2014-06-06 14:27:00 -0700 | [diff] [blame] | 17 | <resources> |
Adam Lesinski | 351471f9 | 2016-12-12 14:08:13 -0800 | [diff] [blame] | 18 | <public type="attr" name="attr1" id="0x7f010000" /> |
Adam Lesinski | f90f2f8d | 2014-06-06 14:27:00 -0700 | [diff] [blame] | 19 | <attr name="attr1" format="reference|integer" /> |
Adam Lesinski | 351471f9 | 2016-12-12 14:08:13 -0800 | [diff] [blame] | 20 | |
| 21 | <public type="attr" name="attr2" id="0x7f010001" /> |
Adam Lesinski | f90f2f8d | 2014-06-06 14:27:00 -0700 | [diff] [blame] | 22 | <attr name="attr2" format="reference|integer" /> |
| 23 | |
Adam Lesinski | 351471f9 | 2016-12-12 14:08:13 -0800 | [diff] [blame] | 24 | <public type="layout" name="main" id="0x7f020000" /> |
| 25 | |
| 26 | <public type="string" name="test1" id="0x7f030000" /> |
Adam Lesinski | f90f2f8d | 2014-06-06 14:27:00 -0700 | [diff] [blame] | 27 | <string name="test1">test1</string> |
Adam Lesinski | 351471f9 | 2016-12-12 14:08:13 -0800 | [diff] [blame] | 28 | |
| 29 | <public type="string" name="test2" id="0x7f030001" /> |
Adam Lesinski | f90f2f8d | 2014-06-06 14:27:00 -0700 | [diff] [blame] | 30 | <string name="test2">test2</string> |
| 31 | |
Adam Lesinski | 351471f9 | 2016-12-12 14:08:13 -0800 | [diff] [blame] | 32 | <public type="string" name="density" id="0x7f030002" /> |
| 33 | |
| 34 | <public type="integer" name="number1" id="0x7f040000" /> |
Adam Lesinski | f90f2f8d | 2014-06-06 14:27:00 -0700 | [diff] [blame] | 35 | <integer name="number1">200</integer> |
Adam Lesinski | 351471f9 | 2016-12-12 14:08:13 -0800 | [diff] [blame] | 36 | |
| 37 | <public type="integer" name="number2" id="0x7f040001" /> |
Adam Lesinski | f90f2f8d | 2014-06-06 14:27:00 -0700 | [diff] [blame] | 38 | <integer name="number2">@array/integerArray1</integer> |
| 39 | |
Adam Lesinski | 0c40524 | 2017-01-13 20:47:26 -0800 | [diff] [blame] | 40 | <public type="integer" name="ref1" id="0x7f040002" /> |
| 41 | <integer name="ref1">@integer/ref2</integer> |
| 42 | |
| 43 | <public type="integer" name="ref2" id="0x7f040003" /> |
| 44 | <integer name="ref2">12000</integer> |
| 45 | |
Adam Lesinski | 351471f9 | 2016-12-12 14:08:13 -0800 | [diff] [blame] | 46 | <public type="style" name="Theme1" id="0x7f050000" /> |
Adam Lesinski | f90f2f8d | 2014-06-06 14:27:00 -0700 | [diff] [blame] | 47 | <style name="Theme1"> |
Adam Lesinski | 4c67a47 | 2016-11-10 16:43:59 -0800 | [diff] [blame] | 48 | <item name="com.android.basic:attr1">100</item> |
| 49 | <item name="com.android.basic:attr2">@integer/number1</item> |
Adam Lesinski | f90f2f8d | 2014-06-06 14:27:00 -0700 | [diff] [blame] | 50 | </style> |
| 51 | |
Adam Lesinski | 351471f9 | 2016-12-12 14:08:13 -0800 | [diff] [blame] | 52 | <public type="style" name="Theme2" id="0x7f050001" /> |
Adam Lesinski | 4c67a47 | 2016-11-10 16:43:59 -0800 | [diff] [blame] | 53 | <style name="Theme2" parent="@com.android.basic:style/Theme1"> |
| 54 | <item name="com.android.basic:attr1">300</item> |
Adam Lesinski | f90f2f8d | 2014-06-06 14:27:00 -0700 | [diff] [blame] | 55 | </style> |
| 56 | |
Adam Lesinski | 351471f9 | 2016-12-12 14:08:13 -0800 | [diff] [blame] | 57 | <public type="array" name="integerArray1" id="0x7f060000" /> |
Adam Lesinski | f90f2f8d | 2014-06-06 14:27:00 -0700 | [diff] [blame] | 58 | <integer-array name="integerArray1"> |
| 59 | <item>1</item> |
| 60 | <item>2</item> |
| 61 | <item>3</item> |
| 62 | </integer-array> |
Adam Lesinski | a974382 | 2017-12-18 17:20:41 -0800 | [diff] [blame] | 63 | |
| 64 | <overlayable> |
| 65 | <item type="string" name="test2" /> |
| 66 | <item type="array" name="integerArray1" /> |
| 67 | </overlayable> |
Adam Lesinski | f90f2f8d | 2014-06-06 14:27:00 -0700 | [diff] [blame] | 68 | </resources> |