Flexbox-Layout v0.3.0-alpha3 发布
jopen 8年前
<p style="text-align: center;"><strong><img alt="" src="https://simg.open-open.com/show/df6c62812675f0c6f89c8c7c12d186df.png" /></strong></p> <p> </p> <p>Flexbox 是属于web前端领域CSS的一种布局方案,是2009年W3C提出了一种新的布局方案,可以简便、完整、响应式地实现各种页面布局,并且 React Native 也是使用的 Flex 布局。你可以简单的理解为 Flexbox 是CSS领域类似 Linearlayout 的一种布局,但是要比 Linearlayout 要强大的多。</p> <p>在 Android 开发中使用 Linearlayout + RelativeLayout 基本可以实现大部分复杂的布局,但是Google就想了,有没有类似 Flexbox 的一个布局呢?这使用起来一个布局就可以搞定各种复杂的情况了,于是 FlexboxLayout 就应运而生了。 所以 FlexboxLayout 是针对 Android 平台的,实现类似 Flexbox 布局方案。</p> <h2>更新日志</h2> <ul> <li>Fix the issue RecyclerView becomes invisible when wrapped with another RecyclerView or ScrollView (<a href="/misc/goto?guid=4959004676471489035">#199</a>, <a href="/misc/goto?guid=4959004676587075298" title="FlexDirection.ROW is not working for FlexboxLayoutManager">#208</a>)</li> <li>Fix the issue the first line disappeared when the user scrolls that makes the first line invisible then try to scroll back to the top, on the condition the second line has more items than the first line. (<a href="/misc/goto?guid=4959004676685082983">#228</a>, <a href="/misc/goto?guid=4959004676773509362">#229</a>)</li> <li>Fix the issue after the scrollTo method is called the item specified as the argument is always placed at the first line. (<a href="/misc/goto?guid=4959004676869095648">#206</a>)</li> <li>Fix the issue when developers handle configuration changes by themselves, the flex lines before the anchor position were not discarded (<a href="/misc/goto?guid=4959004676975442842">#198</a>)</li> <li>Fix the issue a ViewHolder was created multiple times in a single layout pass (<a href="/misc/goto?guid=4959004677075141154">#242</a>)</li> </ul> <h2>下载</h2> <ul> <li><a href="/misc/goto?guid=4959004677186728834" rel="nofollow"><strong>Source code</strong> (zip)</a></li> <li><a href="/misc/goto?guid=4959004677281692386" rel="nofollow"><strong>Source code</strong> (tar.gz)</a></li> </ul> <p>本站原创,转载时保留以下信息:<br /> 本文转自:深度开源(open-open.com)<br /> 原文地址:<a href="http://www.open-open.com/news/view/3dab4d5e">http://www.open-open.com/news/view/3dab4d5e</a></p>