Button Is Not Clickable Or Focusable November 20, 2023 Post a Comment I have created a button in my screen's XML like this: Solution 1: you should add a listener to listen the clic event on your button like this : Button btn = (Button)findViewById(R.id.btn1); //add the listener to your Button btn.addOnClickListener( new OnClickListener(){ @Override public void onClick(View v ){ Toast.makeText(YourActivity.this, "the button is clicked ...", 3000).show(); } }); Copy Baca JugaCustom Maps Marker Point With Picasso Not LoadedCan A Mobile App Which Supports An Mdm Work On Devices Which Do Not Run On MdmsNoclassdeffounderror On Calligraphy Library Share You may like these postsUsage Of Application Info , Package Info And Resolve InfoOkhttp NoclassdeffounderrorWhat Is Android.widget.framelayoutWhile Running Android Avd Manager It Shows Error "hax Kernel Module Is Not Installed!" Post a Comment for "Button Is Not Clickable Or Focusable"
Post a Comment for "Button Is Not Clickable Or Focusable"