Class ViewGroup
public class ViewGroup : View, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IAccessibilityEventSource, IViewParent, IViewManager
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<View>ViewGroup
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Derived
- Inherited Members
-
JVMBridgeBase<View>.SExecuteWithSignature<TReturn>(Type, IJavaType, string, string, params object[])JVMBridgeBase<View>.IsAssignableFrom(IJavaType)JVMBridgeBase<View>.IsAssignableFrom<T>()JVMBridgeBase<View>.Execute<T>(params T[])JVMBridgeBase<View>.DynBridgeClazzJVMBridgeBase<View>.BridgeClazzJVMBridgeBase.RuntimeClassNameOf<T>()JVMBridgeBase.ClassNameOf<T>()JVMBridgeBase.ClassOf<T>()JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)JVMBridgeBase.MonitorEnter()JVMBridgeBase.MonitorExit()JVMBridgeBase.IsInstanceOf(IJavaType)JVMBridgeBase.IsInstanceOf<T>()JVMBridgeBase.RuntimeIsInstanceOf<T>()JVMBridgeBase.CastTo<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.Dispose()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
- Extension Methods
Constructors
ViewGroup()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
[Obsolete("ViewGroup class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public ViewGroup()
ViewGroup(Context)
public ViewGroup(Context arg0)
Parameters
ViewGroup(Context, AttributeSet)
public ViewGroup(Context arg0, AttributeSet arg1)
Parameters
arg0
Contextarg1
AttributeSet
ViewGroup(Context, AttributeSet, int)
public ViewGroup(Context arg0, AttributeSet arg1, int arg2)
Parameters
arg0
Contextarg1
AttributeSetarg2
int
ViewGroup(Context, AttributeSet, int, int)
public ViewGroup(Context arg0, AttributeSet arg1, int arg2, int arg3)
Parameters
arg0
Contextarg1
AttributeSetarg2
intarg3
int
ViewGroup(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
[Obsolete("ViewGroup class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public ViewGroup(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
FOCUS_AFTER_DESCENDANTS
public static int FOCUS_AFTER_DESCENDANTS { get; }
Property Value
FOCUS_BEFORE_DESCENDANTS
public static int FOCUS_BEFORE_DESCENDANTS { get; }
Property Value
FOCUS_BLOCK_DESCENDANTS
public static int FOCUS_BLOCK_DESCENDANTS { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
LAYOUT_MODE_CLIP_BOUNDS
public static int LAYOUT_MODE_CLIP_BOUNDS { get; }
Property Value
LAYOUT_MODE_OPTICAL_BOUNDS
public static int LAYOUT_MODE_OPTICAL_BOUNDS { get; }
Property Value
PERSISTENT_ALL_CACHES
[Obsolete]
public static int PERSISTENT_ALL_CACHES { get; }
Property Value
PERSISTENT_ANIMATION_CACHE
[Obsolete]
public static int PERSISTENT_ANIMATION_CACHE { get; }
Property Value
PERSISTENT_NO_CACHE
[Obsolete]
public static int PERSISTENT_NO_CACHE { get; }
Property Value
PERSISTENT_SCROLLING_CACHE
[Obsolete]
public static int PERSISTENT_SCROLLING_CACHE { get; }
Property Value
Methods
AddStatesFromChildren()
public bool AddStatesFromChildren()
Returns
AddView(View)
public void AddView(View arg0)
Parameters
AddView(View, LayoutParams)
public void AddView(View arg0, ViewGroup.LayoutParams arg1)
Parameters
arg0
Viewarg1
ViewGroup.LayoutParams
AddView(View, int)
public void AddView(View arg0, int arg1)
Parameters
AddView(View, int, LayoutParams)
public void AddView(View arg0, int arg1, ViewGroup.LayoutParams arg2)
Parameters
arg0
Viewarg1
intarg2
ViewGroup.LayoutParams
AddView(View, int, int)
public void AddView(View arg0, int arg1, int arg2)
Parameters
BringChildToFront(View)
public void BringChildToFront(View arg0)
Parameters
ChildDrawableStateChanged(View)
public void ChildDrawableStateChanged(View arg0)
Parameters
ChildHasTransientStateChanged(View, bool)
public void ChildHasTransientStateChanged(View arg0, bool arg1)
Parameters
ClearChildFocus(View)
public void ClearChildFocus(View arg0)
Parameters
ClearDisappearingChildren()
public void ClearDisappearingChildren()
DispatchSetActivated(bool)
public void DispatchSetActivated(bool arg0)
Parameters
DispatchSetSelected(bool)
public void DispatchSetSelected(bool arg0)
Parameters
EndViewTransition(View)
public void EndViewTransition(View arg0)
Parameters
FindOnBackInvokedDispatcherForChild(View, View)
public OnBackInvokedDispatcher FindOnBackInvokedDispatcherForChild(View arg0, View arg1)
Parameters
Returns
FocusSearch(View, int)
public View FocusSearch(View arg0, int arg1)
Parameters
Returns
FocusableViewAvailable(View)
public void FocusableViewAvailable(View arg0)
Parameters
GenerateLayoutParams(AttributeSet)
public ViewGroup.LayoutParams GenerateLayoutParams(AttributeSet arg0)
Parameters
arg0
AttributeSet
Returns
GetChildAt(int)
public View GetChildAt(int arg0)
Parameters
Returns
GetChildCount()
public int GetChildCount()
Returns
GetChildDrawingOrder(int)
public int GetChildDrawingOrder(int arg0)
Parameters
Returns
GetChildMeasureSpec(int, int, int)
https://developer.android.com/reference/android/view/ViewGroup.html#getChildMeasureSpec(int,int,int)
public static int GetChildMeasureSpec(int arg0, int arg1, int arg2)
Parameters
Returns
GetChildVisibleRect(View, Rect, Point)
public bool GetChildVisibleRect(View arg0, Rect arg1, Point arg2)
Parameters
Returns
GetClipChildren()
public bool GetClipChildren()
Returns
GetClipToPadding()
public bool GetClipToPadding()
Returns
GetDescendantFocusability()
public int GetDescendantFocusability()
Returns
GetFocusedChild()
public View GetFocusedChild()
Returns
GetLayoutAnimation()
public LayoutAnimationController GetLayoutAnimation()
Returns
GetLayoutAnimationListener()
public Animation.AnimationListener GetLayoutAnimationListener()
Returns
GetLayoutAnimationListenerDirect()
public Animation.AnimationListener GetLayoutAnimationListenerDirect()
Returns
GetLayoutMode()
public int GetLayoutMode()
Returns
GetLayoutTransition()
public LayoutTransition GetLayoutTransition()
Returns
GetNestedScrollAxes()
public int GetNestedScrollAxes()
Returns
GetPersistentDrawingCache()
[Obsolete]
public int GetPersistentDrawingCache()
Returns
GetTouchscreenBlocksFocus()
public bool GetTouchscreenBlocksFocus()
Returns
IndexOfChild(View)
public int IndexOfChild(View arg0)
Parameters
Returns
InvalidateChild(View, Rect)
[Obsolete]
public void InvalidateChild(View arg0, Rect arg1)
Parameters
InvalidateChildInParent(int[], Rect)
[Obsolete]
public ViewParent InvalidateChildInParent(int[] arg0, Rect arg1)
Parameters
Returns
IsAlwaysDrawnWithCacheEnabled()
[Obsolete]
public bool IsAlwaysDrawnWithCacheEnabled()
Returns
IsAnimationCacheEnabled()
[Obsolete]
public bool IsAnimationCacheEnabled()
Returns
IsLayoutSuppressed()
public bool IsLayoutSuppressed()
Returns
IsMotionEventSplittingEnabled()
public bool IsMotionEventSplittingEnabled()
Returns
IsTransitionGroup()
public bool IsTransitionGroup()
Returns
NotifySubtreeAccessibilityStateChanged(View, View, int)
public void NotifySubtreeAccessibilityStateChanged(View arg0, View arg1, int arg2)
Parameters
OffsetDescendantRectToMyCoords(View, Rect)
public void OffsetDescendantRectToMyCoords(View arg0, Rect arg1)
Parameters
OffsetRectIntoDescendantCoords(View, Rect)
public void OffsetRectIntoDescendantCoords(View arg0, Rect arg1)
Parameters
OnDescendantInvalidated(View, View)
public void OnDescendantInvalidated(View arg0, View arg1)
Parameters
OnInterceptHoverEvent(MotionEvent)
public bool OnInterceptHoverEvent(MotionEvent arg0)
Parameters
arg0
MotionEvent
Returns
OnInterceptTouchEvent(MotionEvent)
public bool OnInterceptTouchEvent(MotionEvent arg0)
Parameters
arg0
MotionEvent
Returns
OnNestedFling(View, float, float, bool)
public bool OnNestedFling(View arg0, float arg1, float arg2, bool arg3)
Parameters
Returns
OnNestedPreFling(View, float, float)
public bool OnNestedPreFling(View arg0, float arg1, float arg2)
Parameters
Returns
OnNestedPrePerformAccessibilityAction(View, int, Bundle)
public bool OnNestedPrePerformAccessibilityAction(View arg0, int arg1, Bundle arg2)
Parameters
Returns
OnNestedPreScroll(View, int, int, int[])
public void OnNestedPreScroll(View arg0, int arg1, int arg2, int[] arg3)
Parameters
OnNestedScroll(View, int, int, int, int)
public void OnNestedScroll(View arg0, int arg1, int arg2, int arg3, int arg4)
Parameters
OnNestedScrollAccepted(View, View, int)
public void OnNestedScrollAccepted(View arg0, View arg1, int arg2)
Parameters
OnRequestSendAccessibilityEvent(View, AccessibilityEvent)
public bool OnRequestSendAccessibilityEvent(View arg0, AccessibilityEvent arg1)
Parameters
arg0
Viewarg1
AccessibilityEvent
Returns
OnStartNestedScroll(View, View, int)
public bool OnStartNestedScroll(View arg0, View arg1, int arg2)
Parameters
Returns
OnStopNestedScroll(View)
public void OnStopNestedScroll(View arg0)
Parameters
OnViewAdded(View)
public void OnViewAdded(View arg0)
Parameters
OnViewRemoved(View)
https://developer.android.com/reference/android/view/ViewGroup.html#onViewRemoved(android.view.View)
public void OnViewRemoved(View arg0)
Parameters
RecomputeViewAttributes(View)
public void RecomputeViewAttributes(View arg0)
Parameters
RemoveAllViews()
public void RemoveAllViews()
RemoveAllViewsInLayout()
public void RemoveAllViewsInLayout()
RemoveView(View)
public void RemoveView(View arg0)
Parameters
RemoveViewAt(int)
public void RemoveViewAt(int arg0)
Parameters
RemoveViewInLayout(View)
public void RemoveViewInLayout(View arg0)
Parameters
RemoveViews(int, int)
public void RemoveViews(int arg0, int arg1)
Parameters
RemoveViewsInLayout(int, int)
public void RemoveViewsInLayout(int arg0, int arg1)
Parameters
RequestChildFocus(View, View)
public void RequestChildFocus(View arg0, View arg1)
Parameters
RequestChildRectangleOnScreen(View, Rect, bool)
public bool RequestChildRectangleOnScreen(View arg0, Rect arg1, bool arg2)
Parameters
Returns
RequestDisallowInterceptTouchEvent(bool)
public void RequestDisallowInterceptTouchEvent(bool arg0)
Parameters
RequestSendAccessibilityEvent(View, AccessibilityEvent)
public bool RequestSendAccessibilityEvent(View arg0, AccessibilityEvent arg1)
Parameters
arg0
Viewarg1
AccessibilityEvent
Returns
RequestTransparentRegion(View)
public void RequestTransparentRegion(View arg0)
Parameters
ScheduleLayoutAnimation()
public void ScheduleLayoutAnimation()
SetAddStatesFromChildren(bool)
public void SetAddStatesFromChildren(bool arg0)
Parameters
SetAlwaysDrawnWithCacheEnabled(bool)
[Obsolete]
public void SetAlwaysDrawnWithCacheEnabled(bool arg0)
Parameters
SetAnimationCacheEnabled(bool)
[Obsolete]
public void SetAnimationCacheEnabled(bool arg0)
Parameters
SetClipChildren(bool)
public void SetClipChildren(bool arg0)
Parameters
SetClipToPadding(bool)
public void SetClipToPadding(bool arg0)
Parameters
SetDescendantFocusability(int)
public void SetDescendantFocusability(int arg0)
Parameters
SetLayoutAnimation(LayoutAnimationController)
public void SetLayoutAnimation(LayoutAnimationController arg0)
Parameters
SetLayoutAnimationListener(AnimationListener)
public void SetLayoutAnimationListener(Animation.AnimationListener arg0)
Parameters
SetLayoutMode(int)
public void SetLayoutMode(int arg0)
Parameters
SetLayoutTransition(LayoutTransition)
public void SetLayoutTransition(LayoutTransition arg0)
Parameters
SetMotionEventSplittingEnabled(bool)
public void SetMotionEventSplittingEnabled(bool arg0)
Parameters
SetOnHierarchyChangeListener(OnHierarchyChangeListener)
public void SetOnHierarchyChangeListener(ViewGroup.OnHierarchyChangeListener arg0)
Parameters
SetPersistentDrawingCache(int)
[Obsolete]
public void SetPersistentDrawingCache(int arg0)
Parameters
SetTouchscreenBlocksFocus(bool)
public void SetTouchscreenBlocksFocus(bool arg0)
Parameters
SetTransitionGroup(bool)
public void SetTransitionGroup(bool arg0)
Parameters
ShouldDelayChildPressedState()
public bool ShouldDelayChildPressedState()
Returns
ShowContextMenuForChild(View)
public bool ShowContextMenuForChild(View arg0)
Parameters
Returns
ShowContextMenuForChild(View, float, float)
public bool ShowContextMenuForChild(View arg0, float arg1, float arg2)
Parameters
Returns
StartActionModeForChild(View, Callback)
public ActionMode StartActionModeForChild(View arg0, ActionMode.Callback arg1)
Parameters
arg0
Viewarg1
ActionMode.Callback
Returns
StartActionModeForChild(View, Callback, int)
public ActionMode StartActionModeForChild(View arg0, ActionMode.Callback arg1, int arg2)
Parameters
arg0
Viewarg1
ActionMode.Callbackarg2
int
Returns
StartLayoutAnimation()
public void StartLayoutAnimation()
StartViewTransition(View)
public void StartViewTransition(View arg0)
Parameters
SuppressLayout(bool)
public void SuppressLayout(bool arg0)
Parameters
UpdateViewLayout(View, LayoutParams)
public void UpdateViewLayout(View arg0, ViewGroup.LayoutParams arg1)
Parameters
arg0
Viewarg1
ViewGroup.LayoutParams
Operators
implicit operator ViewManager(ViewGroup)
Converter from ViewGroup to ViewManager
public static implicit operator ViewManager(ViewGroup t)
Parameters
Returns
implicit operator ViewParent(ViewGroup)
Converter from ViewGroup to ViewParent
public static implicit operator ViewParent(ViewGroup t)