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. MapView bounds changed

Hi There.

I'm really struggling to get my app notified when the area being
viewed has changed.  There appears to be no handler built in to the
class, so all I've been able to do is extend MapView and catch it in
either getProjection() or onTouchEvent()

The problem I have is that I'm changing the overlays based on the area
being viewed, so that I can lazy load what applies to the given area
(there are large volumes of items to show from a db).

Using getProjection gets updates whenever zooming or scrolling,
however it sits within the onDraw call (it seems) which means altering
the Overlays can result in concurrency errors.

OnTouchEvent is sort of working, although getting no notification of
the zoom change.

Is there a way which I can get notified when what the user is looking
at on the map has changed to update overlays.  I know that the MapKit
stuff on iPhone does this (which is also google maps based), but can't
seem to see how to hook it up on android without these awkward hacks.

Any help would be most useful.

Thanks

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

2. AnCal implementation

Hi All,
    I'm working with this simple calendar UI app i have a problem on
designing the UI, does anyone has an idea on how they implement the
AnCal application.

If you wanna know what it is please visit this site :
http://vetch.magot.pl/pages/ancal.html

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

3. Bug 2628 needs review: 1.5/1.6 API indeterminate loading of ARGB_8888 PNG images

4. tabs iphone style

5. problem in services

6. Multitouch: Two buttons at the same time?

7. Android Game Framework ?