<legend id='PyPkb'><style id='PyPkb'><dir id='PyPkb'><q id='PyPkb'></q></dir></style></legend>

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

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

      2. <small id='PyPkb'></small><noframes id='PyPkb'>

        为每个对话框更改对话框主题

        时间:2023-08-30
          <tbody id='ypyQq'></tbody>

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

              <tfoot id='ypyQq'></tfoot>
                1. <small id='ypyQq'></small><noframes id='ypyQq'>

                2. 本文介绍了为每个对话框更改对话框主题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  我正在使用 Theme.Holo.Light.DarkActionBar,但我不太喜欢 Light Dialogs/AlertDialogs.

                  Im using Theme.Holo.Light.DarkActionBar but I dont really like the Light Dialogs/AlertDialogs.

                  我想把每个 Dialog 都改成暗的 Holo Dialog.

                  I want to change every Dialog to the dark Holo Dialog.

                  <style name="CustomDialogTheme" parent="@android:style/Theme.Holo.Dialog">
                      <item name="@android:background">#9933CC</item>
                      <item name="@android:textColor">#02FA07</item>
                  </style>
                  
                  <style name="Holo.Light.DarkActionBar" parent="@android:style/Theme.Holo.Light.DarkActionBar">
                      <item name="android:dialogTheme">@style/CustomDialogTheme</item>
                      <item name="android:alertDialogStyle">@style/CustomDialogTheme</item>
                  </style>
                  

                  这就是我尝试过的,但它对任何对话框都没有影响.

                  Thats what I tried but it has no effect on any Dialogs.

                  推荐答案

                  好的 nvm 我愚蠢的是它的 android:alertDialogTheme 而不是 android:alertDialogStyle.但这会弄乱 Preference Dialogs,所以我只是继续使用 Light Dialogs.

                  Ok nvm Im stupid its android:alertDialogTheme instead of android:alertDialogStyle. But this messes up the Preference Dialogs, so I just keep using the Light Dialogs.

                  这篇关于为每个对话框更改对话框主题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:如何从 Android 中的对话框启动 Activity 下一篇:为什么 setCanceledOnTouchOutside(false) 在警报生成器中

                  相关文章

                  最新文章

                    <bdo id='YPgfQ'></bdo><ul id='YPgfQ'></ul>

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

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