31 lines
1.3 KiB
XML
31 lines
1.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout 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"
|
|
android:background="@drawable/pixelcat_gradient"
|
|
android:orientation="vertical"
|
|
android:fitsSystemWindows="true"
|
|
tools:context=".components.main.MainActivity">
|
|
|
|
<androidx.viewpager2.widget.ViewPager2
|
|
android:id="@+id/mainViewPager"
|
|
android:layout_width="match_parent"
|
|
android:background="?android:attr/windowBackground"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1"/>
|
|
|
|
<com.google.android.material.bottomnavigation.BottomNavigationView
|
|
android:id="@+id/navigation"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom"
|
|
android:layout_marginStart="0dp"
|
|
android:layout_marginEnd="0dp"
|
|
android:background="?android:attr/windowBackground"
|
|
app:labelVisibilityMode="unlabeled"
|
|
app:menu="@menu/navigation" />
|
|
|
|
</LinearLayout> |