上一页 1 ··· 40 41 42 43 44 45 46 47 48 ··· 111 下一页
摘要: @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); button = (B 阅读全文
posted @ 2019-11-04 17:05 thomas_blog 阅读(837) 评论(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 阅读(217) 评论(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 阅读(901) 评论(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 阅读(555) 评论(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 阅读(453) 评论(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 阅读(352) 评论(0) 推荐(0)
摘要: 属性介绍stretchColumns:列被拉伸shrinkColumns:列被收缩collapseColumns:列被隐藏举例测试 ... 阅读全文
posted @ 2019-11-03 14:36 thomas_blog 阅读(1157) 评论(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 阅读(234) 评论(0) 推荐(0)
摘要: <?xml version="1.0" encoding="utf-8"?> <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content" android:layout_height="wrap_content" android:orientat 阅读全文
posted @ 2019-11-01 16:06 thomas_blog 阅读(957) 评论(0) 推荐(0)
摘要: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" an 阅读全文
posted @ 2019-11-01 14:59 thomas_blog 阅读(1271) 评论(0) 推荐(0)
上一页 1 ··· 40 41 42 43 44 45 46 47 48 ··· 111 下一页