一般我们在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. Tensorflow在手机端的部署——官网Android工程源码分析之TensorF
  2. SOAP in Android
  3. android 开发中中,经常用到的代码
  4. 对Android应用进行单元测试
  5. 异常处理
  6. android解析json数组
  7. File 存储(android)
  8. Relative Layout 中用到的一些属性
  9. Android(安卓)keytool 生成证书MD5指纹

随机推荐

  1. android - 我的订单页面【仿】京东App
  2. android JS 互相调用
  3. android中设置分割线
  4. androidStudio出现R无法识别比对下面buil
  5. android SQlite结合SimpleCursorAdapter
  6. Android实现点击某个按钮指定位置弹出布
  7. Android(安卓)选项菜单 Option Menu
  8. Android(安卓)GPS工具 (暂存)
  9. Android设置全屏/屏幕常亮
  10. Android(安卓)全局异常上报