how we can call xml file in java file using Android platform?

Answers were Sorted based on User's Feedback



how we can call xml file in java file using Android platform?..

Answer / raju

using getResource() we can get the outer resources and from there onwards we can get the IDs of each view components presented inside the XML.

Is This Answer Correct ?    2 Yes 2 No

how we can call xml file in java file using Android platform?..

Answer / srinivas

by using setContentView(R.Layout.main) method we can load the xml files in Activity

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Programming Languages AllOther Interview Questions

when a query is made on Logical file in DB2/400, will the records satisfying select/omit criterion be fetched from all members of physical file or only the member with same name as physical file?

0 Answers  


Find out the list of authorization objects which contains activity as a field? Thanks in advance.

0 Answers  


What is the use of sas software? Is sas and sap are different?

0 Answers  


what is class module in vb6? what it's use? with example..

0 Answers  


How can you incorporate a Datawindow to a Oracle8i stored procedure?

0 Answers   IBM,


What is the meaning of .(dot) in .NET framework?

1 Answers   HCL,


What's the difference b/w Table & Templete in Smartform?

0 Answers   Accenture,


what will we require to build project with the help of oracle

0 Answers  


What is the difference between save and create method of activerecord?

0 Answers  


what is the exact full form of OOPS,O -> object O -> oriented P -> programing S-> ? ....

16 Answers  


Find out the list of roles which gives access to GUI activities? thanks in advance

0 Answers  


Hi Guys, This is Rama, right now I am working as a Software Test Engineer in Gurgoan and I have over all 3 years of testing expoeriance. Right now I am looking for a change. Can any body help me out to find a job in south india. Thanks in Advance

0 Answers  


Categories