【问题标题】:Listing Creation Control like Google Keep in an Android appAndroid 应用程序中的列表创建控件(如 Google Keep)
【发布时间】:2016-04-25 08:45:31
【问题描述】:

Here is the link of creating a list 在 Google Keep 应用中。我在 Android 中需要这个列表创建控件。

我正在寻找创建项目列表的控制权,例如 Google Keep Android。

有第三方库吗?如果没有,那么请给我一个想法来创建这样的控件。

【问题讨论】:

  • 您可以将 StaggeredGridLayoutManager 与 RecyclerView 一起使用,它会将您的内容铺设为砖石
  • 您指的是哪个应用程序?
  • @USKMobility Google Keep 应用列表创建控件。
  • 检查编辑问题。
  • 检查一下:keep.google.com/u/0 android 中的列表创建控件,如给出的链接。

标签: android google-keep


【解决方案1】:

Irshu 在评论中提到使用 StaggeredGridLayoutManager.A LayoutManager,它以交错的网格形式布置子项。它支持水平和垂直布局以及反向布局子项的能力。

交错的网格很可能在布局的边缘有间隙。为了避免这些差距,StaggeredGridLayoutManager 可以独立偏移 span 或在 span 之间移动项目。

更多详情请访问:http://developer.android.com/reference/android/support/v7/widget/StaggeredGridLayoutManager.html

教程:http://inducesmile.com/android/android-staggeredgridlayoutmanager-example-tutorial/

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2014-05-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-12-07
    • 2015-03-11
    相关资源
    最近更新 更多