<resources>
<string name="app_name">MusicAndVideo
</string>
<color name="app_color">#fff
</color>
<dimen name="app_dimen">20sp
</dimen>
<bool name="app_bool">true
</bool>
<array name="app_array">
<item>1
</item>
<item>2
</item>
<item>3
</item>
</array>
<string-array name="app_string_array">
<item>1
</item>
<item>2
</item>
<item>3
</item>
</string-array>
</resources>
使用:context.getResources().getString、getColor。。。
转载于:https://www.cnblogs.com/YyuTtian/p/5440447.html