You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

fragment_tasks.xml 1.6KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.constraintlayout.widget.ConstraintLayout 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.task.TasksFragment">
  8. <TextView
  9. android:id="@+id/text_tasks"
  10. android:layout_width="match_parent"
  11. android:layout_height="wrap_content"
  12. android:layout_marginStart="8dp"
  13. android:layout_marginTop="8dp"
  14. android:layout_marginEnd="8dp"
  15. android:textAlignment="center"
  16. android:layout_gravity="center_horizontal"
  17. android:textSize="20sp"
  18. app:layout_constraintBottom_toBottomOf="parent"
  19. app:layout_constraintEnd_toEndOf="parent"
  20. app:layout_constraintStart_toStartOf="parent"
  21. app:layout_constraintTop_toTopOf="parent" />
  22. <com.google.android.material.floatingactionbutton.FloatingActionButton
  23. android:id="@+id/fab_tasks"
  24. android:layout_width="wrap_content"
  25. android:layout_height="wrap_content"
  26. android:layout_gravity="bottom|end"
  27. android:layout_margin="@dimen/fab_margin"
  28. android:tint="#00009688"
  29. app:backgroundTint="@color/colorPrimary"
  30. app:backgroundTintMode="src_in"
  31. app:fabSize="mini"
  32. app:layout_constraintBottom_toBottomOf="parent"
  33. app:layout_constraintEnd_toEndOf="parent"
  34. app:rippleColor="#00000000"
  35. app:srcCompat="@android:drawable/ic_menu_add" />
  36. </androidx.constraintlayout.widget.ConstraintLayout>