Note that there are some explanatory texts on larger screens.

plurals
  1. POSlidingDrawer shows up too far from bottom when it is close and it doesn't overlap view when it is open
    primarykey
    data
    text
    <p>this is my xml file:</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;ScrollView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:facebook="http://schemas.android.com/apk/res-auto" android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="#FFF"&gt; &lt;LinearLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" android:gravity="center"&gt; ................................. ................................. &lt;SlidingDrawer android:layout_width="fill_parent" android:id="@+id/SlidingDrawer" android:handle="@+id/slideButton" android:content="@+id/contentLayout" android:padding="10dp" android:layout_height="150dp"&gt; &lt;Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/slideButton" android:background="@drawable/action_eating"&gt; &lt;/Button&gt; &lt;LinearLayout android:layout_width="fill_parent" android:id="@+id/contentLayout" android:orientation="vertical" android:gravity="center" android:padding="10dp" android:background="#45454F" android:layout_height="wrap_content"&gt; &lt;Button android:id="@+id/history" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/history" android:textColor="#000000" android:textSize="20sp" /&gt; &lt;/LinearLayout&gt; &lt;/SlidingDrawer&gt; &lt;/LinearLayout&gt; &lt;/ScrollView&gt; </code></pre> <p>the problem is, the SlidingDrawer remain in the bottom of my layout(that's fine), but it remain too far in the bottom (i think it remain 150dp bellow my layout). and when i click on it, it open but does not roll over on my layout, it remain under all my content i have shown in my layout. but i need to, when i click on it, slide it over my view. and when it closed it should remain just bellow of my layout, not too far from my layout (like 150dp).</p> <p><strong>sorry for my bad english. if you have any problem to understand what i have said, please let me know.</strong> thank you.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload