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. <com.google.android.material.floatingactionbutton.FloatingActionButton
  9. android:id="@+id/fab_tasks"
  10. android:layout_width="wrap_content"
  11. android:layout_height="wrap_content"
  12. android:layout_gravity="bottom|end"
  13. android:layout_margin="@dimen/fab_margin"
  14. android:tint="#00009688"
  15. app:backgroundTint="@color/colorPrimary"
  16. app:backgroundTintMode="src_in"
  17. app:fabSize="mini"
  18. app:layout_constraintBottom_toBottomOf="parent"
  19. app:layout_constraintEnd_toEndOf="parent"
  20. app:rippleColor="#00000000"
  21. app:srcCompat="@android:drawable/ic_menu_add" />
  22. <ListView
  23. android:id="@+id/taskListView"
  24. android:layout_width="0dp"
  25. android:layout_height="0dp"
  26. android:layout_marginStart="1dp"
  27. android:layout_marginLeft="1dp"
  28. android:layout_marginEnd="1dp"
  29. android:layout_marginRight="1dp"
  30. android:choiceMode="singleChoice"
  31. android:listSelector="@color/selectionBackground"
  32. app:layout_constraintBottom_toBottomOf="parent"
  33. app:layout_constraintEnd_toEndOf="parent"
  34. app:layout_constraintStart_toStartOf="parent"
  35. app:layout_constraintTop_toTopOf="parent" />
  36. </androidx.constraintlayout.widget.ConstraintLayout>