[6.2.4][View点击态] 添加View的点击态

This commit is contained in:
renwj
2023-12-11 17:54:33 +08:00
parent 072180b507
commit b906901b70
4 changed files with 202 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<item name="click_pressed_attr_id" type="id" />
</resources>

View File

@@ -13,4 +13,8 @@
</declare-styleable>
<declare-styleable name="ClickPressedStyle">
<attr name="pressed_alpha" format="float" />
<attr name="pressed_enabled" format="boolean" />
</declare-styleable>
</resources>