一般我们在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

更多相关文章

  1. Android 资源文件中的符号含义与说明
  2. Android应用资源总结二:Android的问号?和@符号的用法
  3. Android:安卓资源引用符号的含义
  4. c语言“或”符号
  5. c语言注释符号是什么?
  6. c语言中的注释符号是什么
  7. c语言多行注释符号是什么
  8. c语言换行符号是什么?
  9. c语言怎么输出特殊符号?

随机推荐

  1. Android开发环境的搭建
  2. Android设置任何控件透明度
  3. Android(安卓)控件及其属性2
  4. 日拱一卒(二十二)
  5. Android(安卓)NDK生成共享库和静态库
  6. Kotlin Android(安卓)Extensions+Android
  7. android:launchMode="singleTask" intent
  8. Android高手进阶教程(五)之----Android(
  9. Android系统权限和root权限
  10. Android事件分发机制和一些疑问