item_template.xml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="wrap_content"
  5. android:orientation="vertical">
  6. <include layout="@layout/view_divider_common"/>
  7. <FrameLayout
  8. android:id="@+id/rl_template"
  9. android:layout_width="match_parent"
  10. android:layout_height="wrap_content"
  11. android:layout_marginTop="@dimen/margin_s"
  12. android:background="@color/white"
  13. android:foreground="@drawable/selectable_item_background">
  14. <LinearLayout
  15. android:layout_width="match_parent"
  16. android:layout_height="wrap_content"
  17. android:orientation="vertical">
  18. <ImageView
  19. android:id="@+id/iv_template"
  20. android:layout_width="match_parent"
  21. android:layout_height="@dimen/height_cover"
  22. android:src="@mipmap/logo_gray" />
  23. <TextView
  24. android:id="@+id/tv_template"
  25. android:layout_width="match_parent"
  26. android:layout_height="wrap_content"
  27. android:padding="@dimen/margin_s"
  28. android:textColor="@color/black_theme" />
  29. </LinearLayout>
  30. </FrameLayout>
  31. <include layout="@layout/view_divider_common"/>
  32. </LinearLayout>