I have a widget and I want to draw an orange frame around a tap zone on the widget. The frame should appear when a user tapped on the tap zone and disapper when the user releases his/her finger.
At this time I'm using separate layouts for each tap zone. Them works fine except the frame. I guess, I need to set
android:clickable="true"
android:focuseable="true"
for each layout. Also, I prepared a transparent shape drawable with orange border. But I can't find out what should I do next. How to draw the shape on the tap zone only while it's tapped?