Dhruv Nirmal Dhruv Nirmal - 1 year ago 76
Android Question

why we put @ before using resources in android xml file?

Why put

in xml file of android to access some resources?


Answer Source

It is used to differentiate normal strings and string referred to resources.
For example when you write android:background="resource name without @"

then it act as static value it does not bind from your resources.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download