honglei92
V2EX  ›  Android

安卓 recycleview

  •  
  •   honglei92 · Jun 22, 2021 · 13315 views
    This topic created in 1975 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   ·   4631 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 06:09 · PVG 14:09 · LAX 22:09 · JFK 01:09
    ♥ Do have faith in what you're doing.