Step #1: Create a FrameLayout Step #2: Add the SurfaceView for your camera preview as the first child of the FrameLayout
Step #3: Add a LinearLayout or RelativeLayout or something, containing your "Translucent... any view/controls", as the second child of the FrameLayout (note that if you are using a RelativeLayout in Step #3, you could skip the FrameLayout entirely and put the SurfaceView as the first child of the RelativeLayout) On Sun, Oct 23, 2011 at 6:53 AM, giles ian <[email protected]> wrote: > Hi All, > > What i want to do is: > I click on a button and the camera starts, now how can i lay a Translucent > activity/any view/controls etc over this camera view. > Any suggestions how can this be done > Thanks > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

