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 ?
Asked
Active
Viewed 138 times
6

Night Owl
- 211
- 2
- 6
-
As far as I understand your question, why aint you using `View.setVisibility(View.INVISIBLE)` ? – Mohammed Atif Nov 10 '16 at 11:05
-
Can you put a image or a small video of what you are trying to do? – Leandro Borges Ferreira Nov 11 '16 at 11:32
2 Answers
1
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.

MIkka Marmik
- 1,101
- 11
- 29
0
I think it should be easy using transparent color for this View. Even you will use ViewGroup with other elements, you can just create method for updating parameters (like background, color, image, etc.) to the transparent type.

GensaGames
- 5,538
- 4
- 24
- 53