honglei92
V2EX  ›  Android

安卓 recycleview

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

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

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