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

Clipping on the bottom #21

Open
Sayujya opened this issue Apr 14, 2015 · 4 comments
Open

Clipping on the bottom #21

Sayujya opened this issue Apr 14, 2015 · 4 comments

Comments

@Sayujya
Copy link

Sayujya commented Apr 14, 2015

The bottom part of the number is clipped.

@adnan-SM
Copy link
Owner

Maybe your not setting the height & width properly ? Try reducing the height and width and see if it works

@Sayujya
Copy link
Author

Sayujya commented Apr 14, 2015

I understand that height controls the text size?

  1. If I set the height to 30dp and textsize to 25dp, the clipping still occurs.
  2. If I go to the TimelyView class itself and change the height to 95% of the value from getMeasuredHeight(), the text is no longer clipped.

@dwillie
Copy link

dwillie commented Mar 28, 2016

Is there any resolution on this, or known fix?

@Sayujya
Copy link
Author

Sayujya commented May 13, 2016

You have to go into the class and set up the canvas size or something. Since it inherits from View and not TextView, there is not other way other than to do so manually.

You can do what I mentioned above.

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

3 participants