(preface: I have this problem while using the v4 Android support library)
I'm using the new SlidingPaneLayout to show an Android V2 map behind a List View, like this
----[¨¨¨¨]
| M [ L ]
| A [ I ]
| P [ S ]
| [ T ]
----[____]
It has two states
I'm having a problem where the List View is drawn behind the map when pulling it out ("closing the pane" in SlidingPaneLayout terminology). The List View interaction is normal, but the map part of the screen does not get painted over with the list.
There's also the problem of the shadow (set with setShadowDrawable()
or setShadowResource()
) not being drawn at all when the list is out (pane closed).
I can give an answer to my own question, just to document this issue.
If I put a transparent view above the SlidingPaneLayout everything will be drawn correctly, dropshadow on the overlying pane and all.