Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Invisible views detection on motion event

As i already tried views with motion drag reading Android docs. I have clearly not saying about basics of it but i want to hide orinvisible view which will be visible when other view which is being dragged or using motion can taken to the hidden orinvisible surface area ?

like image 897
Night Owl Avatar asked Nov 02 '16 13:11

Night Owl


1 Answers

Set tag of to view and after that when you touch view check tag of that view in MotionEvent.ACTION_DOWN or MotionEvent.ACTION_MOVE and set View.setVisibility(View.INVISIBLE) for other views.

like image 104
MIkka Marmik Avatar answered Nov 13 '22 00:11

MIkka Marmik