How to make my screen to listen to drag listener, android -
i trying implement drag down listener on android app, , make layout in view.gone state animate , increase upto height drag down.
i tried using ontouchlistener action down , action not helping me.
how achieve this?
layout1(app_header)
layout2(mapview)
layout3(viewpager)
layout 2 hidden(view.gone) after pressing button.
now dragging down screen header should layout2(mapview) increasing height drag down.
i tried using draglistener pagertabstrip on layout 3, didn't work.
are there 1 can me on this?
the best way achieve using ontouchlistener , custom ondraglistener.
here great example , here 1 (from google documentation)
if need additional ask!
Comments
Post a Comment