如题,在拖动slidingdrawer时,会出现有些地方被surfaceview盖住的效果,导致slidingdrawer显示不完整,请大牛帮忙解决下该问题!
具体xml代码如下
<?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"
 >
 
    <SurfaceView android:id="@+id/surface"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"/>
    
 <SlidingDrawer 
        android:id="@+id/slidingdrawer"
        android:layout_width="250dip"
   android:layout_height="fill_parent" 
   android:handle="@+id/handle"
   android:content="@+id/content" 
   android:orientation="horizontal"
   android:layout_alignParentRight="true"
   >
   <!-- 抽屉手柄 -->
   <ImageButton android:id="@id/handle"
       android:layout_width="wrap_content"
       android:layout_height="wrap_content"
       android:background="@drawable/handler"/>
    
   <!-- 抽屉内容布局 -->
   <LinearLayout android:id="@id/content"
    android:layout_width="fill_parent" 
    android:layout_height="fill_parent" 
    android:background="@drawable/live_ct_bg_on" android:orientation="vertical">
   
       <Button android:layout_width="fill_parent"
           android:layout_height="wrap_content"
           android:text="aaaaaaaaaaaaaaaaaaa"/>
       
       <Button android:layout_width="fill_parent"
           android:layout_height="wrap_content"
           android:text="bbbbbbbbbbbbbbbbbbb"/>
       
       <Button android:layout_width="fill_parent"
           android:layout_height="wrap_content"
           android:text="ccccccccccccccccccc"/>
       
       <Button android:layout_width="fill_parent"
           android:layout_height="wrap_content"
           android:text="dddddd"/>
       
       <Button android:layout_width="fill_parent"
           android:layout_height="wrap_content"
           android:text="eeeeeeeeeee"/>
       
       <Button android:layout_width="fill_parent"
           android:layout_height="wrap_content"
           android:text="aaaaaaaaaaaaaaaaaaa"/>
  </LinearLayout> 
 </SlidingDrawer>
</RelativeLayout>