Activity.RequestWindowFeature(WindowFeatures) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
啟用擴充視窗功能。
[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 所創建與分享的作品,並依授權條款所描述的使用進行修改。