Android Studio项目模板全面解析(32)





    <!-- from attrs.xml -->

    <declare-styleable name=

"customView"

>

        <attr name=

"customAttr"

 format=

"string"

 />

    </declare-styleable>



    <!-- from colors.xml -->

    <color name=

"colorPrimary"

>#

3F

51B5</color>



    <!-- from dimen.xml -->

    <dimen name=

"title_text_size"

>

16

sp</dimen>



    <!-- from strings.xml -->