RelativeLayout.SetIgnoreGravity(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines which View is ignored when the gravity is applied.
[Android.Runtime.Register("setIgnoreGravity", "(I)V", "GetSetIgnoreGravity_IHandler")]
public virtual void SetIgnoreGravity (int viewId);
[<Android.Runtime.Register("setIgnoreGravity", "(I)V", "GetSetIgnoreGravity_IHandler")>]
abstract member SetIgnoreGravity : int -> unit
override this.SetIgnoreGravity : int -> unit
Parameters
- viewId
- Int32
The id of the View to be ignored by gravity, or 0 if no View should be ignored.
- Attributes
Remarks
Defines which View is ignored when the gravity is applied. This setting has no effect if the gravity is Gravity.START | Gravity.TOP
.
Java documentation for android.widget.RelativeLayout.setIgnoreGravity(int)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.