Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what does the "@+android:id/title" mean?

Tags:

android

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?

like image 635
Judy Avatar asked Apr 26 '11 06:04

Judy


2 Answers

It is used for resources that are shipped with the SDK.

You can take a look at them by browsing to

[PATH TO ANDROID SDK]/platforms/android-[VERSION]/data/res

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.

like image 55
Octavian A. Damiean Avatar answered Nov 15 '22 01:11

Octavian A. Damiean


That belongs to the app preferences activity screen definition. title and summary are standard Android fields of a TextView preference item.

like image 20
halxinate Avatar answered Nov 14 '22 23:11

halxinate