0

I am new to android can u help me what code i need to write in button click listener.

 b.setOnClickListener(new View.OnClickListener(){@Overridepublic void onClick(View v)
   {

   });
YetAnotherBot
  • 1,937
  • 2
  • 25
  • 32
Mind_Control
  • 315
  • 1
  • 2
  • 10
  • 1
    Add the View in XML, set its visibility to invisible and inside your ClickListener set it's visibility to visible. https://developer.android.com/reference/android/view/View.html#setVisibility(int) – AlbAtNf Aug 04 '16 at 07:08
  • 1
    Kindly do some research before asking any question here.. :) – Harry Sharma Aug 04 '16 at 07:10

0 Answers0