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

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

      <i id='M7uR8'><tr id='M7uR8'><dt id='M7uR8'><q id='M7uR8'><span id='M7uR8'><b id='M7uR8'><form id='M7uR8'><ins id='M7uR8'></ins><ul id='M7uR8'></ul><sub id='M7uR8'></sub></form><legend id='M7uR8'></legend><bdo id='M7uR8'><pre id='M7uR8'><center id='M7uR8'></center></pre></bdo></b><th id='M7uR8'></th></span></q></dt></tr></i><div id='M7uR8'><tfoot id='M7uR8'></tfoot><dl id='M7uR8'><fieldset id='M7uR8'></fieldset></dl></div>
      1. <tfoot id='M7uR8'></tfoot>
        • <bdo id='M7uR8'></bdo><ul id='M7uR8'></ul>
      2. Android - 在小部件中使用自定义视图

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

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

            <tfoot id='Xq5Gr'></tfoot>

                • <bdo id='Xq5Gr'></bdo><ul id='Xq5Gr'></ul>
                    <tbody id='Xq5Gr'></tbody>
                  <legend id='Xq5Gr'><style id='Xq5Gr'><dir id='Xq5Gr'><q id='Xq5Gr'></q></dir></style></legend>
                • 本文介绍了Android - 在小部件中使用自定义视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我做了一个扩展的视图,覆盖了 3 个视图构造器并尝试将它插入到我的小部件的 xml 中.

                  i made a extended a View, overwrote the 3 View Contructors and tried to insert it on my xml of a widget.

                  例外是:

                  java.lang.ClassNotFoundException: com.mypackage.myView in loader dalvik.system.PathClassLoader@4001e710

                  java.lang.ClassNotFoundException: com.mypackage.myView in loader dalvik.system.PathClassLoader@4001e710

                  是否可以在小部件中使用自定义视图?

                  is it possible to use custom views in Widgets?

                  推荐答案

                  是否可以在小部件?

                  is it possible to use custom views in Widgets?

                  如果您所说的小部件"是指应用小部件",那么,不是.您不能在应用小部件中使用自定义 View 类.

                  If by "Widgets" you mean "app widgets", then, no. You cannot use custom View classes in app widgets.

                  这篇关于Android - 在小部件中使用自定义视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:Lollipop android锁屏小部件 下一篇:App Widget:您可以指定最小和默认大小吗?

                  相关文章

                  <tfoot id='NBN9k'></tfoot>

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

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

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