Activity常用方法 setContentView(R.layout.xxx);//设置指定文件 findViewById(R.id.xxx);获取指定控件 getString(R.string.xxx);获取strings.xml指定key文件