Popwindows nested ListView in Android 7.1 display issue

Source: Internet
Author: User

Recently received an old project from the company, the test found a android7.1 version compatible bug.

First look at the code, layout is simple, a search head a ListView.

  

View0 is a 1DP layout in activity, which means that the popwindows is displayed in full screen.

  

The previous programmer used Popwindows to write a full-screen pop-up window, which nested a ListView display data. The question came, and at 7.1 it became the image below. Test phone, Xiaomi Mix2, System version, Android 7.1.1

The final solution is to set the hidden progress bar in the ListView. Android:scrollbars= "None" guess is the sliding of the ListView and Popwindow layout conflict, and so a big guy from the source level analysis.

Popwindows nested ListView in Android 7.1 display issue

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.