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

33 lines
1.3 KiB
XML
Raw Normal View History

2019-04-14 18:12:04 +02:00
<?xml version="1.0" encoding="utf-8"?>
2019-05-18 10:06:16 +02:00
<androidx.coordinatorlayout.widget.CoordinatorLayout 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-04-14 18:12:04 +02:00
android:layout_width="match_parent"
2019-06-24 01:41:17 +02:00
android:layout_height="wrap_content">
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-21 17:33:58 +02:00
android:background="?attr/colorPrimary"/>
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
<include layout="@layout/content_main" />
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-01 04:56:23 +02:00
android:layout_gravity="bottom"
2019-09-21 17:33:58 +02:00
app:itemIconTint="?attr/tabsColorSelector"
app:itemTextColor="?attr/tabsColorSelector"
2019-09-10 18:24:47 +02:00
app:itemBackground="?attr/colorPrimary"
2019-09-01 04:56:23 +02:00
app:menu="@menu/bottom_menu_main" />
2019-04-14 18:12:04 +02:00
2019-05-18 10:06:16 +02:00
</androidx.coordinatorlayout.widget.CoordinatorLayout>