I'm on ADT 0.9.7.v2010050711...

Eclipse 3.5 EE SR2, specifically build 20100218-1602.

If I have a tiled pattern, all I get is a black background. If doing a
gradient fill in the background, I also get a blank black background.

For instance, here is a text view with a @drawable background:
        <TextView xmlns:android="http://schemas.android.com/apk/res/android";
                android:id="@+id/title" android:gravity="center"
                android:layout_width="fill_parent" android:layout_height="40dp"
                android:background="@drawable/app_header_background_gradient"
                android:text="QSA Checkout" android:textStyle="bold"
                android:textSize="22dp" android:textColor="#FFFFFFFF"
                android:shadowColor="#FF000000"
        android:shadowDx=".5"
        android:shadowDy=".5"
        android:shadowRadius="2"
        android:typeface="serif"
        />

and the drawable:

<shape xmlns:android="http://schemas.android.com/apk/res/android";
android:shape="rectangle">
        <gradient
                android:startColor="#FF349359"
                android:endColor="#FF04753d"
                android:angle="90"/>
</shape>

Which is not displayed at all in the layout view.

E


On Aug 12, 12:09 pm, "{ Devdroid }" <webnet.andr...@gmail.com> wrote:
> On 12 August 2010 17:48, Evan Ruff <evan.r...@gmail.com> wrote:
>
> > Hey guys,
>
> > I don't know if this is the right group, but my ADT keeps crashing
> > while editing layout files. I'm not positive, but I think it might
> > have something to do with the background images that I'm attempting to
> > use, as they are not rendered in the preview at all. Is this the
> > appropriate group to discuss the ADT tools? If so, does anyone else
> > have problems getting background images to display?
>
> Works here. What version of ADT? What version of Eclipse (note it's told 
> Helios
> shall not be used due to some known problems)

-- 
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

Reply via email to