0
Can someone explain the relationship between Java and xml in android app development?
Java vs XML
3 Antworten
+ 3
XML is used to describe something...for example layouts or animations. You can also define values for your app.
Java is used to write the whole logic of your app...like what happens when you click a button and so on....
0
XML is used for layout while java is for the activity
0
XML is used to construct the layout that is consisted of elements such as buttons, images, etc.
While Java is used for programming, writing the logic of the app and to control the elements of the layout that is created using XML.