- 博客(4)
- 收藏
- 关注
原创 android线性布局和相对布局的总结
常用控件View及其子元素常用属性android:background 背景图或背景色android:onClick 为该控件的单击事件绑定监听器android:padding 设置控件四周的填充区域 android:visibility 设置该控件是否可见android:alpha 设置该组件透明度android:layout_height子组
2017-12-18 11:29:16 783
原创 android新手总结
Activity的生命周期 onCreate() onStart() onResume() running onPause() onStop() onDestroy() 点击跳转的时候1onPause 1onStop 2onCreate 2onStart 2onResume返回
2018-01-09 08:16:56 144
原创 Android新手总结
高级控件:常见:ListView:最常用GridView 多行多列SpinnerAutoComponentTextView用法:1:创建一个高级控件 2:数据源 List []3:适配器 展示数据步骤:1:初始化控件2:数据源 List3:适配器ArrayAdapter 1:context XXX.this,布局(自己
2018-01-02 17:52:43 123
原创 Android新手总结
文本控件TextViewEditText按钮控件Button ImageButton 图片按钮RadioButton单选按钮CheckBox 复选按钮 图片控件ImageView多选 CheckBox使用RadioButton单选按钮时,必须使用RadioGroup如果没有RadionGro
2017-12-24 16:44:24 150
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人