Last active
July 14, 2021 07:32
-
-
Save puke3615/e3f375e78e26b207e25054cea20abd19 to your computer and use it in GitHub Desktop.
bg_click_effect
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | |
<!-- 按下效果 --> | |
<item android:state_pressed="true"> | |
<shape android:shape="rectangle"> | |
<solid android:color="#e4e4e4" /> | |
<corners android:radius="0dp" /> | |
</shape> | |
</item> | |
<!-- 普通效果 --> | |
<item> | |
<shape android:shape="rectangle"> | |
<solid android:color="#ffffff" /> | |
<corners android:radius="0dp" /> | |
</shape> | |
</item> | |
</selector> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment