RelativeLayout¶
Declaration¶
- class enamlnative.widgets.relative_layout.RelativeLayout(parent=None, **kwargs)[source]¶
Bases:
enamlnative.widgets.view_group.ViewGroup
RelativeLayout is a view group that displays child views in relative positions.
- gravity¶
Describes how the child views are positioned. Defaults to Gravity.START | Gravity.TOP.
- horizontal_gravity¶
- vertical_gravity¶
- proxy¶
A reference to the ProxyLabel object.
Android Implementation¶
- class enamlnative.android.android_relative_layout.AndroidRelativeLayout[source]¶
Bases:
enamlnative.android.android_view_group.AndroidViewGroup
,enamlnative.widgets.relative_layout.ProxyRelativeLayout
An Android implementation of an Enaml ProxyRelativeLayout.
- widget¶
A reference to the widget created by the proxy.
No iOS implementation found.