Android ListView last item display (rookie novice, veteran don't spray)

Source: Internet
Author: User

Issue: When a ListView shows dissatisfaction with full screen, the last item will automatically fill the remaining screen height, and we need to see the height of each item layout.

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/79/9B/wKiom1aWBDah8-MhAADxF5AonUs140.png "style=" float: none; "title=" Screenshot_2016-01-13-15-54-20.png "alt=" Wkiom1awbdah8-mhaadxf5aonus140.png "/>

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/79/99/wKioL1aWBGmBjDimAADwlohqxEw557.png "style=" float: none; "title=" Screenshot_2016-01-13-15-54-44.png "alt=" Wkiol1awbgmbjdimaadwlohqxew557.png "/>

Solution: The main is the ListView layout inside the height set to: android:layout_height= "fill_parent";

The listview displays the same height for each item.

This article is from the "Android Small Problem" blog, please be sure to keep this source http://9501802.blog.51cto.com/9491802/1734648

Android ListView last item display (rookie novice, veteran don't spray)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.