Imagebutton does not become invisible after translate animation in Android -


i moving image button left right @ bottom of screen using xml using this:

   <translate android:fromxdelta="-500%" android:toxdelta="0%"    android:fromydelta="0%" android:toydelta="00%"    android:duration="800"    android:zadjustment="bottom"/> 

at same time have linear layout invisible clicking button becomes visible button still visible.

 case r.id.fab_image_button:             txttitle.setvisibility(view.invisible);             listview.setvisibility(view.invisible);             fabimagebutton.setvisibility(view.invisible);             lout.setvisibility(view.visible);  break; 

any suggestions?

we need put imagebutton in separate layout , make whole layout invisible after clicking


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -