header_layout_check.xml 1.1 KB

123456789101112131415161718192021222324252627282930
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:id="@+id/relative_view"
  4. android:layout_width="match_parent"
  5. android:layout_height="wrap_content"
  6. android:paddingLeft="15dp"
  7. android:paddingRight="15dp">
  8. <RelativeLayout
  9. android:id="@+id/rel_view"
  10. android:layout_width="match_parent"
  11. android:layout_height="wrap_content">
  12. <TextView
  13. android:id="@+id/tv_hazard_name"
  14. android:layout_width="match_parent"
  15. android:layout_height="35dp"
  16. android:layout_marginTop="8dp"
  17. android:gravity="center_vertical"
  18. android:text="烘箱-H1002"
  19. android:textColor="@color/black" />
  20. <ImageView
  21. android:layout_width="wrap_content"
  22. android:layout_height="wrap_content"
  23. android:layout_alignParentRight="true"
  24. android:layout_centerVertical="true"
  25. android:background="@mipmap/icon_kzjc_zk" />
  26. </RelativeLayout>
  27. </LinearLayout>