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就中断运行??
Kamey
蜂之谷
相关分类