There is an element tableRow1. Initially it must be hidden. Then using java code you need to open it. Then open again. How to do it all?

ps This is what effect I want to achieve (before / after the click): alt textalt text

  • view.setVisibility (View.GONE) - andreich
  • Max Rovkin, and with animation? - Gorets
  • @Gorets, make an animation for the view and subscribe to listen to it, when the animation ends, then setVisibility (View.GONE), in the reverse order to make an appearance. It remains to understand what kind of animation top - starter wants - andreich