activity_main.xml 1.35 KB
Newer Older
1 2 3 4 5
<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
ibrahin's avatar
ibrahin committed
6 7 8 9 10 11 12 13 14 15 16
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:background="?attr/colorPrimary"
    tools:context=".view.MainActivity">
    <androidx.appcompat.widget.Toolbar
        android:id="@+id/my_toolbar"
        android:layout_width="match_parent"
        android:layout_height="?attr/actionBarSize"
        android:background="?attr/colorPrimary"
        android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
        app:popupTheme="@style/ThemeOverlay.AppCompat.Dark"/>
    <include layout="@layout/content_main"/>
17

ibrahin's avatar
ibrahin committed
18 19 20 21 22 23 24 25 26 27 28
    <com.google.android.material.floatingactionbutton.FloatingActionButton
        android:id="@+id/fab"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="bottom|end"
        android:layout_margin="@dimen/fab_margin"
        android:backgroundTint="@color/teal_200"
        android:backgroundTintMode="add"
        android:contentDescription="TODO"
        android:src="@drawable/icons8_add_user_male_60px"
        app:borderWidth="0dp"/>
29
</androidx.coordinatorlayout.widget.CoordinatorLayout>