什么时候支持嵌套内置布局
什么时候支持嵌套内置布局,json数据如下:
[ { "type": "container-oneColumn", "style": { "bgImgUrl": "http://img.zcool.cn/community/0195df566946e86ac7259f6efa7ae9.jpg", "aspectRatio": 1 }, "items": [ { "type": "simpleTextView", "msg": "精准预警 · 专业极速", "textColor": "#FFFFFF", "textSize": 16 }, { "type": "container-sticky", "style": { "sticky": "start" }, "items": [ { "type": "simpleTextView", "msg": "sticky", "style": { } } ] } ] }]
好像支持是有问题,现在还不知道咋办
目前只支持对流式布局和Banner及横向Scroll的嵌套,针对 @chailijun 的场景,需要把Sticky放到外层,如果是一张大背景需要裁剪成两张图了 [{ "type": "container-oneColumn", "style": { "bgImgUrl": " http://img.zcool.cn/community/0195df566946e86ac7259f6efa7ae9.jpg", "aspectRatio": 1 }, "items": [{ "type": "simpleTextView", "msg": "精准预警 · 专业极速", "textColor": "#FFFFFF", "textSize": 16 }] }, { "type": "container-sticky", "style": { "sticky": "start" }, "items": [{ "type": "simpleTextView", "msg": "sticky", "style": {} }] }]
Sky Qiu [email protected] 于2019年5月11日周六 下午10:44写道:
好像支持是有问题,现在还不知道咋办
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/alibaba/Tangram-Android/issues/133#issuecomment-491516730, or mute the thread https://github.com/notifications/unsubscribe-auth/ABBF7GBZOEN24NSAPTPY4WLPU3LVHANCNFSM4GF34BRA .