android - Listview inside popup window height is not changing -
I am using a listview within a popup window and the list view shows some dynamic content. Wish, depending on the material, but it should not exceed any particular height. Since I could not set the maximum height in that list view, I changed the height from the review of the adapter and the layout The list view height is changing when the list size is increasing. But the shape is not changing, while the size of the material is decreasing.
if (co_get> 11) {layout parameters parameters = new layout paragraph (layout parama.MATHPARNR, 600); Parameters.Set margin (10, 10, 10, 10); parent.setLayoutParams (parameter); } And parameters (LayerPerms = New LayerPrime (Layouts Paramah.MATHARNRT, LayoutPrem. WRAP_CONTENT); Parameters.Set Margin (10, 10, 10, 10); parent.setLayoutParams (Parameter);} < p> And this is the code that I used in getview.
I have informed that when it If you are notified then levelparam is set and that problem is resolved.
Comments
Post a Comment