honglei92
V2EX  ›  Android

安卓 recycleview

  •  
  •   honglei92 · Jun 22, 2021 · 13276 views
    This topic created in 1969 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   ·   4860 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 100ms · UTC 02:30 · PVG 10:30 · LAX 18:30 · JFK 21:30
    ♥ Do have faith in what you're doing.