android 之 @ 与? 的区别
16lz
2021-12-04
一般我们在xml文件里面,会经常性用到 @ 与 ? 这个两个符号,比如
android:id = "@+id/id1" sytle="?android:attr/progressBarStyleHorizontal"
下面是 对于这两个符号的一点解析
Notice the use of the at-symbol (@) and the question-mark (?) to reference resources. The at-symbol indicates that we're referencing a resource previously defined elsewhere (which may be from this project or from the Android framework). The question-mark indicates that we're referencing a resource value in the currently loaded theme. This is done by referring to a specific
更多相关文章
- Tensorflow在手机端的部署——官网Android工程源码分析之TensorF
- SOAP in Android
- android 开发中中,经常用到的代码
- 对Android应用进行单元测试
- 异常处理
- android解析json数组
- File 存储(android)
- Relative Layout 中用到的一些属性
- Android(安卓)keytool 生成证书MD5指纹