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. What is the optimized environment to develop or modify an application in Android platform?

I wanna ask a simple question to all android developers~
What is the optimized environment to develop or modify an application
in Android platform?
How are you developing an application now?

Google provided several excellent tools to develop an application such
as Emulator, Dalvik Debug Monitor, Logcat, SQLites.
However, the basic thing in developing an application is... build &
fix... isn't it?
The way how I develop is that... modify some code in windows system..
and then move the changed source to Ubuntu system and... build it.
(make).
Now... I wanna make it easier~ so.. I built an application(in
packages) using Eclipse in windows system, but it is not able to build
it because the android.jar does not include so many APIs from
framework (e.g.:\frameworks\base\core\java\com\google\android)
I created a new SDK using "make sdk" in the Ubuntu system to fix this
problem, but it is still not able to build an application using
Eclipse.

Is there anyone who can help me on this?

Are there no ways to build an existing application in packages?
(\packages\apps)

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

2. flipping window upside down

Does anyone know If I can specify for an Android application to have
the main window and all its children draw upside down on the phone.
I'm looking for something similar to portrait and landscape
orientation but more like portrait_upside_down and
landscape_upside_down.

Thanks

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

3. HTC

4. Promoting Discussion of the Android Marketshare

5. Need help.. I dont know how to get listview up with different screen layout

6. Detecting changes to a specific row through a content observer

7. can not see the font of Activity