2 xml files in one java file

by scorpio » Mon, 05 May 2008 09:24:06 GMT


Sponsored Links
 Can we call two xml files in one java class. Is it possible ??

thanks
scorpio
--~--~---------~--~----~------------~-------~--~----~



2 xml files in one java file

by scorpio » Mon, 05 May 2008 09:25:04 GMT


 Can we call two xml files in one java class. Is it possible ??

thanks
scorpio
--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


2 xml files in one java file

by Hielko » Mon, 05 May 2008 10:14:13 GMT


 Ofcourse...



--~--~---------~--~----~------------~-------~--~----~



2 xml files in one java file

by scorpio » Mon, 05 May 2008 14:03:54 GMT


 hi hielko,

explain how ??




--~--~---------~--~----~------------~-------~--~----~



2 xml files in one java file

by Hielko » Mon, 05 May 2008 15:32:55 GMT


 Perhaps you should provide more details on what you exactly want to
do. There are thousends of things I can do with two xml files....





--~--~---------~--~----~------------~-------~--~----~



2 xml files in one java file

by Josh Guilfoyle » Mon, 05 May 2008 23:09:56 GMT


 I think he is referring to multiple base content view layouts.  I
believe that a future SDK will be providing this ability via an
<include /> directive in the XML layout itself.






--~--~---------~--~----~------------~-------~--~----~



2 xml files in one java file

by scorpio » Tue, 06 May 2008 04:20:25 GMT


 ya josh,

thanks for the info.
what i need is by using setcontentview(), , shall we can call two xml
files from java file(activity).







--~--~---------~--~----~------------~-------~--~----~



2 xml files in one java file

by dolan kundu » Tue, 06 May 2008 10:09:22 GMT


 ya , you  can .
Set the activity content from a layout resource. The resource will be
inflated, adding all top-level views to the activity.
So , in the inflatedView, we can call second xml file.












--~--~---------~--~----~------------~-------~--~----~



2 xml files in one java file

by gunaaa » Fri, 09 May 2008 13:31:49 GMT


 Yaa....... Its possible.... Use ViewInflate class......




--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. N1 suka sering "force close"

Malam bos, bis, gan, om, tante dan RR semua.......
Maaf newbie nyeletup pengen tanya ttg N1 kok sering force close apabila buka 
suatu aplikasi.

Mohon penjelasanya dan apa maksud "force close" tsb
Regard me,

Powered by Telkomsel BlackBerry

-- 
"Indonesian Android Community [id-android]" 

2. Setting size of image in Gallery widget from xml

Hi,
Does anyone know how to set the size of the images in a Gallery view
from an xml file rather than setting in java using:
imageView.setLayoutParams(new Gallery.LayoutParams(120, 120));

I have tried inflating the imageView from an xml file (with
layout_height=120 etc.) in the adapter getView method but this does
not appear to work.

Thanks, Paul

-- 

3. Network connectivity checking without wakelock

4. Changing orientation from portrait to landscape

5. enable LOG for native WebKit

6. any change in framework between Android 1.5 and Android 2.1?

7. IM2 No Data Signal