How to make Views with an Invisible attribute 'Visible' after clicking a button

后端 未结 4 644
感动是毒
感动是毒 2021-01-26 03:52

I have several Views, text views, and a button that have the android:visibility=\"invisible\" attribute. My goal is to click a button that resides above these \'invisible\' widg

4条回答
  •  天命终不由人
    2021-01-26 04:21

    Button submitRating = (Button) findViewById(R.id.submitRatingButton);
            submitRating.setOnClickListener(new View.onClickListener)
            {
                 @Override
             public void onClick(View v) 
                {
                                  //Insert your code here
                        }
            }
    

提交回复
热议问题