最終更新:2018-09-28 (金) 15:42:55 (2008d)
ViewGroup.LayoutParams
Top / ViewGroup.LayoutParams
コンストラクタ
ViewGroup.LayoutParams(int width, int height)
メモ
- FILL_PARENT (renamed MATCH_PARENT in API Level 8 and higher), which means that the view wants to be as big as its parent (minus padding)
- WRAP_CONTENT, which means that the view wants to be just big enough to enclose its content (plus padding)
WindowManager.LayoutParams
定数
int | LayoutParams.FILL_PARENT? | -1 | Special value for the height or width requested by a View.(This value is deprecated starting in API Level 8 and replaced by MATCH_PARENT.) |
int | LayoutParams.MATCH_PARENT | -1 | Special value for the height or width requested by a View. |
int | LayoutParams.WRAP_CONTENT | -2 | Special value for the height or width requested by a View. |