Configuration.IsScreenRound Property
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
true if the screen is rounded, false otherwise
- Attributes
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.
Produkt | Versioner |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35 |