Espiandev/ShowcaseView — pull request #79 by nikwen (2013-09-27 18:51:12+00:00)
Title: Fixed layout for titles which are longer than one line

This solution was originally posted by SimplicityApks here: http://forum.xda-developers.com/showthread.php?p=45888213#post45888213

All credits to him. (He asked me to create a pull request.)

Quote:

> found an easy solution for the bug where a ShowcaseView title which is longer than one line overlaps the detailText:
replace line 440 of the ShowcaseView.class, in the dispatchDraw(Canvas canvas) method with this:
Code:
canvas.translate(mBestTextPosition[0] , mBestTextPosition[1] + 12 * metricScale + (mDynamicTitleLayout.getLineBottom(mDynamicTitleLayout.getLineCount()-1)-mDynamicTitleLayout.getLineBottom(0)));