Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The height is considered to be incorrect #13

Open
JIO6CTEPok opened this issue Jul 13, 2016 · 0 comments
Open

The height is considered to be incorrect #13

JIO6CTEPok opened this issue Jul 13, 2016 · 0 comments

Comments

@JIO6CTEPok
Copy link

The height is considered to be incorrect
class JustifiedTextView
line
mHeight+= getPaddingRight() + getPaddingLeft() ;

public void setMeasuredDimentions(int lineListSize,int lineHeigth, int lineSpace)
{
        int mHeight=lineListSize*(lineHeigth+lineSpace)+lineSpace;

        mHeight+= getPaddingRight() + getPaddingLeft() ;

        setMeasuredViewHeight(mHeight);

        setMeasuredViewWidth(getWidth());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant