有没有一种编程方式可以获取styleable属性的名称?
例如,我想从R.styleable.TextView_Text整数值中获取“Text”。
<declare-styleable name="TextView">
<attr name="DataContext" format="string" />
<attr name="Text" format="string" />
</declare-styleable>
例如,我想从R.styleable.TextView_Text整数值中获取“Text”。