com_lenovo_lsf_toast.xml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2. android:id="@+id/mbContainer"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. android:layout_marginBottom="60dp"
  6. android:gravity="bottom|center"
  7. android:orientation="vertical"
  8. android:paddingLeft="50dp"
  9. android:paddingRight="50dp">
  10. <LinearLayout android:id="@+id/toast_linear"
  11. android:layout_width="wrap_content"
  12. android:layout_height="wrap_content"
  13. android:orientation="vertical"
  14. android:layout_marginBottom="50dp"
  15. android:padding="8dp">
  16. <TextView android:id="@+id/mbMessage"
  17. android:layout_width="match_parent"
  18. android:layout_height="wrap_content"
  19. android:layout_gravity="center_vertical"
  20. android:layout_margin="5dp"
  21. android:paddingTop="12dp"
  22. android:paddingBottom="12dp"
  23. android:paddingLeft="20dp"
  24. android:paddingRight="20dp"
  25. android:layout_weight="1"
  26. android:gravity="center"
  27. android:alpha="0.5"
  28. android:background="@drawable/com_lenovo_shape_toast_bg"
  29. android:shadowColor="#BB000000"
  30. android:shadowRadius="2.75"
  31. android:textSize="13sp"
  32. android:textColor="#ffffff" />
  33. </LinearLayout>
  34. </LinearLayout>