SlidingDrawer throws RuntimeException in onMeasure

by allstars » Thu, 30 Apr 2009 15:43:20 GMT


Sponsored Links
 hi
i would like to do some tests on SlidingDrawer
however i always found RuntimeException when SlidingDrawer.onMeasure
is called
i check the code and think the exception is caused by unspecified
MeasureSpec

so i would like to ask how to setup the MeasureSpec in SlidingDrawer?

thanks
--~--~---------~--~----~------------~-------~--~----~



SlidingDrawer throws RuntimeException in onMeasure

by allstars » Thu, 30 Apr 2009 15:47:49 GMT


 i forgot to mention that i take the reference code from Launcher
however i didnt find SlidingDrawer doesnt call any makeMeasureSpec
so neither did i
but i encountered RuntimeException in my case
so am i doing some wrong with SlidingDrawer?

thanks


--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. poor state of webkit transforms in Android

Hi, I'm finding out that Android has either disabled or broken
Webkit's -webkit-transform features. I couldn't locate an authentic
documentation from Google about android.webkit and its (broken)
status. Can someone who knows it all throw light and save immense time
that I'm spending testing these things? For example, when I try
rotateZ it behaves like rotateY, while rotateY just doesn't work for
me on Android 2.2 + Nexus One. I have tested rotateY and rotateZ on
Chrome browser and things appear fine there.

So, any official statement on Android's Webkit (in)capabilities?

thanks
dp

-- 

2. Sharing files between apps

I have two applications which can access each others files.  To get a
path to a file in the other app, I am using the context.getDir(...)
function to get a path to the file for the running app, and then
changing the package name component of that path to the package name
of the other app.  This seems to work, but I am wondering if this is a
reliable way of doing this, or if there is another more appropriate
way.

Thanks.

-- 

3. Preventing the search button from closing an AlertDialog?

4. Solution: Android INSTALL_FAILED_INSUFFICIENT_STORAGE error

5. Blinking Images

6. Android Jadi Tren 2011

7. Active install percentage going up?