hnyy_toast_style.xml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  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="33dp"
  11. android:background="@drawable/hnyy_radius_white_1dp"
  12. android:orientation="horizontal">
  13. <ImageView
  14. android:id="@+id/toast_iv"
  15. android:layout_width="22dp"
  16. android:layout_height="22dp"
  17. android:layout_gravity="center_vertical"
  18. android:layout_marginLeft="10dp" />
  19. <TextView
  20. android:id="@+id/toast_text"
  21. android:layout_width="match_parent"
  22. android:layout_height="wrap_content"
  23. android:layout_gravity="center_vertical"
  24. android:layout_marginLeft="10dp"
  25. android:layout_marginRight="10dp"
  26. android:gravity="center"
  27. android:maxLines="1"
  28. android:textColor="#666666"
  29. android:textSize="15dp" />
  30. </LinearLayout>
  31. </LinearLayout>