TourGuide icon indicating copy to clipboard operation
TourGuide copied to clipboard

Passing wrong args to View.measure()

Open MajeurAndroid opened this issue 9 years ago • 0 comments

You definetely cannot understand View measuring process and write such code: mToolTipViewGroup.measure(FrameLayout.LayoutParams.WRAP_CONTENT, FrameLayout.LayoutParams.WRAP_CONTENT);

You have to pass an int representing a MeasureSpec, this done with MeasureSpec.makeMeasureSpec(int, int) static methods.

By the way, this library is visually nice !

MajeurAndroid avatar Jun 04 '16 17:06 MajeurAndroid