findViewById步骤
findViewById方法
根据定义的id去找到该控件
例如:
根据定义的id去找到该控件
例如:
Button btn = (Button)findViewById(R.id.back);