-
-
Notifications
You must be signed in to change notification settings - Fork 27
Closed
Description
Describe the bug
My TreeView row using CardView, I set it to “selectableItemBackground” but no click effect work. It works fine with default RecyclerView (using same layout.xml).
To Reproduce
Steps to reproduce the behavior:
- Create TreeView with custom tree node view
- Add android:focusable="true", android:clickable="true" and android:foreground="?attr/selectableItemBackground" to custom tree node view
- Click on 1 tree node
- No click effect performed
Expected behavior
TreeView item should has ripple effect when clicked.
https://drive.google.com/file/d/116yVaXkOfKYCWkDr6ZSc7rb4KdzsEnVd/view?usp=sharing
Video
https://drive.google.com/file/d/118hr4uv6pyGhtSHLSnOu_EO6UP6h6vD8/view?usp=sharing
Smartphone (please complete the following information):
- Device: Realme 5i
- OS: Android 13
- Version 1.1.3
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels