Hi,
[Blockierte Grafik: http://dl.dropbox.com/u/10127504/device-2012-01-31-194840.png]
Und zwar geht es um diesem Rot eingerahmten Bereich.
Wie bekommt man diesen Zwischenraum weg?
[Blockierte Grafik: http://dl.dropbox.com/u/10127504/device-2012-01-31-194822.png]
"normale" Ansicht - SlidingDrawer "unausgefahren"
Code der XML:
Java
<?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"
android:background="@color/white">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:src="@drawable/icon" />
<SlidingDrawer
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:content="@+id/content"
android:handle="@+id/handle"
>
<Button
android:id="@+id/handle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_centerInParent="true"
android:text="AAAAAAA"
android:textSize="20dip"
android:textColor="@color/white"
android:textStyle="bold"
android:background="@drawable/slider2"
/>
<RelativeLayout
android:id="@+id/content"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@color/white"
>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="10dip"
android:background="#404145"
></LinearLayout>
</RelativeLayout>
</SlidingDrawer>
</RelativeLayout>
Alles anzeigen
mfg Titus