LinearLayout¶
Declaration¶
- class enamlnative.widgets.linear_layout.LinearLayout(parent=None, **kwargs)[source]¶
Bases:
enamlnative.widgets.view_group.ViewGroup
A simple control for displaying read-only text.
- orientation¶
Should the layout be a column or a row.
- proxy¶
A reference to the ProxyLabel object.
Android Implementation¶
- class enamlnative.android.android_linear_layout.AndroidLinearLayout[source]¶
Bases:
enamlnative.android.android_view_group.AndroidViewGroup
,enamlnative.widgets.linear_layout.ProxyLinearLayout
An Android implementation of an Enaml ProxyLinearLayout.
- widget¶
A reference to the widget created by the proxy.
- layout_param_type¶
Use LinearLayout params
- 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.