android.view.Window

                                                                            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.

 

 

Constants
intDEFAULT_FEATURESThe default features enabled
intFEATURE_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 //不定的,不明确的progress
intFEATURE_LEFT_ICONFlag for having an icon on the left side of the title bar
intFEATURE_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//指示器 feature
intFEATURE_RIGHT_ICONFlag for having an icon on the right side of the title bar
intID_ANDROID_CONTENTThe ID that the main layout in the XML layout file should have.
intPROGRESS_ENDEnding value for the (primary) progress
intPROGRESS_INDETERMINATE_OFFFlag for setting the progress bar's indeterminate mode off
intPROGRESS_INDETERMINATE_ONFlag for setting the progress bar's indeterminate mode on
intPROGRESS_SECONDARY_ENDHighest possible value for the secondary progress
intPROGRESS_SECONDARY_STARTLowest possible value for the secondary progress
intPROGRESS_STARTStarting value for the (primary) progress
intPROGRESS_VISIBILITY_OFFFlag for setting the progress bar's visibility to GONE
intPROGRESS_VISIBILITY_ONFlag for setting the progress bar's visibility to VISIBLE

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值