ListPopupWindow.SetContentWidth(Int32) Method

Definition

Sets the width of the popup window by the size of its content.

[Android.Runtime.Register("setContentWidth", "(I)V", "GetSetContentWidth_IHandler")]
public virtual void SetContentWidth (int width);
[<Android.Runtime.Register("setContentWidth", "(I)V", "GetSetContentWidth_IHandler")>]
abstract member SetContentWidth : int -> unit
override this.SetContentWidth : int -> unit

Parameters

width
Int32

Desired width of content in pixels.

Attributes

Remarks

Sets the width of the popup window by the size of its content. The final width may be larger to accommodate styled window dressing.

Java documentation for android.widget.ListPopupWindow.setContentWidth(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.

Applies to