【发布时间】:2017-12-08 06:36:10
【问题描述】:
【问题讨论】:
-
嗨@kavie 你解决过这个问题吗?我想创造像你一样的效果,我只是在研究这个...... :)
【问题讨论】:
要为可穿戴应用中的可滚动项目创建弯曲布局,请查看以下链接:
https://developer.android.com/training/wearables/ui/lists.html#creating
使用
val layoutManager = CurvedChildLayoutManager(this) recyclerView.layoutManager = 布局管理器
PS:至于主题问题,您不需要 app:layout_box 只需在 WearableRecyclerView 上使用 android:scrollbars="vertical"
https://developer.android.com/reference/android/support/wearable/view/CurvedChildLayoutManager.html
【讨论】: