I have done silverlight programming before and it uses a xml file for a UI as well and you could also just use code instead.
q1)IN Android/eclipse is there any problems wiht just using code for UI elements?
I would prefer to just have the basic code like below and add UI elements in main Java file.
<?xml version="1.0" encoding="utf-8"?>
q2) how do I code values in string.xml in the main Java code ?
I dont want to set the value here
q3) How do I set background color for the app?