android:paddingBottom="16dp"... in you listview will do the trick. Set it 
to whatever dp you require

On Saturday, October 1, 2011 12:04:12 PM UTC+1, charlie babitt wrote:
>
> Hallo! 
>
> In my activity I have a list view and I want to have a sliding drawer 
> at the bottom of the screen. The handle of the sliding drawer has a 
> solid image and the size of the whole screen width. The problem now 
> is, that the last row of the list is not visible anymore, since it is 
> below the sliding drawer's handle. What is the best solution to solve 
> it. 
> My layout looks as follows: 
>
> Activity layout: 
> <RelativeLayout android:layout_width="fill_parent" 
>         android:layout_height="fill_parent" xmlns:android="http:// 
> schemas.android.com/apk/res/android"> 
>
>         <fragment 
>                         android:name="test.sample.ListFragment" 
>                         android:layout_width="wrap_content" 
> android:layout_height="wrap_content" 
>                         android:id="@+id/listfragment" /> 
>
>
>         <SlidingDrawer android:id="@+id/slidingdrawer" 
>                 android:layout_width="fill_parent" 
> android:layout_height="fill_parent" 
>                 android:handle="@+id/slidingdrawer.handle" 
> android:content="@+id/ 
> slidingdrawer.content"> 
>                 <include android:layout_gravity="bottom" 
>                         android:id="@+id/slidingdrawer.handle" 
> layout="@layout/ 
> slidingdrawerhandle" /> 
>                 <include android:id="@+id/slidingdrawer.content" 
>                         layout="@layout/slidingdrawercontent" 
>                         android:layout_width="fill_parent" 
> android:layout_height="fill_parent" /> 
>         </SlidingDrawer> 
> </RelativeLayout> 
>
> My Handle Layout: 
>
> <?xml version="1.0" encoding="utf-8"?> 
> <RelativeLayout android:background="@drawable/handle_background" 
>         android:layout_width="fill_parent" 
> android:layout_height="wrap_content" 
>         xmlns:android="http://schemas.android.com/apk/res/android";> 
>         <LinearLayout android:layout_gravity="center" 
>                 android:orientation="horizontal" 
> android:layout_width="wrap_content" 
>                 android:layout_height="wrap_content" 
> android:layout_centerInParent="true"> 
>                 <TextView android:textSize="14.0sp" 
> android:textStyle="bold" 
>                         android:textColor="@android:color/white" 
> android:layout_gravity="center_vertical" 
>                         android:layout_width="wrap_content" 
>                         android:layout_height="wrap_content" 
> android:text="News" 
>                         android:singleLine="true" 
> android:shadowColor="@android:color/ 
> black" 
>                         android:shadowRadius="2.0" /> 
>         </LinearLayout> 
> </RelativeLayout> 
>
> Do you have any idea how I could fix this? 
> Thanks 
> Charlie

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