FrameLayout¶
Declaration¶
- class enamlnative.widgets.frame_layout.FrameLayout(parent=None, **kwargs)[source]¶
Bases:
enamlnative.widgets.view_group.ViewGroup
FrameLayout is a view group that displays child views in relative positions.
- foreground_gravity¶
Describes how the child views are positioned. Defaults to Gravity.START | Gravity.TOP.
- proxy¶
A reference to the ProxyLabel object.
Android Implementation¶
- class enamlnative.android.android_frame_layout.AndroidFrameLayout[source]¶
Bases:
enamlnative.android.android_view_group.AndroidViewGroup
,enamlnative.widgets.frame_layout.ProxyFrameLayout
An Android implementation of an Enaml ProxyFrameLayout.
- widget¶
A reference to the widget created by the proxy.
- layout_param_type¶
Update default
- create_layout_params(child, layout)[source]¶
Create the LayoutParams for a child with it’s requested layout parameters. Subclasses should override this as needed to handle layout specific needs.
- Parameters
- Returns
layout_params – A LayoutParams bridge object with the requested layout options.
- Return type
LayoutParams
No iOS implementation found.