WindowManager.LayoutParams构造函数的参数顺序和含义是什么?

3

我找不到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" 设置了宽度参数。

有人知道哪里有一个好的描述吗?

1个回答

0

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接