On Feb 17, 10:13 pm, skink <[email protected]> wrote: > On Feb 17, 10:01 pm, poohtbear <[email protected]> wrote: > > > setMeasuredDimension(int, int) takes the size you want the view to be, > > this is why you have to call it in the end of onMeasure() the params > > you writ are parameters to onMeasure() no setMEasureDimension(). > > my question was if you just pass parameters like 100. 50 which is > wrong way. > > you have to pass values returned by MeasureSpec#makeMeasureSpec method > > pskink
i'm sorry, yes, you are right, i mixed up onMeasure with setMEasureDimension again my apologies pskink -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

