What exactly is being passed into onMeasure()?

by ajb468 » Fri, 23 Apr 2010 00:21:52 GMT

Sponsored Links
 I don't understand the method onMeasure(int widthMeasureSpec, int
heightMeasureSpec). In the example I have seen, MeasureSpec.getMode()
is used, and passed in the widthMeasureSpec or heightMeasureSpec to
find the restrictions placed on the View's boundaries. The restictions
are either "EXACTLY," "AT_MOST," or "UNSPECIFIED." Well my questions
is, what determines these restictions? What calls and passes the
arguments of onMeasure that determine these restrictions? Is it the
parent View? Please help, im so confused.


Other Threads

1. Update G1

Is there a process to update the original developer unlocked G1 to the
latest firmware available?
I have:
Model Number: Android Dev Phone 1
Firmware version: 1.0
Baseband Version:
Kernel Version: 2.6.25-01843-gfea26b0 android-bu...@apa27 #6
Build number: dream_devphone-userdebug 1.0 UNLOCKED 116222 test-keys

Would like to update to the latest version or even the tmobile
firmware if possible.

Thanks in advance for any help.

2. Android OpenCore question.....

What is the difference between the header versions under "linux" and
"linux_nj", for example under the directory /oscl/config?


unsubscribe: android-porting+unsubscr...@googlegroups.com

3. MediaPlayer not running - just blank screen

4. Market "view" option disappears

5. Finance for Android - A Goo gle Developer鈥檚 Note

6. Converting FREE app to PAID app

7. serial over usb