wordpress-mobile / WordPress-Android

WordPress for Android
http://android.wordpress.org
GNU General Public License v2.0
2.99k stars 1.32k forks source link

Reduce CardView use to avoid Overdraw #10839

Open yabejarano10 opened 5 years ago

yabejarano10 commented 5 years ago

Expected behavior

Replace the use of cardviews to avoid CPU-related performance problems

Actual behavior

over bad

There are several elements such as the website icon that contribute to overdrawing problems due to the use of CardViews.

Steps to reproduce the behavior

Changing the use of CardViews with transparent ConstraintLayouts allows you to achieve the same visual effect with much lower Overdrawing levels.

over good

Tested on [device], Android [version], WPAndroid [version]

Tested on Motorola G6 play. Android 9.

stale[bot] commented 4 years ago

This issue has been marked as stale because:

Please comment with an update if you believe this issue is still valid or if it can be closed. This issue will also be reviewed for validity and priority during regularly scheduled triage sessions.