[android-developers] SlidingDrawer - Setting height moves the view up

2012-01-24 Thread joaocruz04
Hi, i'm having a problem: i've created a sliding drawer with a specific height, at the bottom of the screen. The problem is, when the height of the SlidingDrawer is set as "fill_parent", everything works great, but when i set the height as for instance, "150dip", the SlidingDrawer moves to the to

[android-developers] Re: How to resolve outOfMemoryError - Bitmap size exceeds VM budget

2011-09-23 Thread joaocruz04
I found a solution, thanks to Streets of Boston and laminina. Since every app uses 2 images (background and other image), i created 2 images in my Application class (global variables) and not in the XML (laminina idea). Each app at the onCreate/onResume phase will call these images from the Applic

[android-developers] How to resolve outOfMemoryError - Bitmap size exceeds VM budget

2011-09-22 Thread joaocruz04
Hi all, i've been searching the web for a solution but i couldn't find one. Most of the solutions are for the case when the screen orientation is changed, and then, reimplement onDestroy method. But that's not my case. I have the case where i have let's say, 10 activities, one leading to another.