honglei92
V2EX  ›  Android

安卓 recycleview

  •  
  •   honglei92 · Jun 22, 2021 · 13426 views
    This topic created in 1993 days ago, the information mentioned may be changed or developed.

    recycleview FlexboxLayoutManager 可以通过 setMaxLine 设置只显示多少行 ,但是最后的一行的元素宽度会被压缩 有办法不让压缩吗?能展示多少个就多少个

    2 replies  •  2021-06-26 11:05:38 +08:00
    yike47
    yike47
    Jun 23, 2021
    1
    不知道,后面解决的就是 recycleview 增加 android:layout_marginBottom 挤上去
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   901 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 77ms · UTC 20:13 · PVG 04:13 · LAX 12:13 · JFK 15:13
    ♥ Do have faith in what you're doing.