I\'m analyzing memory usage of our app, and has found strange Drawables
, which constantly \"eats\" few megabytes of heap. Here are few screenshots from MAT:
This picture from android.jar, which you have to include into your project. There are two squares with the vertical gradient. The first - from 0x000000 to 0x272d33, the second - from 0xe8e8e8 to 0xfafafa. You can find them in android.jar/res/drawable-nodpi/background_holo_dark.png and background_holo_light.png. Of course, you can get different results depending on your Android SDK version.