How to customized the ListView height in android?

前端 未结 4 1401
说谎
说谎 2021-01-24 08:41

I am a beginner to android. I want to display a customized list view which contains a number. I customized my ListView size(android:layout_height=\"50dp\"

4条回答
  •  抹茶落季
    2021-01-24 09:23

    I want to fix the list cell height

    FYI

    You want to add HEIGHT for each Cell

    Then

    
    
    
        
    
    
    

    Note

    Use TextView Size unit sp instead of pt .

提交回复
热议问题