<?xml version="1.0" encoding="utf-8"?> <RelativeLayout android:layout_width="fill_parent" android:layout_height="fill_parent" xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:duplicateParentState="false"> <!-- <TextView android:text="Select apps to use with Tor:" android:layout_width="fill_parent" android:layout_height="wrap_content" android:textSize="16sp" android:padding="3px" android:layout_above="@+id/applistview" /> --> <Button android:layout_width="fill_parent" android:layout_height="wrap_content" android:id="@+id/btnsave" android:text="@string/button_close" android:layout_alignParentBottom="true" /> <ListView android:layout_above="@id/btnsave" android:layout_alignParentTop="true" android:layout_width="fill_parent" android:layout_height="fill_parent" android:id="@+id/applistview"></ListView> </RelativeLayout>