布局可以用系统的布局 不然不同手机布局不一致
Wenlong-Guo opened this issue · 1 comments
Wenlong-Guo commented
// toast距离底部边距的dimenId
int yOffsetId = Resources.getSystem().getIdentifier("toast_y_offset", "dimen", "android");
// toast默认布局
int layoutId = Resources.getSystem().getIdentifier("transient_notification", "layout", "android");
Dovar66 commented
setView()支持修改布局,你可以自行修改