語言

Activity.RequestWindowFeature(WindowFeatures) 方法

定義

啟用擴充視窗功能。

[Android.Runtime.Register("requestWindowFeature", "(I)Z", "")]
public bool RequestWindowFeature(Android.Views.WindowFeatures featureId);
[<Android.Runtime.Register("requestWindowFeature", "(I)Z", "")>]
member this.RequestWindowFeature : Android.Views.WindowFeatures -> bool

參數

featureId
WindowFeatures

定義於 android.view.Window的期望特徵。

傳回

如果所請求的功能已支援且已啟用,則會回傳 true。

屬性

備註

啟用擴充視窗功能。 這是為了方便呼叫 getWindow().requestFeature()。

另請參閱:

Android 參考資料。android.app.Activity.requestWindowFeature

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於