У меня есть listactivity со следующей верстки-XMLLayout со списком
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:myapp="http://schemas.android.com/apk/res/se.javalia.myDrinks"
>
<Button android:id="@+id/saveButton"
android:text="test test"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
<ListView
android:id="@+id/android:list"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
<TextView
android:id="@+id/android:empty"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/main_no_items" />
</LinearLayout>
Теперь я хотел бы добавить кнопку над списком, который остается на месте, когда список прокручивается. Возможно ли вообще?
Заранее спасибо Roland
Это если только там, где просто, он не работает. Теперь я вижу только кнопку и список. – Roland