getWindowWidth

open fun getWindowWidth(activity: Activity): Float

获取指定 Window 的宽度

Return

返回宽度

Parameters

activity