摘要: <?xml version="1.0" encoding="utf-8"?><androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xm 阅读全文
posted @ 2019-08-19 20:18 水至清明 阅读(169) 评论(0) 推荐(0)
摘要: import java.io.Serializable; //实现 Serializable 接口 表明当前类为 序列化类public class LoginBean implements Serializable { private String username; private String 阅读全文
posted @ 2019-08-19 20:18 水至清明 阅读(200) 评论(0) 推荐(0)
摘要: @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); View childV 阅读全文
posted @ 2019-08-19 20:18 水至清明 阅读(61) 评论(0) 推荐(0)
摘要: 有了这个addRule方法就可以设置很多其他属性了,通过源码可知RelativeLayout是使用mRules这个数组来记录哪种属性使用到了,一共有22种属性: /** * Rule that aligns a child's right edge with another child's left 阅读全文
posted @ 2019-08-19 20:18 水至清明 阅读(222) 评论(0) 推荐(0)
摘要: 控件初始化状态使部分控件处于禁用状态代码禁用控件 BOOL CMyDlg::OnInitDialog(){ CDialog::OnInitDialog(http://www.amjmh.com); ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); AS 阅读全文
posted @ 2019-08-19 20:18 水至清明 阅读(188) 评论(0) 推荐(0)