I am unable to put button at bottom of this Screen. The listview should come on top while sign out button must appear at bottom just after the list view ends.
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="top"
android:background="#29A586">
<Button
android:text="Sign Out"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/SignOutButton" />
<ListView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/mylistView" />
</LinearLayout>