Configuration.SmallestScreenWidthDp 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
应用程序将在正常操作中看到的最小屏幕大小。
[Android.Runtime.Register("smallestScreenWidthDp")]
public int SmallestScreenWidthDp { get; set; }
[<Android.Runtime.Register("smallestScreenWidthDp")>]
member this.SmallestScreenWidthDp : int with get, set
属性值
应用程序在正常操作、与密度无关的像素或未指定时遇到的最小屏幕宽度为 0。
- 特性
注解
应用程序将在正常操作中看到的最小屏幕大小。 对应于 最小宽度 资源限定符。 这是纵向和横向的最小值#screenWidthDp#screenHeightDp。 如果未指定宽度,则默认为
Java文档android.content.res.Configuration.smallestScreenWidthDp。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。