Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?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"
- tools:context=".main.MainActivity">
- <FrameLayout
- android:id="@+id/frameMain"
- android:layout_width="match_parent"
- android:layout_height="0dp"
- app:layout_constraintBottom_toTopOf="@id/btnNavMain"
- app:layout_constraintTop_toTopOf="parent" />
- <com.google.android.material.bottomnavigation.BottomNavigationView
- android:id="@+id/btnNavMain"
- android:layout_width="match_parent"
- android:layout_height="?attr/actionBarSize"
- android:background="@color/black"
- app:itemIconTint="@drawable/button_navigation_colored"
- app:itemTextColor="@drawable/button_navigation_colored"
- app:layout_constraintBottom_toBottomOf="parent"
- app:menu="@menu/main_menu" />
- <ImageButton
- android:id="@+id/btnAddTask"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:background="@android:color/transparent"
- android:elevation="8dp"
- android:src="@drawable/ic_baseline_add_circle_outline_48"
- app:layout_constraintBottom_toBottomOf="@id/btnNavMain"
- app:layout_constraintEnd_toEndOf="@id/btnNavMain"
- app:layout_constraintStart_toStartOf="@+id/btnNavMain"
- app:layout_constraintTop_toTopOf="@id/btnNavMain"
- app:tint="@color/purple_700" />
- </androidx.constraintlayout.widget.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement