62 lines
2.7 KiB
XML
62 lines
2.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
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:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:fitsSystemWindows="true"
|
|
android:background="@color/background_primary"
|
|
tools:context="de.schildbach.wallet.ui.main.MainActivity">
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:fitsSystemWindows="true">
|
|
|
|
<androidx.fragment.app.FragmentContainerView
|
|
android:id="@+id/nav_host_fragment"
|
|
android:name="androidx.navigation.fragment.NavHostFragment"
|
|
android:layout_width="0dp"
|
|
android:layout_height="0dp"
|
|
android:tag="wallet_fragment"
|
|
app:defaultNavHost="true"
|
|
app:navGraph="@navigation/nav_home"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintBottom_toBottomOf="parent" />
|
|
|
|
<FrameLayout
|
|
android:id="@+id/bottom_navigation_panel"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:animateLayoutChanges="true"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent">
|
|
|
|
<com.google.android.material.bottomnavigation.BottomNavigationView
|
|
android:id="@+id/bottom_navigation"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/bottom_nav_bar_height"
|
|
android:paddingHorizontal="22dp"
|
|
android:background="@color/background_secondary"
|
|
app:elevation="0dp"
|
|
app:itemIconSize="48dp"
|
|
app:itemPaddingTop="0dp"
|
|
app:itemPaddingBottom="0dp"
|
|
app:itemIconTint="@null"
|
|
app:labelVisibilityMode="unlabeled"
|
|
app:menu="@menu/bottom_navigation_menu" />
|
|
</FrameLayout>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
<de.schildbach.wallet.ui.widget.PleaseWaitRestoringWalletView
|
|
android:id="@+id/restoring_wallet_cover"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/background_primary"
|
|
android:visibility="gone" />
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|