久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

  • <i id='u51al'><tr id='u51al'><dt id='u51al'><q id='u51al'><span id='u51al'><b id='u51al'><form id='u51al'><ins id='u51al'></ins><ul id='u51al'></ul><sub id='u51al'></sub></form><legend id='u51al'></legend><bdo id='u51al'><pre id='u51al'><center id='u51al'></center></pre></bdo></b><th id='u51al'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='u51al'><tfoot id='u51al'></tfoot><dl id='u51al'><fieldset id='u51al'></fieldset></dl></div>
        <bdo id='u51al'></bdo><ul id='u51al'></ul>
    1. <legend id='u51al'><style id='u51al'><dir id='u51al'><q id='u51al'></q></dir></style></legend>

    2. <tfoot id='u51al'></tfoot>

        <small id='u51al'></small><noframes id='u51al'>

        使用 Dialog 自定義屏幕變暗

        Custom screen dim with Dialog(使用 Dialog 自定義屏幕變暗)
        <tfoot id='vuaEj'></tfoot>
        <i id='vuaEj'><tr id='vuaEj'><dt id='vuaEj'><q id='vuaEj'><span id='vuaEj'><b id='vuaEj'><form id='vuaEj'><ins id='vuaEj'></ins><ul id='vuaEj'></ul><sub id='vuaEj'></sub></form><legend id='vuaEj'></legend><bdo id='vuaEj'><pre id='vuaEj'><center id='vuaEj'></center></pre></bdo></b><th id='vuaEj'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='vuaEj'><tfoot id='vuaEj'></tfoot><dl id='vuaEj'><fieldset id='vuaEj'></fieldset></dl></div>

        • <small id='vuaEj'></small><noframes id='vuaEj'>

          <legend id='vuaEj'><style id='vuaEj'><dir id='vuaEj'><q id='vuaEj'></q></dir></style></legend>
          • <bdo id='vuaEj'></bdo><ul id='vuaEj'></ul>
              <tbody id='vuaEj'></tbody>

                1. 本文介紹了使用 Dialog 自定義屏幕變暗的處理方法,對(duì)大家解決問(wèn)題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來(lái)一起學(xué)習(xí)吧!

                  問(wèn)題描述

                  在 Android 中,當(dāng)您彈出一個(gè)對(duì)話框時(shí),它后面的屏幕會(huì)變暗.有什么辦法可以控制它的外觀嗎?例如使其變暗或使用某種模式?

                  In Android when you pop up a dialog the screen behind it dims. Is there any way to control what that looks like? For example making it dim more or less or using some kind of a pattern?

                  推薦答案

                  是的.你可以控制它.

                  創(chuàng)建對(duì)話框后:

                  WindowManager.LayoutParams lp = dialog.getWindow().getAttributes();  
                  lp.dimAmount = 0.0f; // Dim level. 0.0 - no dim, 1.0 - completely opaque
                  dialog.getWindow().setAttributes(lp);
                  

                  更新:您甚至可以在對(duì)話框后面添加模糊:

                  Upd: you can even add blur behind the dialog:

                  dialog.getWindow().addFlags(WindowManager.LayoutParams.FLAG_BLUR_BEHIND);
                  

                  Upd2:不推薦使用模糊從 API14 開(kāi)始:

                  此常量在 API 級(jí)別 14 中已棄用.
                  不再支持模糊.

                  This constant was deprecated in API level 14.
                  Blurring is no longer supported.

                  這篇關(guān)于使用 Dialog 自定義屏幕變暗的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                  【網(wǎng)站聲明】本站部分內(nèi)容來(lái)源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問(wèn)題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請(qǐng)聯(lián)系我們刪除處理,感謝您的支持!

                  相關(guān)文檔推薦

                  Get user#39;s current location using GPS(使用 GPS 獲取用戶的當(dāng)前位置)
                  IllegalArgumentException thrown by requestLocationUpdate()(requestLocationUpdate() 拋出的 IllegalArgumentException)
                  How reliable is LocationManager#39;s getLastKnownLocation and how often is it updated?(LocationManager 的 getLastKnownLocation 有多可靠,多久更新一次?)
                  How to detect Location Provider ? GPS or Network Provider(如何檢測(cè)位置提供者?GPS 或網(wǎng)絡(luò)提供商)
                  Get current location during app launch(在應(yīng)用啟動(dòng)期間獲取當(dāng)前位置)
                  locationManager.getLastKnownLocation() return null(locationManager.getLastKnownLocation() 返回 null)

                    <bdo id='M2XRx'></bdo><ul id='M2XRx'></ul>
                    <legend id='M2XRx'><style id='M2XRx'><dir id='M2XRx'><q id='M2XRx'></q></dir></style></legend>

                    <small id='M2XRx'></small><noframes id='M2XRx'>

                        <i id='M2XRx'><tr id='M2XRx'><dt id='M2XRx'><q id='M2XRx'><span id='M2XRx'><b id='M2XRx'><form id='M2XRx'><ins id='M2XRx'></ins><ul id='M2XRx'></ul><sub id='M2XRx'></sub></form><legend id='M2XRx'></legend><bdo id='M2XRx'><pre id='M2XRx'><center id='M2XRx'></center></pre></bdo></b><th id='M2XRx'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='M2XRx'><tfoot id='M2XRx'></tfoot><dl id='M2XRx'><fieldset id='M2XRx'></fieldset></dl></div>

                              <tbody id='M2XRx'></tbody>
                          • <tfoot id='M2XRx'></tfoot>

                          • 主站蜘蛛池模板: 亚洲一区久久 | 亚洲电影在线播放 | 日日干日日操 | 国产精品视频综合 | 天天爱天天操 | 51ⅴ精品国产91久久久久久 | 午夜视频在线免费观看 | 成人国产精品入口免费视频 | 一本色道精品久久一区二区三区 | 99re在线| 亚洲一区视频在线 | 一区二区免费视频 | 亚洲精品麻豆 | 国产精品久久久久久高潮 | www.天堂av.com| 亚洲欧洲一区 | 亚洲高清视频在线观看 | 国产精品国产三级国产播12软件 | 国产9999精品 | 一级片网址 | 国产国语精品 | jizz在线免费观看 | 亚洲第一黄色网 | 国产极品粉嫩美女呻吟在线看人 | 狠狠干网站 | 涩色视频在线观看 | 欧美日韩综合精品 | 99精品国自产在线 | 日韩精品一区二区三区中文字幕 | 欧美精品v国产精品v日韩精品 | 免费av毛片 | 日韩在线 | 欧美精品一区二区免费 | 久久久精| 人成久久 | 日韩在线不卡 | 97久久超碰| 91精品久久 | 综合久久一区 | 久久亚洲一区 | 亚洲欧美另类在线 |