何、

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2017年5月18日

摘要: 2.Activity常用 的方法 View findViewById(int id) 根据组件的ID取得组件对象 setContentView(int layoutResID) 设置布局文件,设置显示组件3.TextVies android:maxLength="6" 允许最大字符数 android 阅读全文
posted @ 2017-05-18 17:38 何、 阅读(176) 评论(0) 推荐(0)

摘要: 12.布局方式 12.1LinearLayout(线性布局) android:orientation="horizontal"布局 android:layout_width="fill_parent"控件宽度 android:layout_height="fill_parent" 控件高度 注意:" 阅读全文
posted @ 2017-05-18 17:36 何、 阅读(107) 评论(0) 推荐(0)