Answer the question
In order to leave comments, you need to log in
How to fix problems with DrawerLayout(side menu)?
Good afternoon. There is a problem with the DrawerLayout(side menu) object. Inside there is its own layout, hedaer consists of a picture as a background and an ImageView (avatar), the structure is like in the Vkontakte application. Opening and closing the menu on Android 4.4 is smooth and the pictures are displayed correctly, while Android Studio shows no more than 20% CPU usage. But on android 5.0.2 and 5.1.0 (in general, by 5 >=), it moves extremely buggy, the nomination process takes 5-7 seconds, while the avatar remains just black. When we remove all the pictures and pictures, everything works well. The question is - what should be done to fix this problem?
Answer the question
In order to leave comments, you need to log in
Check out the image resources. Unload drawable resources into folders.
enable: Developer options->Debug GPU overdraw
blue green good . :)
developer.android.com/intl/ru/tools/performance/de...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question