如何在android style文件中使用自定义属性

2025-03-31 13:57:13
推荐回答(1个)
回答1:

在style文件中定义属性我知道:

使用style我也知道:
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="@style/ButtonGreen" />
但你说的在style中使用自定义属性我有点迷糊。style中不就是自定义的属性吗?