What is the meaning of 0x7f05001c in R.java file of an android project
public static final int action_bar = 0x7f05001c;
What is the meaning of 0x7f05001c in R.java file of an android project
public static final int action_bar = 0x7f05001c;
On
To my knowledge, that number is just a unique value assigned to an XML resource so you can create a Java object from it in your code: You can have multiple listviews in seperate XML layout's with the same ID, but they have their own unique int value so it can be distinguished.
On
It's an example of a magic number and the hexadecimal literal 0x7f05001c is 2131034140 in decimal.
R.java is a auto generated file in which reference of resources such as strings, drawbles, layouts, and styles are automatically added. In your question
0x7f05001cis just a reference id ofaction_bar.For example: in activity we always write
In this we are getting the reference of Texview which is automatically generated in R.java