Created
March 10, 2015 06:23
-
-
Save entertainyou/511220435af5915d4caa to your computer and use it in GitHub Desktop.
demo code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# skins.xml | |
<?xml version="1.0" encoding="utf-8"?> | |
<resources> | |
<item type="skin" name="foo">10</item> | |
</resources> | |
# attrs.xml | |
<?xml version="1.0" encoding="utf-8"?> | |
<resources> | |
<declare-styleable name="Skin"> | |
<attr name="skin" format="enum"> | |
<enum name="white" value="0" /> | |
<enum name="green" value="1" /> | |
</attr> | |
</declare-styleable> | |
</resources> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment