> No I don't get any visual feedback (no orange selection etc.) which makes
> me
> think that there is something on top which is blocking, like you said. As
> far as I can understand I don't think I have any component that is
> actually
> getting on top of it. Though how do I configure the z order of components?

Things that are later in the layout are higher in Z-order than things
earlier in the layout.

For example, here is a layout showing a LinearLayout that overlaps a MapView:

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android";
        android:layout_width="fill_parent"
        android:layout_height="fill_parent">
        <com.google.android.maps.MapView android:id="@+id/map"
                android:layout_width="fill_parent"
                android:layout_height="fill_parent"
                android:apiKey="..."
                android:clickable="true" />
        <LinearLayout android:id="@+id/zoom"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentBottom="true"
                android:layout_alignParentLeft="true" />
</RelativeLayout>

Since the MapView is set to fill the RelativeLayout, but the LinearLayout
appears later in the XML, the LinearLayout gets a higher Z-order and
therefore sits atop the map.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to