android.view.Window

来源:互联网 发布:程序员接私活 编辑:程序博客网 时间:2024/05/29 17:45

                                                                            android.view.Window      

Class Overview

 


 

Abstract base class for a top-level window look and behavior policy//策略,政策.  An instance of this class should be used as the top-level view added to the window manager. It provides standard UI policies such as a background, title area, default key processing, etc. 

The only existing implementation of this abstract class is android.policy.PhoneWindow, which you should instantiate when needing a Window.  Eventually that class will be refactored//重构 and a factory method added for creating Window instances without knowing about a particular implementation.

 

 

ConstantsintDEFAULT_FEATURESThe default features enabledintFEATURE_ACTION_BARFlag for enabling the Action Bar.intFEATURE_ACTION_BAR_OVERLAYFlag for requesting an Action Bar that overlays //在.....上覆盖window content.intFEATURE_ACTION_MODE_OVERLAYFlag for specifying the behavior of action modes when an Action Bar is not present.intFEATURE_CONTEXT_MENUFlag for the context menu.intFEATURE_CUSTOM_TITLEFlag for custom title.intFEATURE_INDETERMINATE_PROGRESSFlag for indeterminate //不定的,不明确的progressintFEATURE_LEFT_ICONFlag for having an icon on the left side of the title barintFEATURE_NO_TITLEFlag for the "no title" feature, turning off the title at the top  of the screen.intFEATURE_OPTIONS_PANELFlag for the "options panel" feature.intFEATURE_PROGRESSFlag for the progress indicator//指示器 featureintFEATURE_RIGHT_ICONFlag for having an icon on the right side of the title barintID_ANDROID_CONTENTThe ID that the main layout in the XML layout file should have.intPROGRESS_ENDEnding value for the (primary) progressintPROGRESS_INDETERMINATE_OFFFlag for setting the progress bar's indeterminate mode offintPROGRESS_INDETERMINATE_ONFlag for setting the progress bar's indeterminate mode onintPROGRESS_SECONDARY_ENDHighest possible value for the secondary progressintPROGRESS_SECONDARY_STARTLowest possible value for the secondary progressintPROGRESS_STARTStarting value for the (primary) progressintPROGRESS_VISIBILITY_OFFFlag for setting the progress bar's visibility to GONEintPROGRESS_VISIBILITY_ONFlag for setting the progress bar's visibility to VISIBLE

 

 

原创粉丝点击