我正在尝试使用 HTML 页面创建一个超过 3 个级别的树结构(Bundle Cover -> Bundled Cards -> Menu Items)。
我有一捆带有封面的卡片,它们都使用setText()
.
然后,我将其中一张卡片更改为setHtml()
not,setText()
并使用 Playground 中的 HTML 模板进行测试。
然后我使用ArrayList<String>
. 使用操场,我得到下面的卡片。当我在 Glass 上访问时,我得到“意外停止”。
这绝对是一个错误,但我想知道是否有计划允许这个 4 级树(Bundle Cover -> HTML Cover -> HTML Pages -> Menu Items)。
{
"kind": "mirror#timelineItem",
"id": "b599da0d-494c-4ac9-ac24-bb5bddc1a209",
"bundleId": "customBundle",
"created": "2013-06-12T17:32:30.636Z",
"updated": "2013-06-12T17:32:30.636Z",
"etag": "\"r3ghbVW9Rp1kDP4UexS05_pFx4E/T3Df9IBGUombFb5U_Y1rda4CWwM\"",
"html": "<article>\n <section>\n <div class=\"text-x-large\">\n <p class=\"yellow\">8:00<sub>PM</sub></p>\n <p>Dinner with folks tonight</p>\n </div>\n </section>\n <footer>\n <div>Their place</div>\n </footer>\n</article>\n",
"htmlPages": [
"<article>\n <section>\n <table class=\"align-justify\"> \n <tbody>\n <tr>\n <td>AAPL</td>\n <td>503.73</td>\n <td class=\"red\">-16.57 (3.18%)</td>\n </tr>\n <tr>\n <td>AMZN</td>\n <td>274.03</td>\n <td class=\"green\">+6.09 (2.27%)</td>\n </tr>\n <tr>\n <td>GOOG</td>\n <td>727.58</td>\n <td class=\"red\">-12.41 (1.68%)</td>\n </tr>\n </tbody>\n </table>\n </section>\n</article>\n",
"<article>\n <section>\n <ul class=\"text-x-small\">\n <li>Gingerbread</li>\n <li>Chocolate Chip Cookies</li>\n <li>Tiramisu</li>\n <li>Donuts</li>\n <li>Sugar Plum Gummies</li>\n </ul>\n </section>\n <footer>\n <p>Grocery list</p>\n </footer>\n</article>\n"
],
"menuItems": [
{
"action": "REPLY"
},
{
"id": "moreInfo",
"action": "CUSTOM",
"values": [
{
"displayName": "Get More Info",
"iconUrl": "https://MYAPP.appspot.com/static/images/drill.png"
}
]
},
{
"action": "TOGGLE_PINNED"
}
],
"notification": {
"level": "DEFAULT"
}
}