WindowManager.LayoutParams 各種Type值介紹
来源:互联网 发布:淘宝知识产权保护平台 编辑:程序博客网 时间:2024/05/02 08:59
public static final int TYPE_APPLICATION
Since:
API Level 1
( 一般應用程式的視窗型態 )
Constant Value:
2(0x00000002)
public static final int TYPE_APPLICATION_ATTACHED_DIALOG
Since:
API Level 3
( 屬於對話框等級的,位置在程式視窗型態之上 )
Constant Value:
1003(0x000003eb)
Constant Value:
1001(0x000003e9)
public static final int TYPE_APPLICATION_PANEL
Since:
API Level 1
( 跟對話框很像,位置在程式視窗型態之上 )
Constant Value:
1000(0x000003e8)
public static final int TYPE_BASE_APPLICATION
Since:
API Level 1
( 會在其他應用程式的下方 )
Constant Value:
1(0x00000001)
public static final int TYPE_PHONE
Since:
API Level 1
( 視窗會呈現在所有的應用程式之上,就像來電提示 )
( 重要提示,當這樣設置時依然可以控制後面的控件 )
Constant Value:
2002(0x000007d2)
public static final int TYPE_PRIORITY_PHONE
Since:
API Level 1
( 與上面的分不出差別,但可以看出的差別就是當兩個視窗一個是優先另一個非優先,兩個都顯示時,非優先會被優先檔在後面無法顯示,注意 : 這個設定可能會導致來電時無法正確顯示 )
Constant Value:
2007(0x000007d7)
public static final int TYPE_STATUS_BAR
Since:
API Level 1
( 測試時無法使用,尚待測試 )
Constant Value:
2000(0x000007d0)
public static final int TYPE_SYSTEM_ALERT
Since:
API Level 1
( 實際測試與 PHONE 一樣等級的視窗 )
Constant Value:
2003(0x000007d3)
public static final int TYPE_SYSTEM_ERROR
Since:
API Level 1
( 優先及最高的,通常用來處理系統錯誤,注意,這個比優先電話還要注意擋住頁面 )
Constant Value:
2010(0x000007da)
public static final int TYPE_SYSTEM_OVERLAY
Since:
API Level 1
( 說誰比較高呢 ? 這個視系統層級的,缺點是這個將無法再繼續回應控件,等於廢物畫面 )
Constant Value:
2006(0x000007d6)
public static final int TYPE_TOAST
Since:
API Level 1
( 與上面一樣,階層較低,一樣不法回應事件 )
Constant Value:
2005(0x000007d5)
public static final int TYPE_WALLPAPER
Since:
API Level 5
( 與上面接紹的相反,會在所有視窗的底端 )
Constant Value:
2013(0x000007dd)
- WindowManager.LayoutParams 各種Type值介紹
- WindowManager.LayoutParams.type
- WindowManager.LayoutParams.type属性
- WindowManager.LayoutParams.type属性
- WindowManager.LayoutParams.type属性
- WindowManager.LayoutParams.type属性
- WindowManager.LayoutParams.type属性
- WindowManager.LayoutParams.type属性
- WindowManager.LayoutParams.type属性
- WindowManager.LayoutParams.type属性
- WindowManager.LayoutParams.type属性
- WindowManager.LayoutParams.type属性
- WindowManager.LayoutParams:(三:type)
- WindowManager.LayoutParams的type属性
- 110.WindowManager.LayoutParams.type属性
- android开发WindowManager.LayoutParams.type属性详解
- Windowmanager悬浮窗的 WindowManager.LayoutParams.type 属性属性研究
- WindowManager.LayoutParams
- 如何创建一个类似 Instagram 的使用 Web Service 作后台的应用 part-1
- 子对话框如何访问主对话框中的控件
- HDU 3294Girls' research最长回文子串(暴力和manacher 两种解法)
- .net网站iis应用池完美解决方案
- 设计模式真的完美无缺吗?代理模式重磅升级版----动态代理
- WindowManager.LayoutParams 各種Type值介紹
- hdu 1564水题Play a game
- RTSP协议详解
- 简明 Python 教程 --- 链接!
- hdu2824 The Euler function (欧拉函数)
- 剑指offer-Day.2
- uva 11796 - Dog Distance(投影位移)
- 技巧-MAC下隐藏Dock栏正在运行中的软件图标
- STL中map的用法