こんにちは、いくつかのデータ行を含む listActivity を作成し、画面の下部 (リストではありません) にボタンを配置しました。他の行が表示されるようにするには、ボタンが透明で、リストの最後の要素と重なっているように見えます。そのため、見た目が良くありません。このような問題を解決する方法について何か提案はありますか?リストの一番下のボタンにスペースを残す方法はありますか?フッター ビューで実装したくありません。より鮮明な画像が得られるように、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" >
<DragNDrop.DragNDropListView
android:id="@+id/android:list"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:layout_weight="1" >
</DragNDrop.DragNDropListView>
<Button
android:id="@+id/btn"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:alpha="1"
android:drawableLeft="@drawable/back"
android:text="Return" />
</RelativeLayout>