語言

Build.VERSION_CODES.HoneycombMr2 欄位

定義

警告

This constant will be removed in the future version. Use Android.OS.BuildVersionCodes enum directly instead of this field.

H MR2。

[Android.Runtime.Register("HONEYCOMB_MR2")]
[System.Obsolete("This constant will be removed in the future version. Use Android.OS.BuildVersionCodes enum directly instead of this field.", true)]
public const Android.OS.BuildVersionCodes HoneycombMr2 = 13;
[<Android.Runtime.Register("HONEYCOMB_MR2")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.OS.BuildVersionCodes enum directly instead of this field.", true)>]
val mutable HoneycombMr2 : Android.OS.BuildVersionCodes

欄位值

Value = 13
屬性

備註

H MR2。

於 2011 年 7 月公開發佈為 Android 3.2。

更新到 Honeycomb MR1,以支援 7 吋平板,改善螢幕相容模式等等。

從這個版本開始,未說明是否支援 XLARGE 螢幕的應用程式,將被假定為只支援 #HONEYCOMB XLARGE 螢幕或更晚;過去 #GINGERBREAD 或更晚。 不支援螢幕尺寸至少與當前螢幕大小相當的應用程式,會提供使用者介面來切換到螢幕尺寸相容模式。

此版本引入了基於 dp 螢幕大小的新螢幕尺寸資源限定條件:參見 android.content.res.Configuration#screenWidthDp、 android.content.res.Configuration#screenHeightDp、 android.content.res.Configuration#smallestScreenWidthDp和 。 供應這些於 &;支持屏風!根據 android.content.pm.ApplicationInfo#requiresSmallestWidthDp、 android.content.pm.ApplicationInfo#compatibleWidthLimitDp,且 android.content.pm.ApplicationInfo#largestWidthLimitDp 比起舊式螢幕尺寸的桶更受青睞,對於較舊的裝置,將從中推斷出適當的桶。

針對此版本或後續版本的應用程式將獲得以下行為變更:

<烏爾><·李>

這次版本引入了新功能android.content.pm.PackageManager#FEATURE_SCREEN_PORTRAITandroid.content.pm.PackageManager#FEATURE_SCREEN_LANDSCAPE。 針對舊版平台的應用程式假設裝置同時支援直向與橫向;當針對蜂巢 MR1 或更高版本時,應用程式需負責指定所需的特定方向。

<李>

android.os.AsyncTask 在呼叫 android.os.AsyncTask#execute時預設會使用序列執行器。

<李>

android.content.pm.ActivityInfo#configChanges ActivityInfo.configChanges 會設定 android.content.pm.ActivityInfo#CONFIG_SCREEN_SIZE 和 android.content.pm.ActivityInfo#CONFIG_SMALLEST_SCREEN_SIZE 位元;這些位元需要清除給舊版應用程式,因為有些開發者會對這個值做絕對比較,而不是正確遮蔽他們感興趣的位元。 </ul>

的 android.os.Build.VERSION_CODES.HONEYCOMB_MR2Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於