tysdkn_window_msg.xml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  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="match_parent">
  5. <RelativeLayout
  6. android:id="@+id/tysdkn_window_msg_location"
  7. android:layout_width="343dp"
  8. android:layout_height="27dp"
  9. android:layout_centerHorizontal="true"
  10. android:layout_marginTop="33dp"
  11. android:background="@drawable/tysdkn_bg_window_public"
  12. >
  13. <TextView
  14. android:id="@+id/tysdkn_window_msg_text"
  15. android:layout_width="match_parent"
  16. android:layout_height="27dp"
  17. android:singleLine="true"
  18. android:ellipsize="marquee"
  19. android:focusable="true"
  20. android:focusableInTouchMode="true"
  21. android:gravity="center"
  22. android:layout_marginLeft="10dp"
  23. android:layout_marginRight="47dp"
  24. />
  25. <ImageView
  26. android:id="@+id/tysdkn_window_msg_dismiss"
  27. android:layout_width="17dp"
  28. android:layout_height="17dp"
  29. android:background="@drawable/tysdkn_window_close_blue"
  30. android:clickable="true"
  31. android:layout_marginRight="6dp"
  32. android:layout_centerVertical="true"
  33. android:layout_alignParentRight="true"
  34. />
  35. </RelativeLayout>
  36. </RelativeLayout>