1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2019 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 <attr format="string" name="leaf_attr"/> 19 <attr format="string" name="leaf_attr2"/> 20 21 <string name="leaf_string">I am a leaf</string> 22 23 <style name="LeafParentStyle"> 24 <item type="attr" name="leaf_attr"/> 25 <item type="attr" name="leaf_attr2"/> 26 </style> 27 28 <style name="LeafChildStyle" parent="LeafParentStyle"> 29 <item type="attr" name="leaf_attr2">hello</item> 30 </style> 31 32 <style name="LeafParentStyle.DottedChild"/> 33 34 <declare-styleable name="leaf_ds"> 35 <attr name="leaf_attr">hello</attr> 36 </declare-styleable> 37 38 <public type="attr" name="leaf_attr"/> 39 <public type="attr" name="leaf_attr2"/> 40 <public type="style" name="LeafParentStyle"/> 41 <public type="style" name="LeafChildStyle"/> 42 <public type="style" name="LeafParentStyle.DottedChild"/> 43</resources>