Hello guy's, i'm new at Android world, and i have a doubt, is there any method that give me the name of the id's i create in main.xml? For example i have this:
main.xml
<TextView android:id="@+id/text1"
android:layout_width="70px"
android:layout_height="70px"
android:text="Google"
/>
<TextView android:id="@+id/text2"
android:layout_width="70px"
android:layout_height="70px"
android:text="As"
/>
And what i want is the id name from the two TextView, is there any method that i can use in my class .java that give me for this example the id? In this case i want the (text1 and text2).
Thanks and forgive mi English.