Note: The Wearable Support Library classes under the android.support.wearable
package are subject to change. For the full Android API reference, see Reference.
java.lang.Object | ||||
↳ | android.view.ViewGroup.LayoutParams | |||
↳ | android.view.ViewGroup.MarginLayoutParams | |||
↳ | android.widget.FrameLayout.LayoutParams | |||
↳ | android.support.wearable.view.WearableFrameLayout.LayoutParams |
Per-child layout information for layouts on wearable devices.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.view.ViewGroup.LayoutParams
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
bottomMarginRound | |||||||||||
gravityRound | The gravity to apply with the View to which these layout parameters are associated on a round device. | ||||||||||
heightRound | |||||||||||
leftMarginRound | |||||||||||
rightMarginRound | |||||||||||
topMarginRound | |||||||||||
widthRound |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.widget.FrameLayout.LayoutParams
| |||||||||||
From class
android.view.ViewGroup.MarginLayoutParams
| |||||||||||
From class
android.view.ViewGroup.LayoutParams
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new set of layout parameters with the specified width, height and weight for
both square and round devices.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.view.ViewGroup.MarginLayoutParams
| |||||||||||
From class
android.view.ViewGroup.LayoutParams
| |||||||||||
From class
java.lang.Object
|
The gravity to apply with the View to which these layout parameters are associated on a round device.
Creates a new set of layout parameters with the specified width, height and weight for both square and round devices.
width | the width on a square device, either MATCH_PARENT ,
WRAP_CONTENT or a fixed size in pixels |
---|---|
height | the height, either MATCH_PARENT ,
WRAP_CONTENT or a fixed size in pixels |
gravity | the gravity |
widthRound | the width override for a round device, either MATCH_PARENT ,
WRAP_CONTENT or a fixed size in pixels |
heightRound | the height override for a round device, either MATCH_PARENT ,
WRAP_CONTENT or a fixed size in pixels |
gravityRound | the gravity override for a round device |