TimelyTextView icon indicating copy to clipboard operation
TimelyTextView copied to clipboard

Clipping on the bottom

Open Sayujya opened this issue 10 years ago • 4 comments

The bottom part of the number is clipped.

Sayujya avatar Apr 14 '15 09:04 Sayujya

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

adnan-SM avatar Apr 14 '15 09:04 adnan-SM

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.

Sayujya avatar Apr 14 '15 10:04 Sayujya

Is there any resolution on this, or known fix?

dwillie avatar Mar 28 '16 23:03 dwillie

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.

Sayujya avatar May 13 '16 02:05 Sayujya