久久久久久久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>
                          • 主站蜘蛛池模板: www在线视频 | 精品免费视频 | av影音资源| 国产免费看| 久久9热 | 黑人性hd| 日本三级线观看 视频 | 久久久www成人免费无遮挡大片 | 久久亚洲欧美日韩精品专区 | 91成人影院 | 国产精品久久久久久久久久免费看 | 精品久久香蕉国产线看观看亚洲 | 亚洲三区在线播放 | 欧美精品国产精品 | 色播久久久 | 成人激情视频免费在线观看 | 夜夜摸天天操 | 午夜爽爽爽男女免费观看影院 | 91精品亚洲 | 午夜免费在线电影 | 亚洲一区视频在线 | 99在线免费视频 | 在线欧美一区 | av在线免费看网址 | 日韩精品在线一区 | 精品久久久久久中文字幕 | 久久久久久成人 | 中文字幕视频在线观看 | 99久久免费精品国产男女高不卡 | 韩国欧洲一级毛片 | 国产高清不卡 | 亚洲天堂精品一区 | 99精品视频免费观看 | 国产999精品久久久 日本视频一区二区三区 | 亚洲精品一区二区三区在线 | 成人做爰999| 成人免费在线小视频 | 国产乱码精品一区二区三区中文 | 成人精品久久日伦片大全免费 | 中文字幕国产视频 | 在线观看免费观看在线91 |