In a listview, every item has the same heigth but if every item has a textview it is possible that some item won’t fit its text in its textview so how can I resize each item so all text would be readable?
Share
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.
Well, it depends. By default a TextView parameter android:singleLine is false. It means that in case of huge text it will split on several rows. If it’s good for you, then do nothing.
In other case you can use an autoscale textview from here