Skip to content Skip to sidebar Skip to footer

Android Listview Inside Fragment Gets Cut Off

I am using a ListView inside a Fragment. The items of my ListView are dynamically loaded using a Custom Adapter. I notice that when I try to set the Font size of my items something

Solution 1:

you need to add padding and weights to your layouts. When an item of bigger size is placed in the layout the other view are over looked and hence you see the listview cuts off. Please refer to the below link : http://developer.android.com/guide/topics/ui/layout/linear.html#Weight

Hope it gives you an idea on how to design you listview layout.

Solution 2:

Post a Comment for "Android Listview Inside Fragment Gets Cut Off"