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_areas.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.area.AreaFragment">
  8. <ListView
  9. android:id="@+id/areaListView"
  10. android:layout_width="0dp"
  11. android:layout_height="0dp"
  12. android:layout_marginStart="1dp"
  13. android:layout_marginLeft="1dp"
  14. android:layout_marginEnd="1dp"
  15. android:layout_marginRight="1dp"
  16. android:choiceMode="singleChoice"
  17. android:listSelector="@color/selectionBackground"
  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_areas"
  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:fabSize="mini"
  31. app:layout_constraintBottom_toBottomOf="parent"
  32. app:layout_constraintEnd_toEndOf="parent"
  33. app:rippleColor="#00000000"
  34. app:srcCompat="@android:drawable/ic_menu_add" />
  35. </androidx.constraintlayout.widget.ConstraintLayout>