md_listitem_multichoice.xml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2. xmlns:tools="http://schemas.android.com/tools"
  3. android:orientation="horizontal"
  4. android:layout_width="match_parent"
  5. android:layout_height="wrap_content"
  6. android:descendantFocusability="blocksDescendants"
  7. tools:gravity="start|center_vertical"
  8. android:paddingLeft="@dimen/md_dialog_frame_margin"
  9. android:paddingStart="@dimen/md_dialog_frame_margin"
  10. android:paddingRight="@dimen/md_dialog_frame_margin"
  11. android:paddingEnd="@dimen/md_dialog_frame_margin">
  12. <TextView
  13. android:id="@+id/title"
  14. android:layout_width="wrap_content"
  15. android:layout_height="wrap_content"
  16. android:minHeight="@dimen/md_listitem_height"
  17. tools:text="Item"
  18. android:gravity="center_vertical"
  19. android:textSize="@dimen/md_listitem_textsize"
  20. android:paddingRight="@dimen/md_listitem_control_margin"
  21. android:paddingEnd="@dimen/md_listitem_control_margin"
  22. tools:ignore="RtlSymmetry" />
  23. <CheckBox
  24. android:id="@+id/control"
  25. android:layout_width="wrap_content"
  26. android:layout_height="wrap_content"
  27. android:minHeight="@dimen/md_listitem_height"
  28. android:clickable="false"
  29. android:gravity="center_vertical"
  30. android:focusable="false"
  31. android:focusableInTouchMode="false" />
  32. </LinearLayout>