zx.com.buttonandroid.content.Intentandroid.support.v7.app.AppCompatActivityandroid.os.Bundleandroid.view.Viewandroid.widget.ButtonMainActivity AppCompatActivity {
Button (Bundle savedInstanceState) {
.onCreate(savedInstanceState)setContentView(R.layout.)=(Button)findViewById(R.id.)click rua=click().setOnClickListener(rua)}
click View.OnClickListener{
(View v) {
System..println()Intent intent=Intent(MainActivity.Rua.)MainActivity..startActivity(intent)}
}
}为什么点击Butron,Button就中断运行??
添加回答
举报
0/150
提交
取消