<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 - 在小部件中使用自定义视图

        Android - Using custom View in Widget(Android - 在小部件中使用自定义视图)
          <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 - 在小部件中使用自定义视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Auto layout constraints issue on iOS7 in UITableViewCell(UITableViewCell中iOS7上的自动布局约束问题)
                  How to resize superview to fit all subviews with autolayout?(如何调整超级视图的大小以适应所有具有自动布局的子视图?)
                  reloadData() of UITableView with Dynamic cell heights causes jumpy scrolling(具有动态单元格高度的 UITableView 的 reloadData() 导致跳跃滚动)
                  What is NSLayoutConstraint quot;UIView-Encapsulated-Layout-Heightquot; and how should I go about forcing it to recalculate cleanly?(什么是 NSLayoutConstraint“UIView-Encapsulated-Layout-Height?我应该如何强制它干净地重新计算?) - IT屋-程序员
                  quot;Auto Layout still required after executing -layoutSubviewsquot; with UITableViewCell subclass(“执行 -layoutSubviews 后仍需要自动布局带有 UITableViewCell 子类)
                  How do I size a UITextView to its content?(如何根据内容调整 UITextView 的大小?)

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

                        <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>