Мне нужно добавить кнопку в конце моего приложения, без элементов, покрывающих кнопку. В моем текущем коде кнопка покрыта элементами в ListView. Я хочу иметь возможность прокручивать ListView и видеть все элементы без кнопки, покрытой ими. Мне нужна кнопка с идентификатором "bSave" под ListView. Мой код XML:
Кнопка
<LinearLayout android:layout_width="match_parent"
android:layout_height="wrap_content" android:orientation="vertical"
android:id="@+id/bottom_control_bar"
android:layout_alignParentBottom="true">
<Button android:layout_width="match_parent"
android:layout_height="wrap_content" android:text="Spara total tid"
android:id="@+id/bSave" android:textStyle="bold"
android:visibility="invisible"></Button>
</LinearLayout>
ListView
<RelativeLayout
android:orientation="vertical" android:layout_width="fill_parent"
android:layout_height="fill_parent">
<ListView android:id="@android:id/list"
android:layout_width="fill_parent" android:layout_height="wrap_content"
android:layout_above="@id/bottom_control_bar"></ListView>
<TextView android:id="@android:id/empty"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</RelativeLayout>