yyrh_toast_style.xml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  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="match_parent"
  5. android:orientation="vertical"
  6. android:gravity="center"
  7. >
  8. <LinearLayout
  9. android:layout_width="wrap_content"
  10. android:layout_height="46dp"
  11. android:background="@drawable/yyrh_radius_white_1dp"
  12. android:orientation="horizontal">
  13. <ImageView
  14. android:id="@+id/yyrh_toast_iv"
  15. android:layout_width="22dp"
  16. android:layout_height="22dp"
  17. android:layout_marginLeft="10dp"
  18. android:layout_gravity="center_vertical"
  19. />
  20. <TextView
  21. android:id="@+id/yyrh_toast_text"
  22. android:layout_width="match_parent"
  23. android:layout_height="wrap_content"
  24. android:gravity="center"
  25. android:maxLines="1"
  26. android:layout_marginLeft="10dp"
  27. android:layout_marginRight="10dp"
  28. android:layout_gravity="center_vertical"
  29. android:textColor="#666666"
  30. android:textSize="15dp"/>
  31. </LinearLayout>
  32. </LinearLayout>