Overlaying ImageViews

by DrStrangeLug » Wed, 29 Apr 2009 15:04:42 GMT


Sponsored Links
 Hi, I'm puzzled over how to overlay widgets in android.

I've got an ImageView containing a dial image which is coded so that
the user can touch the outside and rotate the whole image.  That works
fine.

But I want to put another image over it, above it in the Z order.   Is
there a way I can overlay another ImageView over the original one, or
do I need to do it all in one widget ?

Thanks in advance.

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



Other Threads

1. Testing android applications

Hi,

How do i test an android application on a device (device which is under 
development) for long duration, where i can also get the test result. Is 
there any tool available
I have checked the Test runner and monkey tools which can be only used 
on an emulator.
Can we use the service list command / tool from the shell prompt
Please someone guide me as this is urgent

-amit



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

2. onRetainNonConfigurationInstance confusion

When I perform an orientation flip, I see the following methods called
in the following order:

onSaveInstanceState
onPause
onStop
onRetainNonConfigurationInstance
...then...
onCreate
onRestoreInstance
onResume

I specifically want to use onRetainNonConfigurationInstance to *avoid*
saving a large complex data set from memory to storage (sdcard) and
reading it back in again.  I realize doing so is necessary when the
app might not come back, such as when it goes to the background or the
phone sleeps or something like that.  Under such circumstances, I must
go to the trouble of saving in onSaveInstanceState and restoring in
onRestoreInstance.  But for an orientation flip I just want to keep
everything in memory and react as quickly as possible.  As I
understand it, this is the primary purpose of
onRetainNonConfigurationInstance.

BUT, onRetainNonConfigurationInstance is the very last method that is
called as the process is shutting down.  So how do I know at
onSaveInstanceState time whether to save the entire data configuration
to storage or not?

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

3. Keputusan Google, OHD petition yuk?

4. add images to gallery view after downloading

5. Ban Hot

6. Error found in build "htonl" no reference

7. Charset encoding problem