Mercury-IM/app/src/main/res/layout/activity_main.xml

44 lines
1.7 KiB
XML
Raw Normal View History

2019-04-14 18:12:04 +02:00
<?xml version="1.0" encoding="utf-8"?>
2019-09-23 23:20:43 +02:00
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
2019-04-14 18:12:04 +02:00
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"
2019-05-04 00:27:02 +02:00
tools:context=".ui.MainActivity">
2019-04-14 18:12:04 +02:00
2019-05-18 10:06:16 +02:00
<com.google.android.material.appbar.AppBarLayout
2019-09-23 23:20:43 +02:00
android:id="@+id/appbar_layout"
2019-04-14 18:12:04 +02:00
android:layout_width="match_parent"
2019-09-23 23:20:43 +02:00
android:layout_height="wrap_content"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent">
2019-04-14 18:12:04 +02:00
2019-05-18 10:06:16 +02:00
<androidx.appcompat.widget.Toolbar
2019-04-14 18:12:04 +02:00
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
2019-09-25 22:50:52 +02:00
tools:menu="@menu/menu_main"/>
2019-04-14 18:12:04 +02:00
2019-05-18 10:06:16 +02:00
</com.google.android.material.appbar.AppBarLayout>
2019-04-14 18:12:04 +02:00
2019-09-23 23:20:43 +02:00
<FrameLayout
android:id="@+id/fragment"
android:layout_width="match_parent"
android:layout_height="0dp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@id/appbar_layout"
app:layout_constraintBottom_toTopOf="@id/bottom_navigation">
</FrameLayout>
2019-04-14 18:12:04 +02:00
2019-09-01 04:56:23 +02:00
<com.google.android.material.bottomnavigation.BottomNavigationView
android:id="@+id/bottom_navigation"
android:layout_width="match_parent"
2019-04-14 18:12:04 +02:00
android:layout_height="wrap_content"
2019-09-23 23:20:43 +02:00
app:layout_constraintBottom_toBottomOf="parent"
2019-09-01 04:56:23 +02:00
app:menu="@menu/bottom_menu_main" />
2019-04-14 18:12:04 +02:00
2019-09-23 23:20:43 +02:00
</androidx.constraintlayout.widget.ConstraintLayout>