bc95a7a29431fee6568b0b536ab9c21b8f633bc7.svn-base 1.3 KB

123456789101112131415161718192021222324252627282930313233
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. tools:context=".ui.MainActivity">
  8. <com.google.android.material.appbar.AppBarLayout
  9. android:layout_width="match_parent"
  10. android:layout_height="wrap_content"
  11. android:theme="@style/AppTheme.AppBarOverlay">
  12. <androidx.appcompat.widget.Toolbar
  13. android:id="@+id/toolbar"
  14. android:layout_width="match_parent"
  15. android:layout_height="?attr/actionBarSize"
  16. android:background="?attr/colorPrimary"
  17. app:popupTheme="@style/AppTheme.PopupOverlay" />
  18. </com.google.android.material.appbar.AppBarLayout>
  19. <include layout="@layout/content_main" />
  20. <com.google.android.material.floatingactionbutton.FloatingActionButton
  21. android:id="@+id/fab"
  22. android:layout_width="wrap_content"
  23. android:layout_height="wrap_content"
  24. android:layout_gravity="bottom|end"
  25. android:layout_margin="@dimen/fab_margin"
  26. app:srcCompat="@android:drawable/ic_dialog_email" />
  27. </androidx.coordinatorlayout.widget.CoordinatorLayout>