我找不到LayoutParams构造函数参数的顺序和含义描述。在developer.android.com上,我只能找到以下信息:
WindowManager.LayoutParams()
WindowManager.LayoutParams(int _type)
WindowManager.LayoutParams(int _type, int _flags)
WindowManager.LayoutParams(int _type, int _flags, int _format)
WindowManager.LayoutParams(int w, int h, int _type, int _flags, int _format)
WindowManager.LayoutParams(int w, int h, int xpos, int ypos, int _type, int _flags, int _format)
WindowManager.LayoutParams(Parcel in)
没有进一步的描述,我假设例如 "int w" 设置了宽度参数。
有人知道哪里有一个好的描述吗?