Share via


SearchView.SetMaxWidth(Int32) Method

Definition

Makes the view at most this many pixels wide

[Android.Runtime.Register("setMaxWidth", "(I)V", "GetSetMaxWidth_IHandler")]
public virtual void SetMaxWidth (int maxpixels);
[<Android.Runtime.Register("setMaxWidth", "(I)V", "GetSetMaxWidth_IHandler")>]
abstract member SetMaxWidth : int -> unit
override this.SetMaxWidth : int -> unit

Parameters

maxpixels
Int32
Attributes

Remarks

Makes the view at most this many pixels wide

Java documentation for android.widget.SearchView.setMaxWidth(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