什么是" @ +安卓ID /标题"意味着? [英] what does the "@+android:id/title" mean?
问题描述
在正常的,我们应该用 @ + ID /
来定义一个ID,并使用 @Id
引用一个ID。今天,我发现 @ +安卓ID /标题
在应用程序/设置/ RES /布局/ preferenc_progress.xml
。
In normal, we should use @+id/
to define an id and use @id
to reference an id. Today I found @+android:id/title
in apps/settings/res/layout/preferenc_progress.xml
.
如何理解它,以及如何使用它?
How to understand it and how to use it?
推荐答案
这是用于那些随SDK资源。
It is used for resources that are shipped with the SDK.
您可以通过浏览到一起来看看它们
You can take a look at them by browsing to
[路径到Android SDK] /平台/ android- [版本] /数据/ RES
通过使用机器人
在 android.R.whatever
您只需指定R档来查找。欲了解更多信息,请阅读<一个href="http://developer.android.com/guide/topics/resources/accessing-resources.html#PlatformResources"相对=nofollow>访问平台资源。
By using the android
in android.R.whatever
you just specify the R file to look up. For more information you should read Accessing Platform Resources.
这篇关于什么是&QUOT; @ +安卓ID /标题&QUOT;意味着?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!