亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

Chinaunix

標(biāo)題: 設(shè)置Android應(yīng)用窗體的顯示狀態(tài) [打印本頁(yè)]

作者: fenfenxu1989    時(shí)間: 2011-12-20 09:44
標(biāo)題: 設(shè)置Android應(yīng)用窗體的顯示狀態(tài)
public final boolean requestWindowFeature (int featureId)
Since: API Level 1

Enable extended window features. This is a convenience for calling getWindow().requestFeature().

設(shè)置應(yīng)用窗體的可擴(kuò)展性,比如:

requestWindowFeature(Window.FEATURE_LEFT_ICON);

此方法在onCreate()方法中調(diào)用,指設(shè)置窗體標(biāo)題右側(cè)可以有一個(gè)icon。

Parameters
featureId The desired feature as defined in Window.
Returns
  • Returns true if the requested feature is supported and now enabled.


featureId的取值及說(shuō)明:

int FEATURE_ACTION_BAR Flag for enabling the Action Bar.
int FEATURE_ACTION_BAR_OVERLAY Flag for requesting an Action Bar that overlays window content.
int FEATURE_ACTION_MODE_OVERLAY Flag for specifying the behavior of action modes when an Action Bar is not present.
int FEATURE_CONTEXT_MENU Flag for the context menu.
int FEATURE_CUSTOM_TITLE Flag for custom title.
int FEATURE_INDETERMINATE_PROGRESS Flag for indeterminate progress
int FEATURE_LEFT_ICON Flag for having an icon on the left side of the title bar
int FEATURE_NO_TITLE Flag for the "no title" feature, turning off the title at the top of the screen.
int FEATURE_OPTIONS_PANEL Flag for the "options panel" feature.
int FEATURE_PROGRESS Flag for the progress indicator feature
int FEATURE_RIGHT_ICON Flag for having an icon on the right side of the title bar





歡迎光臨 Chinaunix (http://www.72891.cn/) Powered by Discuz! X3.2