最終更新:2018-09-28 (金) 15:42:55 (2037d)  

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

定数

intLayoutParams.FILL_PARENT?-1Special value for the height or width requested by a View.(This value is deprecated starting in API Level 8 and replaced by MATCH_PARENT.)
intLayoutParams.MATCH_PARENT-1Special value for the height or width requested by a View.
intLayoutParams.WRAP_CONTENT-2Special value for the height or width requested by a View.