styleable专题

Fix ionic/android build error in declare-styleable FontFamilyFont

完整报错信息 Error: /Users/**/platforms/android/gradlew: Command failed with exit code 1 Error output:ERROR: In <declare-styleable> FontFamilyFont, unable to find attribute android:fontVariationSettingsE

使用declare-styleable给自定义控件添加自定义属性

1.首先,先写attrs.xml<?xml version="1.0" encoding="utf-8"?><resources><declare-styleable name="TestAttr"><attr name="name" format="reference" /><attr name="age"><flag name="child" value="10" /><flag name=