Android Studio Button not Responding (OnClick)

ساخت وبلاگ

Vote count: 0

I have tried various tutorials and no matter what , the button just never responds.

Here is the Code:

public class MainActivity extends Activity {
Button handbtn;
@Override
protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); this.requestWindowFeature(Window.FEATURE_NO_TITLE); setContentView(R.layout.activity_main); handbtn = (Button) findViewById(R.id.btnHandSigns); handbtn.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { Intent loadsigns = new Intent(MainActivity.this, hand_signs.class); startActivity(loadsigns); } });
}
asked 19 secs ago

- - , .
.

back soft...
ما را در سایت back soft دنبال می کنید

برچسب : نویسنده : استخدام کار backsoft بازدید : 236 تاريخ : سه شنبه 22 تير 1395 ساعت: 23:38