WindowManagerLayoutParams.HorizontalWeight Property
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.
Indicates how much of the extra space will be allocated horizontally to the view associated with these LayoutParams.
[Android.Runtime.Register("horizontalWeight")]
public float HorizontalWeight { get; set; }
[<Android.Runtime.Register("horizontalWeight")>]
member this.HorizontalWeight : single with get, set
Property Value
- Attributes
Remarks
Indicates how much of the extra space will be allocated horizontally to the view associated with these LayoutParams. Specify 0 if the view should not be stretched. Otherwise the extra pixels will be pro-rated among all views whose weight is greater than 0.
Java documentation for android.view.WindowManager.LayoutParams.horizontalWeight
.
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.