I want to know how to change height of the list view programmatically.
Is it possible to change the child items height for individual list item…?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Noby if you want to change the hight of Child items you add new item_row layouts for each child and change it height as you want and inflate it using View getView method ………..
If youi want to change height of listview….
list.setLayoutParams(new RelativeLayout.LayoutParams(155, 115));
LayoutParams.fill_parent and LayoutParams.wrap_content
enter your listview width and height in paranthases.,,,, and in your xml file only listiew in relative layout………..