Search Results for

    Show / Hide Table of Contents

    Class LayoutManager

    A layout manager for Android.

    Inheritance
    System.Object
    Serializable
    Dynamic
    LayoutPreset
    LayoutManager<Android.Views.View>
    LayoutManager
    Inherited Members
    LayoutManager<View>.LayoutOrigin
    LayoutManager<View>.OnLayout
    LayoutManager<View>.GetLayout(Int32, Int32, Int32)
    LayoutManager<View>.GetLayout(Int32, Int32, Boolean, Int32)
    LayoutManager<View>.GetLayout(Int32, Int32, Int32, String[])
    LayoutManager<View>.GetLayout(Int32, Int32, Boolean, Int32, String[])
    LayoutManager<View>.GetLayout(Int32, Int32, Boolean, Int32, String[], Size, Size[])
    LayoutManager<View>.DoGetRemoteViews(String)
    LayoutManager<View>.DoGetRemoteViewsIds()
    LayoutManager<View>.DoGetLocalView()
    LayoutManager<View>.GetLocalView()
    LayoutManager<View>.SetLocalMedia(IViewableMedia<View>)
    LayoutManager<View>.SetLocalView(View)
    LayoutManager<View>.UnsetLocalView()
    LayoutManager<View>.GetRemoteView(String)
    LayoutManager<View>.AddRemoteMedia(IViewableMedia<View>)
    LayoutManager<View>.AddRemoteView(String, View)
    LayoutManager<View>.RemoveRemoteMedia(IViewableMedia<View>)
    LayoutManager<View>.RemoveRemoteView(String)
    LayoutManager<View>.SwapRemoteMedia(IViewableMedia<View>, IViewableMedia<View>)
    LayoutManager<View>.SwapRemoteView(String, String, View)
    LayoutManager<View>.GetRemoteViews(String[])
    LayoutManager<View>.AddRemoteViews(String[], View[])
    LayoutManager<View>.RemoveRemoteViews(String[])
    LayoutManager<View>.SwapRemoteViews(String[], String[], View[])
    LayoutManager<View>.GetRemoteViewIds()
    LayoutManager<View>.GetRemoteViews()
    LayoutManager<View>.RemoveRemoteViews()
    LayoutManager<View>.Reset()
    LayoutManager<View>.LayoutOnMainThread()
    LayoutPreset.Direction
    LayoutPreset.Alignment
    LayoutPreset.FloatWidthPercent
    LayoutPreset.FloatHeightPercent
    LayoutPreset.FloatMarginXPercent
    LayoutPreset.FloatMarginYPercent
    LayoutPreset.FloatWidth
    LayoutPreset.FloatHeight
    LayoutPreset.FloatMarginX
    LayoutPreset.FloatMarginY
    LayoutPreset.BlockWidthPercent
    LayoutPreset.BlockHeightPercent
    LayoutPreset.BlockMarginXPercent
    LayoutPreset.BlockMarginYPercent
    LayoutPreset.BlockWidth
    LayoutPreset.BlockHeight
    LayoutPreset.BlockMarginX
    LayoutPreset.BlockMarginY
    LayoutPreset.InlineMargin
    LayoutPreset.CopyToPreset(LayoutPreset)
    LayoutPreset.ApplyPreset(LayoutPreset)
    LayoutPreset.Skype
    LayoutPreset.GoogleHangouts
    LayoutPreset.Facetime
    LayoutPreset.CalculateLayout(Int32, Int32, Int32, LayoutOrigin)
    LayoutPreset.CalculateLayout(Int32, Int32, Boolean, Int32, LayoutOrigin, Size, Size[])
    Dynamic.DynamicProperties
    Dynamic.GetDynamicValue(String)
    Dynamic.SetDynamicValue(String, Object)
    Dynamic.UnsetDynamicValue(String)
    Serializable.IsDirty
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ToString()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: FM.LiveSwitch.Android
    Assembly: FM.LiveSwitch.Android.dll
    Syntax
    public class LayoutManager : LayoutManager<View>

    Constructors

    LayoutManager(ViewGroup)

    Initializes a new instance of the LayoutManager class.

    Declaration
    public LayoutManager(ViewGroup container)
    Parameters
    Type Name Description
    Android.Views.ViewGroup container

    The layout container.

    LayoutManager(ViewGroup, LayoutPreset)

    Initializes a new instance of the LayoutManager class.

    Declaration
    public LayoutManager(ViewGroup container, LayoutPreset preset)
    Parameters
    Type Name Description
    Android.Views.ViewGroup container

    The layout container.

    LayoutPreset preset

    The layout preset.

    Properties

    Container

    Gets the layout container.

    Declaration
    public ViewGroup Container { get; }
    Property Value
    Type Description
    Android.Views.ViewGroup

    Mode

    Gets or sets the mode used by the layout engine. Defaults to FloatLocal.

    Declaration
    public override LayoutMode Mode { get; set; }
    Property Value
    Type Description
    LayoutMode
    Overrides
    LayoutPreset.Mode

    Methods

    AddView(View)

    Adds a view to the container.

    Declaration
    protected override void AddView(View view)
    Parameters
    Type Name Description
    Android.Views.View view

    The view to add.

    Overrides
    FM.LiveSwitch.LayoutManager<Android.Views.View>.AddView(Android.Views.View)

    DispatchToMainThread(Action2<Object, Object>, Object, Object)

    Dispatches an action to the main thread.

    Declaration
    protected override void DispatchToMainThread(Action2<object, object> action, object arg1, object arg2)
    Parameters
    Type Name Description
    Action2<System.Object, System.Object> action

    The action to invoke.

    System.Object arg1

    The first argument.

    System.Object arg2

    The second argument.

    Overrides
    FM.LiveSwitch.LayoutManager<Android.Views.View>.DispatchToMainThread(FM.LiveSwitch.Action2<System.Object, System.Object>, System.Object, System.Object)

    InitializeLayout()

    Initializes the layout.

    Declaration
    protected bool InitializeLayout()
    Returns
    Type Description
    System.Boolean

    InitializeOnGlobalLayout()

    Attempts to initialize the layout using the global layout listener until successful.

    Declaration
    protected void InitializeOnGlobalLayout()

    Layout()

    Positions the local and remote views within the layout.

    Declaration
    public override void Layout()
    Overrides
    FM.LiveSwitch.LayoutManager<Android.Views.View>.Layout()

    RemoveView(View)

    Removes a view from the container.

    Declaration
    protected override void RemoveView(View view)
    Parameters
    Type Name Description
    Android.Views.View view

    The view to remove.

    Overrides
    FM.LiveSwitch.LayoutManager<Android.Views.View>.RemoveView(Android.Views.View)
    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.24.3