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

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

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

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

      1. 何時使用 Android PopupWindow vs Dialog

        When to use Android PopupWindow vs Dialog(何時使用 Android PopupWindow vs Dialog)
        <tfoot id='hnEhu'></tfoot>

          • <bdo id='hnEhu'></bdo><ul id='hnEhu'></ul>

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

                    <tbody id='hnEhu'></tbody>
                  本文介紹了何時使用 Android PopupWindow vs Dialog的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我不清楚何時使用 PopupWindow 與 Dialog.任何見解將不勝感激.謝謝.

                  I'm unclear about when to use PopupWindow vs Dialog. Any insight would be much appreciated. Thanks.

                  推薦答案

                  它們都使用 addView() 方法以及各種 windowManager 方法.兩者在這方面是相似的.

                  They both use the addView() method along with various windowManager methods. The two are similar in that regard.

                  對話框似乎帶有更多用于交互的內置功能,例如基類中已經包含的處理程序和按鈕,而 PopupWindows 帶有更多用于在屏幕上定位它們的內置方法.

                  Dialogs seem to come with more built-in features for interaction, such as handlers and buttons already included in the base class, while PopupWindows come with more built-in methods for positioning them about the screen.

                  我認為它們中的每一個都可以做與另一個完全相同的事情,但是在兩者之間進行選擇對于程序員來說是一個方便的問題,即你想如何使用 Object.我不是計算機科學博士,但根據我在各自的類定義中看到的情況,我認為兩者的處理時間沒有顯著差異.

                  I think that each of them can do exactly the same as the other, but choosing between the two will be a matter of convenience to the programmer with regards to how you want to use the Object. I'm not a phD in computer science, but I do not think there is a significant difference in processing time between the two based on what I saw in their respective class definitions.

                  我的建議:如果您想更好地控制視圖在顯示屏上的顯示位置,請使用 PopupWindow.如果您想在視圖之間添加更多控制和反饋,請使用對話框.如果您像我一樣想要對所有內容進行主控制,我建議使用 PopupWindow,因為它具有較少的用戶明顯的默認方法可以覆蓋.

                  My advice: If you want to have greater control over where your View appears on the display, use a PopupWindow. If you want to add more control and feedback between your View then use a Dialog. If you, like me, want master control over everything, I would suggest a PopupWindow since it has fewer user-evident default methods to override.

                  這篇關于何時使用 Android PopupWindow vs Dialog的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

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

                  相關文檔推薦

                  Get user#39;s current location using GPS(使用 GPS 獲取用戶的當前位置)
                  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(如何檢測位置提供者?GPS 或網絡提供商)
                  Get current location during app launch(在應用啟動期間獲取當前位置)
                  locationManager.getLastKnownLocation() return null(locationManager.getLastKnownLocation() 返回 null)

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

                    <tbody id='dG0bI'></tbody>

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

                        <tfoot id='dG0bI'></tfoot>
                          <legend id='dG0bI'><style id='dG0bI'><dir id='dG0bI'><q id='dG0bI'></q></dir></style></legend>
                            <bdo id='dG0bI'></bdo><ul id='dG0bI'></ul>
                          • 主站蜘蛛池模板: 久久精品国产一区二区三区不卡 | 亚洲精品一区二区三区蜜桃久 | 久久91av | 99福利 | 国产成人精品a视频 | 超碰成人在线观看 | 在线免费黄色小视频 | 亚洲国产精品激情在线观看 | 国产 欧美 日韩 一区 | 91免费小视频 | 国产福利精品一区 | 中文字幕 国产 | 久久a久久| 欧美成人a∨高清免费观看 色999日韩 | 色综合久久天天综合网 | 久久一二 | 成人精品高清 | 国产成人精品一区二区三 | 亚洲欧美日本在线 | 欧美6一10sex性hd| 国产精品91网站 | 国产精品一区二区免费 | 日韩中字幕 | 中文字幕一区二区三区乱码图片 | 91久久国产综合久久91精品网站 | 亚洲成人自拍 | 日韩精品久久久久 | 亚洲精品欧美 | 999观看免费高清www | 美女露尿口视频 | 亚洲午夜视频在线观看 | 亚洲成人日韩 | 国产三区av| 国产精品久久久久久久久 | www.99热这里只有精品 | 99视频在线免费观看 | jizz亚洲人 | 精品久久久久久久久久久久久久 | 成人国产在线视频 | 精品视频在线播放 | 久久这里有精品 |