上一页 1 ··· 40 41 42 43 44 45 46 47 48 ··· 112 下一页
摘要: private Button button; private final CharSequence[] items = { "北京", "上海", "广州" }; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);... 阅读全文
posted @ 2019-11-04 18:47 thomas_blog 阅读(3505) 评论(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 阅读(1105) 评论(0) 推荐(0)
摘要: @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); button = (B 阅读全文
posted @ 2019-11-04 17:05 thomas_blog 阅读(835) 评论(0) 推荐(0)
摘要: @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); button = (Button) this.findViewBy... 阅读全文
posted @ 2019-11-04 16:39 thomas_blog 阅读(214) 评论(0) 推荐(0)
摘要: public class MainActivity extends Activity { private Button button; private ActionMode actionMode; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(save... 阅读全文
posted @ 2019-11-04 15:49 thomas_blog 阅读(898) 评论(0) 推荐(0)
摘要: public class MainActivity extends Activity { private ListView listView; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setCon... 阅读全文
posted @ 2019-11-04 13:58 thomas_blog 阅读(552) 评论(0) 推荐(0)
摘要: @Override public boolean onCreateOptionsMenu(Menu menu) { // Inflate the menu; this adds items to the action bar if it is present. getMenuInflater().inflate(R.menu.main, menu); ... 阅读全文
posted @ 2019-11-03 17:11 thomas_blog 阅读(447) 评论(0) 推荐(0)
摘要: @Override public boolean onCreateOptionsMenu(Menu menu) { // Inflate the menu; this adds items to the action bar if it is present.// getMenuInflater().inflate(R.menu.main, menu); ... 阅读全文
posted @ 2019-11-03 15:57 thomas_blog 阅读(349) 评论(0) 推荐(0)
摘要: 属性介绍stretchColumns:列被拉伸shrinkColumns:列被收缩collapseColumns:列被隐藏举例测试 ... 阅读全文
posted @ 2019-11-03 14:36 thomas_blog 阅读(1149) 评论(0) 推荐(0)
摘要: android:layout_above="@+id/main"android:layout_below="@+id/main"android:layout_toLeftOf="@+id/main"android:layout_toRightOf="@+id/main" 阅读全文
posted @ 2019-11-01 19:48 thomas_blog 阅读(230) 评论(0) 推荐(0)
上一页 1 ··· 40 41 42 43 44 45 46 47 48 ··· 112 下一页