View.SetMinimumWidth(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.
Sets the minimum width of the view.
[Android.Runtime.Register("setMinimumWidth", "(I)V", "GetSetMinimumWidth_IHandler")]
public virtual void SetMinimumWidth (int minWidth);
[<Android.Runtime.Register("setMinimumWidth", "(I)V", "GetSetMinimumWidth_IHandler")>]
abstract member SetMinimumWidth : int -> unit
override this.SetMinimumWidth : int -> unit
Parameters
- minWidth
- Int32
The minimum width the view will try to be, in pixels
- Attributes
Remarks
Sets the minimum width of the view. It is not guaranteed the view will be able to achieve this minimum width (for example, if its parent layout constrains it with less available width).
Java documentation for android.view.View.setMinimumWidth(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.