ListPopupWindow.SetDropDownGravity(GravityFlags) 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.
Set the gravity of the dropdown list.
[Android.Runtime.Register("setDropDownGravity", "(I)V", "GetSetDropDownGravity_IHandler")]
public virtual void SetDropDownGravity (Android.Views.GravityFlags gravity);
[<Android.Runtime.Register("setDropDownGravity", "(I)V", "GetSetDropDownGravity_IHandler")>]
abstract member SetDropDownGravity : Android.Views.GravityFlags -> unit
override this.SetDropDownGravity : Android.Views.GravityFlags -> unit
Parameters
- gravity
- GravityFlags
Gravity value to use
- Attributes
Remarks
Set the gravity of the dropdown list. This is commonly used to set gravity to START or END for alignment with the anchor.
Java documentation for android.widget.ListPopupWindow.setDropDownGravity(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.