sotn
sotn

Reputation: 2101

'@android:id' notation in layout files

I couldn't find any extensive documentation on the following notation:

@android:id/tabs

I found the following explanation:

@android notation is used when referencing resources defined by the Android system

in this blog.

What does "resources defined by the Android system" mean? Under what circumstances would I use these resources?

Upvotes: 0

Views: 44

Answers (1)

Gabe Sechan
Gabe Sechan

Reputation: 93561

It means an id defined by Android as part of the framework, as opposed to an id you create. You generally use one when you're interacting with a framework component that assumes a certain id will be used, such as ListActivity or ArrayAdapter.

Upvotes: 2

Related Questions