I need to make the linear layout transparent. Other wise, I still
could n't see the picture underneath. I have put the background to
@android:drawable/gallery_thumb

Still not working.

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/
android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="vertical">
    <SurfaceView android:id="@+id/surface_c"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:layout_weight="1"
        android:gravity="bottom">
    </SurfaceView>
  <RelativeLayout
        android:layout_width="fill_parent"
     android:layout_height="wrap_content"
     android:background="@android:drawable/gallery_thumb"
     android:orientation="horizontal">

        <Button android:id ="@+id/BackToBlogB"
                android:text="Back"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignParentLeft="true"/>
        <Button android:id ="@+id/TakePictureB"
                android:text="Take"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerHorizontal="true"/>
        <Button android:id ="@+id/SavePictureB"
                android:text="Save"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignParentRight="true"/>
    </RelativeLayout>
</LinearLayout>


On Feb 22, 10:07 am, drasticp <[email protected]> wrote:
> Try using an image drawable or ninepatch drawable PNG with some alpha
> in it.
>
> This is an example that's already in the framework. Set this as the
> background of a FrameLayout:
> @android:drawable/gallery_thumb
>
> On Feb 22, 12:08 am, cindy <[email protected]> wrote:
>
> > Hi all,
>
> > When I use android's camera, the buttons aretransparent. Does anyone
> > knows how to do that?
>
> > A lot of thanks!
>
> > Cindy
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to