上一页 1 ··· 39 40 41 42 43 44 45 46 47 ··· 111 下一页
摘要: protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); button = (Button) findViewById(R.id.button); ... 阅读全文
posted @ 2019-11-05 18:35 thomas_blog 阅读(610) 评论(0) 推荐(0)
摘要: private int hourOfDay, minute; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); ... 阅读全文
posted @ 2019-11-05 15:43 thomas_blog 阅读(3000) 评论(0) 推荐(1)
摘要: private int year; private int monthOfYear; private int dayOfMonth; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setC... 阅读全文
posted @ 2019-11-05 15:27 thomas_blog 阅读(375) 评论(0) 推荐(0)
摘要: public class CustomDilaog { private Context context; private Dialog dialog; public CustomDilaog(Context context) { this.context = context; dialog = new Dialog(context); } ... 阅读全文
posted @ 2019-11-05 14:17 thomas_blog 阅读(1733) 评论(0) 推荐(0)
摘要: protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); button = (Button) findViewById(R.id.button); ... 阅读全文
posted @ 2019-11-05 13:10 thomas_blog 阅读(1203) 评论(0) 推荐(0)
摘要: protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); button = (Button) findViewById(R.id.button); ... 阅读全文
posted @ 2019-11-05 13:09 thomas_blog 阅读(3248) 评论(0) 推荐(0)
摘要: 添加一个数组 @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); button = (Button) findViewB... 阅读全文
posted @ 2019-11-04 19:23 thomas_blog 阅读(404) 评论(0) 推荐(0)
摘要: private Button button; private final CharSequence items[] = { "北京", "上海", "广州" }; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);... 阅读全文
posted @ 2019-11-04 19:09 thomas_blog 阅读(2261) 评论(0) 推荐(0)
摘要: private Button button; private final CharSequence[] items = { "北京", "上海", "广州" }; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);... 阅读全文
posted @ 2019-11-04 18:47 thomas_blog 阅读(3511) 评论(0) 推荐(0)
摘要: private Button button; private final CharSequence[] items = { "北京", "上海", "广州" }; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);... 阅读全文
posted @ 2019-11-04 18:40 thomas_blog 阅读(1109) 评论(0) 推荐(0)
上一页 1 ··· 39 40 41 42 43 44 45 46 47 ··· 111 下一页