Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
org.qtproject.qt.android.QtLayout.LayoutParams Class Reference
+ Inheritance diagram for org.qtproject.qt.android.QtLayout.LayoutParams:
+ Collaboration diagram for org.qtproject.qt.android.QtLayout.LayoutParams:

Public Member Functions

 LayoutParams (int width, int height, int x, int y)
 
 LayoutParams (int width, int height)
 
 LayoutParams (ViewGroup.LayoutParams source)
 

Public Attributes

int x
 
int y
 

Detailed Description

Per-child layout information associated with AbsoluteLayout. See {android.R.styleable::AbsoluteLayout_Layout Absolute Layout Attributes} for a list of all child view attributes that this class supports.

Definition at line 129 of file QtLayout.java.

Constructor & Destructor Documentation

◆ LayoutParams() [1/3]

org.qtproject.qt.android.QtLayout.LayoutParams.LayoutParams ( int width,
int height,
int x,
int y )
inline

Creates a new set of layout parameters with the specified width, height and location.

Parameters
widththe width, either FILL_PARENT, WRAP_CONTENT or a fixed size in pixels
heightthe height, either FILL_PARENT, WRAP_CONTENT or a fixed size in pixels
xthe X location of the child
ythe Y location of the child

Definition at line 151 of file QtLayout.java.

References org.qtproject.qt.android.QtLayout.LayoutParams.x, and org.qtproject.qt.android.QtLayout.LayoutParams.y.

◆ LayoutParams() [2/3]

org.qtproject.qt.android.QtLayout.LayoutParams.LayoutParams ( int width,
int height )
inline

Definition at line 158 of file QtLayout.java.

◆ LayoutParams() [3/3]

org.qtproject.qt.android.QtLayout.LayoutParams.LayoutParams ( ViewGroup.LayoutParams source)
inline

Definition at line 166 of file QtLayout.java.

Member Data Documentation

◆ x

int org.qtproject.qt.android.QtLayout.LayoutParams.x

The horizontal, or X, location of the child within the view group.

Definition at line 134 of file QtLayout.java.

Referenced by org.qtproject.qt.android.QtLayout.LayoutParams.LayoutParams().

◆ y

int org.qtproject.qt.android.QtLayout.LayoutParams.y

The vertical, or Y, location of the child within the view group.

Definition at line 138 of file QtLayout.java.

Referenced by org.qtproject.qt.android.QtLayout.LayoutParams.LayoutParams().


The documentation for this class was generated from the following file: