LibreTube/app/src/main/res/layout/activity_main.xml

29 lines
1.2 KiB
XML
Raw Normal View History

2021-12-09 18:01:40 +05:30
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.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"
tools:context=".MainActivity">
2021-12-09 18:25:32 +05:30
<android.support.design.widget.BottomNavigationView
android:id="@+id/bottomNav"
android:layout_width="match_parent"
2021-12-09 18:01:40 +05:30
android:layout_height="wrap_content"
2021-12-09 18:25:32 +05:30
android:background="#fff"
2021-12-09 18:01:40 +05:30
app:layout_constraintBottom_toBottomOf="parent"
2021-12-09 18:25:32 +05:30
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:menu="@menu/bottom_menu"/>
2021-12-09 18:01:40 +05:30
2021-12-09 18:25:32 +05:30
<fragment
android:id="@+id/fragment"
android:name="androidx.navigation.fragment.NavHostFragment"
android:layout_width="0dp"
android:layout_height="0dp"
app:layout_constraintBottom_toTopOf="@+id/bottomNav"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:navGraph="@navigation/nav" />
2021-12-09 18:01:40 +05:30
</android.support.constraint.ConstraintLayout>