I have preference menu in my app. I am using Android 1.6. I wanted to use a static save button at the bottom of the screen.
I know how to do it with Relative Layout using android:layout_alignParentBottom="true"
<Button
android:id="@id/preferencesSaveButton"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_gravity="center_horizontal"
android:layout_marginBottom="10dp"
android:layout_marginLeft="20dp"
android:layout_marginRight="20dp"
android:layout_marginTop="10dp"
android:padding="15dp"
android:text="Save"
android:textStyle="bold" />
Can we use preference inside Relative Layout or is there any other practical method to do it?