iApp设置tws背景和高度

//需要一个容器
gvs(1,view)
java(snk,null,"android.support.design.widget.Snackbar.make","android.view.View",view,"java.lang.CharSequence","Snkbar,后面number单位是毫秒","int",3000)
 
javax(get,snk,"android.support.design.widget.BaseTransientBottomBar","getView")
us(get,"backgroundcolor","#ff3f51b5")
//us(get,"background","@chbar.jpg")
//可以设置图片背景
//us(get,"height","300dp")
//可以设置高度
java(null, snk, "android.support.design.widget.BaseTransientBottomBar.show")

//
发表评论 / Comment

用心评论~