Skip to content

Instantly share code, notes, and snippets.

@mattbriancon
Created July 24, 2012 04:38
Show Gist options
  • Save mattbriancon/3168073 to your computer and use it in GitHub Desktop.
Save mattbriancon/3168073 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="match_parent"
>
<fragment class="com.domain.MyFragment"
android:id="@+id/myfragment"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
/>
<FrameLayout android:id="@android:id/content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_above="@id/myfragment"
>
</FrameLayout>
</RelativeLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment