This constant was deprecated in API level 24.?FEATURE_PROGRESS?and related methods are no longer supported starting in API 21.
這兩個常量已經(jīng)廢棄,除非你將API版本調(diào)低一些。
或者使用新的函數(shù)
boolean?requestFeature?(int?featureId)
Enable extended screen features. This must be called before setContentView(). May be called as many times as desired as long as it is before setContentView(). If not called, no extended features will be available. You can not turn off a feature once it is requested. You canot use other title features with?
2016-10-03
This constant was deprecated in API level 24.?FEATURE_PROGRESS?and related methods are no longer supported starting in API 21.
這兩個常量已經(jīng)廢棄,除非你將API版本調(diào)低一些。
或者使用新的函數(shù)
Enable extended screen features. This must be called before setContentView(). May be called as many times as desired as long as it is before setContentView(). If not called, no extended features will be available. You can not turn off a feature once it is requested. You canot use other title features with?
使用拓展屏幕,這個必須在setContentView()之前使用,使用之后無法關(guān)閉這個功能,不可以將FEATURE_CUSTOM_TITLE與其他功能同時使用。
好像5.0以后就不支持這個功能了