I identified the bug and a fix will be delivered in Donut.

On May 19, 8:02 pm, Ruiming Li <[email protected]> wrote:
> If you want to get transparency. My suggestions is use set
> android:panelBackground  instead of  android:background.
> eg: You can change it from android:background="#cc000000" to
> android:panelBackground ="#cc000000"
> try it . Good Luck.
>
>
>
> On Sun, Apr 26, 2009 at 7:17 PM, cnordvik <[email protected]> wrote:
>
> > >Does this change happen with the current binary of your app, or after you
> > >recompile it against 1.5?
>
> > This happens only when I recompile it against 1.5 and run it in the
> > emulator. Haven't tested the 1.1 binaries in the 1.5 emulator. If I
> > switch target to 1.1 and run it on my phone then it works great.
>
> > I noticed that it is related to setting transparency with "000000"  or
> > "FFFFFF" color. If I use another color like ("000001") then it works
> > as expected.
>
> > I can change all my colors, but this seems like a bug to me?
>
> > <LinearLayout xmlns:android="http://schemas.android.com/apk/res/
> > android"
> >        android:orientation="horizontal" android:id="@+id/root"
> >        android:layout_width="fill_parent"
> > android:layout_height="fill_parent"
> >        android:background="@drawable/field">
>
> >    <!-- This doesn't work in 1.5. In 1.1 this would produce a black
> > layout with transparency.  -->
> >        <LinearLayout xmlns:android="http://schemas.android.com/apk/res/
> > android"
> >                android:orientation="vertical" android:id="@+id/root2"
> >                android:layout_width="fill_parent"
> > android:layout_height="fill_parent"
> >                android:background="#cc000000">
>
> >    <!-- This one works...
> >        <LinearLayout xmlns:android="http://schemas.android.com/apk/res/
> > android"
> >                android:orientation="vertical" android:id="@+id/root2"
> >                android:layout_width="fill_parent"
> > android:layout_height="fill_parent"
> >                android:background="#cc000001"> -->
>
> > -Christer
--~--~---------~--~----~------------~-------~--~----~
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