摘要: 介绍 CompoundButton带有Check属性的Button 属性 Check:是否选中 方法 setOnCheckeChangeListener( new CompoundButton.OnCheckedChangeListener() ) 参数:CompoundButton.OnCheck 阅读全文
posted @ 2021-08-13 22:59 remix_alone 阅读(196) 评论(0) 推荐(0)
摘要: 介绍 Button是按钮组件,提供点击事件 属性 backgroundTint:按钮的背景颜色 drawablexxxx:内置图片 方法 setOnClickListener( View.OnClickListener clickListener ) 参数: View.OnClickListener 阅读全文
posted @ 2021-08-13 21:03 remix_alone 阅读(62) 评论(0) 推荐(0)
摘要: 介绍 LinearLayout:线型布局让组件水平或垂直排列 属性 orientation horizonal:水平排列 vertical:垂直排列 layout_gravity:View在容器内对齐方式 (gravity:指定子view,layout_gravity:指定自身) center ce 阅读全文
posted @ 2021-08-13 08:39 remix_alone 阅读(39) 评论(0) 推荐(0)
摘要: 介绍 Intent:意图。用于启动Activity,启动组件,Activity之间传递数据。 方法 Content( Context this ,Class class) 参数: Context this :当前Context对象 Class cls:目标class对象 返回值:无 返回值意义:无 阅读全文
posted @ 2021-08-13 08:17 remix_alone 阅读(50) 评论(0) 推荐(0)