n my activity I use FrameLayout as a root container. Inside I've
placed SlidingDrawer and osmdroid MapView. When my SlidingDrawer is
opened and I touch it, MapView also receives touch event and tiles are
moved. How do I fix this? Here's my layout file:

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

    <org.osmdroid.views.MapView
        android:id="@+id/mapView"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        tilesource="MapquestOSM" />

    <SlidingDrawer
        android:id="@+id/SlidingDrawer"
        android:layout_width="fill_parent"
        android:layout_height="250dip"
        android:layout_alignParentBottom="true"
        android:layout_gravity="bottom">

        <TextViev />
        <RelativeLayout>
            <Button/>
        </RelativeLayout>
    </SlidingDrawer>

</FrameLayout>

I use the FrameLayout because it enables desired layout positioning.
Maybe there is another way to do what I want?

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