乡下人产国偷v产偷v自拍,国产午夜片在线观看,婷婷成人亚洲综合国产麻豆,久久综合给合久久狠狠狠9

  • <output id="e9wm2"></output>
    <s id="e9wm2"><nobr id="e9wm2"><ins id="e9wm2"></ins></nobr></s>

    • 分享

      Activity 以 Dialog 形式存在

       Babylly 2012-01-10
       Activity 以 Dialog 形式存在:

      只要在AndroidManifest.xml中設(shè)置該Activity屬性為:

      android:theme="@android:style/Theme.Dialog"  

      達到的效果就像google自帶的搜索widiget中,點擊錄音鍵彈出的對話框效果一樣
      除了一個dialog,沒有其他的東西,而且背景是半透明的。

      android自帶theme如下:

      android:theme="@android:style/Theme.Dialog"   將一個Activity顯示為對話框模式
      android:theme="@android:style/Theme.NoTitleBar"  不顯示應(yīng)用程序標(biāo)題欄
      android:theme="@android:style/Theme.NoTitleBar.Fullscreen"  不顯示應(yīng)用程序標(biāo)題欄,并全屏
      android:theme="Theme.Light"  背景為白色
      android:theme="Theme.Light.NoTitleBar"  白色背景并無標(biāo)題欄
      android:theme="Theme.Light.NoTitleBar.Fullscreen"  白色背景,無標(biāo)題欄,全屏
      android:theme="Theme.Black"  背景黑色
      android:theme="Theme.Black.NoTitleBar"  黑色背景并無標(biāo)題欄
      android:theme="Theme.Black.NoTitleBar.Fullscreen"    黑色背景,無標(biāo)題欄,全屏
      android:theme="Theme.Wallpaper"  用系統(tǒng)桌面為應(yīng)用程序背景
      android:theme="Theme.Wallpaper.NoTitleBar"  用系統(tǒng)桌面為應(yīng)用程序背景,且無標(biāo)題欄
      android:theme="Theme.Wallpaper.NoTitleBar.Fullscreen"  用系統(tǒng)桌面為應(yīng)用程序背景,無標(biāo)題欄,全屏
      android:theme="Translucent"
      android:theme="Theme.Translucent.NoTitleBar"
      android:theme="Theme.Translucent.NoTitleBar.Fullscreen"
      android:theme="Theme.Panel"
      android:theme="Theme.Light.Panel"

        本站是提供個人知識管理的網(wǎng)絡(luò)存儲空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點。請注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購買等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點擊一鍵舉報。
        轉(zhuǎn)藏 分享 獻花(0

        0條評論

        發(fā)表

        請遵守用戶 評論公約