blob: 6c474596b5cd104112a330cd6fd96b046a32da4d [file] [log] [blame]
Adam Lesinskif90f2f8d2014-06-06 14:27:00 -07001<?xml version="1.0" encoding="utf-8"?>
Adam Lesinski60293192014-10-21 18:36:42 -07002<!-- 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 Lesinskif90f2f8d2014-06-06 14:27:00 -070017<resources>
Adam Lesinski351471f92016-12-12 14:08:13 -080018 <public type="attr" name="attr1" id="0x7f010000" />
Adam Lesinskif90f2f8d2014-06-06 14:27:00 -070019 <attr name="attr1" format="reference|integer" />
Adam Lesinski351471f92016-12-12 14:08:13 -080020
21 <public type="attr" name="attr2" id="0x7f010001" />
Adam Lesinskif90f2f8d2014-06-06 14:27:00 -070022 <attr name="attr2" format="reference|integer" />
23
Adam Lesinski351471f92016-12-12 14:08:13 -080024 <public type="layout" name="main" id="0x7f020000" />
25
26 <public type="string" name="test1" id="0x7f030000" />
Adam Lesinskif90f2f8d2014-06-06 14:27:00 -070027 <string name="test1">test1</string>
Adam Lesinski351471f92016-12-12 14:08:13 -080028
29 <public type="string" name="test2" id="0x7f030001" />
Adam Lesinskif90f2f8d2014-06-06 14:27:00 -070030 <string name="test2">test2</string>
31
Adam Lesinski351471f92016-12-12 14:08:13 -080032 <public type="string" name="density" id="0x7f030002" />
33
34 <public type="integer" name="number1" id="0x7f040000" />
Adam Lesinskif90f2f8d2014-06-06 14:27:00 -070035 <integer name="number1">200</integer>
Adam Lesinski351471f92016-12-12 14:08:13 -080036
37 <public type="integer" name="number2" id="0x7f040001" />
Adam Lesinskif90f2f8d2014-06-06 14:27:00 -070038 <integer name="number2">@array/integerArray1</integer>
39
Adam Lesinski0c405242017-01-13 20:47:26 -080040 <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 Lesinski351471f92016-12-12 14:08:13 -080046 <public type="style" name="Theme1" id="0x7f050000" />
Adam Lesinskif90f2f8d2014-06-06 14:27:00 -070047 <style name="Theme1">
Adam Lesinski4c67a472016-11-10 16:43:59 -080048 <item name="com.android.basic:attr1">100</item>
49 <item name="com.android.basic:attr2">@integer/number1</item>
Adam Lesinskif90f2f8d2014-06-06 14:27:00 -070050 </style>
51
Adam Lesinski351471f92016-12-12 14:08:13 -080052 <public type="style" name="Theme2" id="0x7f050001" />
Adam Lesinski4c67a472016-11-10 16:43:59 -080053 <style name="Theme2" parent="@com.android.basic:style/Theme1">
54 <item name="com.android.basic:attr1">300</item>
Adam Lesinskif90f2f8d2014-06-06 14:27:00 -070055 </style>
56
Adam Lesinski351471f92016-12-12 14:08:13 -080057 <public type="array" name="integerArray1" id="0x7f060000" />
Adam Lesinskif90f2f8d2014-06-06 14:27:00 -070058 <integer-array name="integerArray1">
59 <item>1</item>
60 <item>2</item>
61 <item>3</item>
62 </integer-array>
Adam Lesinskia9743822017-12-18 17:20:41 -080063
64 <overlayable>
65 <item type="string" name="test2" />
66 <item type="array" name="integerArray1" />
67 </overlayable>
Adam Lesinskif90f2f8d2014-06-06 14:27:00 -070068</resources>