zzz_common_title_layout.xml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. android:layout_width="match_parent"
  5. android:layout_height="@dimen/zzz_common_title_height"
  6. android:background="@drawable/zzz_dialog_title">
  7. <ImageView
  8. android:id="@+id/zzz_back"
  9. android:layout_width="wrap_content"
  10. android:layout_height="wrap_content"
  11. android:layout_centerVertical="true"
  12. android:layout_marginLeft="@dimen/zzz_second_title_back_marginRight"
  13. android:src="@drawable/zzz_back_src_light"/>
  14. <TextView
  15. android:id="@+id/zzz_title_name"
  16. android:layout_width="wrap_content"
  17. android:layout_height="match_parent"
  18. android:layout_centerInParent="true"
  19. android:ellipsize="end"
  20. android:gravity="center_vertical"
  21. android:singleLine="true"
  22. android:textColor="@color/zzz_common_title_text_color"
  23. android:textSize="@dimen/zzz_common_title_text_size"/>
  24. <ImageView
  25. android:id="@+id/zzz_close"
  26. android:layout_width="wrap_content"
  27. android:layout_height="wrap_content"
  28. android:layout_centerVertical="true"
  29. android:layout_alignParentRight="true"
  30. android:layout_marginLeft="@dimen/zzz_common_title_close_btn_margin_right"
  31. android:layout_marginRight="@dimen/zzz_common_title_close_btn_margin_right"
  32. android:src="@drawable/zzz_common_title_close"/>
  33. </RelativeLayout>