Skip to content

Instantly share code, notes, and snippets.

@Delaire
Created January 14, 2020 13:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Delaire/bc12ab28f4fed1ecb77e9775c00ca372 to your computer and use it in GitHub Desktop.
Save Delaire/bc12ab28f4fed1ecb77e9775c00ca372 to your computer and use it in GitHub Desktop.
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="match_parent">
<FrameLayout
android:id="@+id/home_fragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_above="@+id/audioplayer_layout"/>
<FrameLayout
android:id="@+id/audioplayer_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_above="@+id/navigation"/>
<android.support.design.widget.BottomNavigationView
android:id="@+id/navigation"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="0dp"
android:layout_marginStart="0dp"
android:background="?android:attr/windowBackground"
android:layout_alignParentBottom="true"
app:menu="@menu/navigation" />
</RelativeLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment