<bdo id='dmuo6'></bdo><ul id='dmuo6'></ul>
<tfoot id='dmuo6'></tfoot>
  • <legend id='dmuo6'><style id='dmuo6'><dir id='dmuo6'><q id='dmuo6'></q></dir></style></legend>

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

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

        Android KitKat 上的对话框似乎被剪掉了

        时间:2023-08-31
          <bdo id='BDoVx'></bdo><ul id='BDoVx'></ul>
            <tbody id='BDoVx'></tbody>
            1. <i id='BDoVx'><tr id='BDoVx'><dt id='BDoVx'><q id='BDoVx'><span id='BDoVx'><b id='BDoVx'><form id='BDoVx'><ins id='BDoVx'></ins><ul id='BDoVx'></ul><sub id='BDoVx'></sub></form><legend id='BDoVx'></legend><bdo id='BDoVx'><pre id='BDoVx'><center id='BDoVx'></center></pre></bdo></b><th id='BDoVx'></th></span></q></dt></tr></i><div id='BDoVx'><tfoot id='BDoVx'></tfoot><dl id='BDoVx'><fieldset id='BDoVx'></fieldset></dl></div>

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

                <legend id='BDoVx'><style id='BDoVx'><dir id='BDoVx'><q id='BDoVx'></q></dir></style></legend>
                <tfoot id='BDoVx'></tfoot>

                  本文介绍了Android KitKat 上的对话框似乎被剪掉了的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  我为 Activity 使用了对话框主题,它在 Android <= 4.3 上运行良好,但在最新的 KitKat 4.4 上运行良好.这是问题的截图:

                  I used dialog theme for an Activity and it works fine on Android <= 4.3 but not on the latest KitKat 4.4. Here's a screenshot of the problem:

                  缺少布局顶部.您可以看到边界似乎被切断了.

                  Top of the layout is missing. You can see that the bounds seems to be cut.

                  我是用安卓模拟器测试app,所以不知道是虚拟机问题还是其他原因.

                  I'm using an Android emulator to test the app, so I don't know if the problem is due to the virtual machine or due to some other reason.

                  推荐答案

                  你可以从下面的代码中解决要剪切的问题.

                  You can solve the problem to be cut from below code.

                  dialog.getWindow().setFlags(
                      WindowManager.LayoutParams.FLAG_FULLSCREEN, 
                      WindowManager.LayoutParams.FLAG_FULLSCREEN);
                  

                  这篇关于Android KitKat 上的对话框似乎被剪掉了的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:全屏自定义对话框? 下一篇:Android:输入时如何从 TimePicker 获取时间

                  相关文章

                  最新文章

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

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

                  1. <tfoot id='mLlTn'></tfoot>

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