task_layout.xml 1.0 KB

12345678910111213141516171819202122232425262728
  1. <androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
  2. android:layout_width="match_parent"
  3. android:layout_height="wrap_content"
  4. xmlns:app="http://schemas.android.com/apk/res-auto"
  5. xmlns:tools="http://schemas.android.com/tools"
  6. app:cardElevation="4dp"
  7. app:cardCornerRadius="8dp"
  8. android:layout_marginHorizontal="16dp"
  9. android:layout_marginVertical="8dp">
  10. <RelativeLayout
  11. android:layout_width="wrap_content"
  12. android:layout_height="wrap_content"
  13. android:padding="8dp">
  14. <CheckBox
  15. android:id="@+id/todoCheckBox"
  16. android:layout_width="wrap_content"
  17. android:layout_height="wrap_content"
  18. android:layout_centerHorizontal="true"
  19. android:buttonTint="@color/colorPrimaryDark"
  20. android:minHeight="48dp"
  21. android:paddingStart="8dp"
  22. tools:text="Go to the market and bring vegetables immediately today." />
  23. </RelativeLayout>
  24. </androidx.cardview.widget.CardView>