Configuration.IsScreenRound 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.
Return whether the screen has a round shape.
public bool IsScreenRound { [Android.Runtime.Register("isScreenRound", "()Z", "", ApiSince=23)] get; }
[<get: Android.Runtime.Register("isScreenRound", "()Z", "", ApiSince=23)>]
member this.IsScreenRound : bool
Property Value
true if the screen is rounded, false otherwise
- Attributes
Remarks
Return whether the screen has a round shape. Apps may choose to change styling based on this property, such as the alignment or layout of text or informational icons.
Java documentation for android.content.res.Configuration.isScreenRound()
.
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.