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

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

0 Answers  


the channel in the data communication model can be? option a.postal mail serv. b telephon lines c.radio signals d. all the above

2 Answers   iNautix, National Investment Commission,


needs examples for black box testing and white box testing

1 Answers   CTS, IBM, Wipro,


Hello all, My name is Nrupali, am a fresher, i know C language beginner. dont have any experience. planning to learn Php. let me know which language should i choose to learn or for salary purpose and growth??? kindly help me to take decision. thanks

1 Answers  


what are all the ant command options

0 Answers  


What is the difference b/w Object base and object oriented programming?

1 Answers  


Hi can you please help for the following. I have a ASP.Net web page I want to print the whole page how is it possible? I want It in ASP also.Please send me the solutions dipankar.hazari@gmail.com . Thanks in advance.

0 Answers   Philips,


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

0 Answers   Accenture,


There is a room with 1000 light switches, numbered 1, 2, 3, 4, ... 1000, all turned off. Outside the room there are 1000 men, numbered man1, man2, ...man 1000 In order, each man walks into the room and changes the position of each switch that is a multiple of his number. That is: man1 flips every switch man2 flips switches 2, 4, 6, 8 ....1000 man3 flips switches 3, 6, 9, ..... 999 ..... Man 1000 flips switch 1000 After all 1000 men are done, how many switches are on?

3 Answers  


through which algorithm does the garbage collector works? how the garbage collector will understand that the object will going to be deleted?

0 Answers   Motorola,


What are data structures?

1 Answers  


why you have to became a software developer?

2 Answers  


Categories