I`me sorry for stupid question...
How do xml works with java ??? 
For instance:
<TextView
    ...
    ...
    android:text="SuperMegaButton"
   />
In this example when compiler see android:text is it induce method from
 "android.view.View.TextView" public void setText( ..... ) ?? 
Or as well
 < Any widget
        ...
        ...
        android:gravity="any_gravity"
     />
When compiler see android:gravity is it induce 
 public void setGravity(...)
Explain please in detail, because i am really confusing about that..
Thanks in advance
 
     
     
    