File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
WordPressUtils/src/main/java/org/wordpress/android/util Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1818 */
1919public class AutoResizeTextView extends TextView {
2020 // Minimum text size for this text view
21- public static final float MIN_TEXT_SIZE = 20 ;
21+ private static final float MIN_TEXT_SIZE = 20 ;
2222
2323 // Interface for resize notifications
2424 public interface OnTextResizeListener {
2525 void onTextResize (TextView textView , float oldSize , float newSize );
2626 }
2727
28- // Our ellipse string
29- private static final String M_ELLIPSIS = "... " ;
28+ // Our ellipse string - Unicode Character 'HORIZONTAL ELLIPSIS'
29+ private static final String M_ELLIPSIS = "\u2026 " ;
3030
3131 // Registered resize listener
3232 private OnTextResizeListener mTextResizeListener ;
@@ -179,7 +179,7 @@ public boolean getAddEllipsis() {
179179 /**
180180 * Reset the text to the original size
181181 */
182- public void resetTextSize () {
182+ private void resetTextSize () {
183183 if (mTextSize > 0 ) {
184184 super .setTextSize (TypedValue .COMPLEX_UNIT_PX , mTextSize );
185185 mMaxTextSize = mTextSize ;
You can’t perform that action at this time.
0 commit comments