You can use a FrameLayout in your XML to layer widgets or sub-layouts on top of each others.
R/ On Sun, Mar 29, 2009 at 8:54 PM, Ren <rens...@gmail.com> wrote: > Thanks, I'll try > > On Mon, Mar 30, 2009 at 4:46 AM, Lukasz Mosdorf <lukasz.mosd...@gmail.com> > wrote: >> >> Hi >> >> I guess that this would be sth like this: >> >> addContentView(_anotherLayer, new LayoutParams >> (LayoutParams.WRAP_CONTENT, >> LayoutParams.WRAP_CONTENT)); >> >> and _anotherLayer is for example an object which extends View. Then >> you need to draw transculent stuff on this layer. >> >> regards >> LM >> >> >> On Mar 29, 2:03 pm, Ren <rens...@gmail.com> wrote: >> > I have an image displayed in a view. I want to make some translucent >> > control >> > over that image, just like the zoom control on the built-in 'Pictures' >> > application, or the 'Play' button on any youtube video. >> > >> > What is the general practice to achieve this kind of effect? >> > -- >> > Kind Regards, >> > Ren >> > > > > -- > Kind Regards, > Ren > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---