Regarding XML and JAVA

Quickly share your Android Code Snippets here...

Regarding XML and JAVA

Postby yusuf » Mon Aug 30, 2010 6:00 am

Hi Guyz we can write the Layout code in Both xml and Java but i really want to know when to use XML and JAva
Androiding.........................
yusuf
Experienced Developer
Experienced Developer
 
Posts: 57
Joined: Mon Feb 15, 2010 4:25 pm
Location: Pune,India

Top

Re: Regarding XML and JAVA

Postby limteckchai » Tue Aug 31, 2010 3:51 am

For pure layout, use XML.. for the coding like onKey events and onTouch etc.. use java
It is best if u use a combination of both.
limteckchai
Experienced Developer
Experienced Developer
 
Posts: 92
Joined: Mon Jun 28, 2010 3:33 am

Top

Return to Code Snippets for Android

Who is online

Users browsing this forum: No registered users and 5 guests