Hello,
I'm having a strange issue where I have a Button (I tried it with a
default/text button and a custom skinned button via
android:background) that is rendered "above" a SurfaceView has a
strange kind of "shadow fade" thing along the top border.

As I said, it appears with both custom image buttons and the default
button (I originally thought it was photoshops fault, but it happens
with the default button style, too). I thought maybe it was the
emulator, but it appears when I installed the debug apk on my HTC
Incredible, as well. I've also verified that the shadow thing
disapears if I comment out the entire Button element.

here's my layout..

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android";
    android:layout_width="fill_parent"
    android:layout_height="fill_parent">

    <org.blah.GameView <!-- my custom view that extends SurfaceView -->
        android:id="@+id/gameview"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
    />
    <Button
        android:id="@+id/world_button_recenteronplayer"
        android:layout_gravity="right"
        android:gravity="right"
        android:visibility="visible"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="R"
        />
        
        <!--android:background="@drawable/button_recenter" />  here was
the custom background i was trying, too -->
</RelativeLayout>

Googling, SO, etc hasn't been any help with this.. but maybe I'm just
asking the wrong question?

Any help/explanation for why this happens and how to make it go away
would be appreciated.

Thank you,
Jeff

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