EX06_16.java
上传用户:vip_99
上传日期:2021-03-27
资源大小:61159k
文件大小:1k
- package irdc.ex06_16;
- import android.app.Activity;
- import android.os.Bundle;
- import android.widget.TextView;
- public class EX06_16 extends Activity
- {
- /* 本程序只要运行一次,就会在日后开机时自动运行 */
- private TextView mTextView01;
-
- /** Called when the activity is first created. */
- @Override
- public void onCreate(Bundle savedInstanceState)
- {
- super.onCreate(savedInstanceState);
- setContentView(R.layout.main);
-
- /* 为了快速示意,程序仅以欢迎的TextView文字作为展示 */
- mTextView01 = (TextView)findViewById(R.id.myTextView1);
- mTextView01.setText(R.string.str_welcome);
- }
- }