分类: 嵌入式
2011-03-17 18:31:46
Enable extended window features. This is a convenience for calling .
设置应用窗体的可扩展性,比如:
requestWindowFeature(Window.FEATURE_LEFT_ICON);
此方法在onCreate()方法中调用,指设置窗体标题右侧可以有一个icon。
featureId | The desired feature as defined in . |
---|
featureId的取值及说明:
int | Flag for enabling the Action Bar. | |
int | Flag for requesting an Action Bar that overlays window content. | |
int | Flag for specifying the behavior of action modes when an Action Bar is not present. | |
int | Flag for the context menu. | |
int | Flag for custom title. | |
int | Flag for indeterminate progress | |
int | Flag for having an icon on the left side of the title bar | |
int | Flag for the "no title" feature, turning off the title at the top of the screen. | |
int | Flag for the "options panel" feature. | |
int | Flag for the progress indicator feature | |
int | Flag for having an icon on the right side of the title bar |