x7_speed_up_notice.xml 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="wrap_content"
  5. android:background="@color/x7_half_transparent"
  6. android:orientation="horizontal"
  7. android:paddingLeft="20dp"
  8. android:paddingRight="20dp">
  9. <TextView
  10. android:id="@+id/tv_speed_up_hint"
  11. android:layout_width="match_parent"
  12. android:layout_height="wrap_content"
  13. android:layout_toLeftOf="@+id/iv_close_notice_hint"
  14. android:layout_centerVertical="true"
  15. android:marqueeRepeatLimit="marquee_forever"
  16. android:singleLine="true"
  17. android:ellipsize="marquee"
  18. android:focusable="true"
  19. android:focusableInTouchMode="true"
  20. android:textColor="@color/x7_green_12cdb0"
  21. android:textSize="15dp" />
  22. <ImageView
  23. android:id="@+id/iv_close_notice_hint"
  24. android:layout_width="28dp"
  25. android:layout_height="40dp"
  26. android:paddingLeft="10dp"
  27. android:paddingTop="10dp"
  28. android:paddingBottom="10dp"
  29. android:layout_alignParentRight="true"
  30. android:layout_centerVertical="true"
  31. android:src="@drawable/x7_gonggao_cancell" />
  32. </RelativeLayout>