bssdk_toast_custom.xml 1.3 KB

123456789101112131415161718192021222324252627282930313233
  1. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2. xmlns:tools="http://schemas.android.com/tools"
  3. android:layout_width="wrap_content"
  4. android:layout_height="wrap_content"
  5. android:layout_marginTop="@dimen/DIMEN_150DP"
  6. android:gravity="center_horizontal"
  7. android:orientation="vertical"
  8. android:padding="@dimen/DIMEN_20DP">
  9. <LinearLayout
  10. android:layout_width="wrap_content"
  11. android:layout_height="wrap_content"
  12. android:background="@drawable/bssdk_toast_custom_bg"
  13. android:gravity="center"
  14. android:orientation="vertical"
  15. android:paddingLeft="@dimen/DIMEN_10DP"
  16. android:paddingRight="@dimen/DIMEN_10DP">
  17. <TextView
  18. android:id="@+id/tv_toast_custom"
  19. android:layout_width="wrap_content"
  20. android:layout_height="wrap_content"
  21. android:layout_marginLeft="@dimen/DIMEN_25DP"
  22. android:layout_marginTop="@dimen/DIMEN_12DP"
  23. android:layout_marginRight="@dimen/DIMEN_25DP"
  24. android:layout_marginBottom="@dimen/DIMEN_12DP"
  25. android:textColor="@color/white"
  26. android:textSize="@dimen/TEXT_SIZE_12SP"
  27. tools:text="asdfasdfasdf" />
  28. </LinearLayout>
  29. </LinearLayout>