关于com.gc.materialdesign.views.CheckBox 设置默认选中,不起做用

输入图片说明

修改成 xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:materialdesign="http://schemas.android.com/apk/res-auto" 这是自定义属性引入有问题形成的。html

一、 xmlns:materialdesign="http://schemas.android.com/tools" tools命名空间能够用来预览一些布局属性的添加和删除后的效果,可是程序运行并不起做用。 http://blog.csdn.net/zhengdan66/article/details/46960985android

二、 xmlns:materialdesign="http://schemas.android.com/apk/res-auto" 是自定义属性 https://zhidao.baidu.com/question/394670552939034365.htmlapp

此外关于两个声明的不一样的命名空间,android的是系统的,app是自定义的。布局

相关文章
相关标签/搜索