Here is my suggestion, put TextView
and Button
in a LinearLayout
and set android:layout_alignParentBottom="true"
to that layout as follows...
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:orientation="vertical" >
<TextView
android:id="@+id/forgot_password"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:text="Forgot password" />
<Button
android:id="@+id/sign_in_button"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:paddingLeft="32dp"
android:paddingRight="32dp"
android:background="@drawable/button_login"
android:text="@string/action_sign_in_register"
android:textColor="@android:color/white" />
</LinearLayout>