Code example for Paint.FontMetricsInt

0
 
    private static final int STATE_CHANGED = 0x00000001;
    private static final int STATE_COLLAPSED = 0x00000002;
    private static final int STATE_EXPANDED = 0x00000004;
 
    private FontMetricsInt mLabelFontMetrics = new FontMetricsInt();
 
    private TextPaint mTextPaint;
    private TextPaint mTextLabelPaint;
    private Layout mLayout;
 
    private CharSequence mText;
    private CharSequence mTextCut;
    private CharSequence mTextLabel;
 
    private int mStateFlags;
    private int mMaxLines;
    private int mEllipsizedWidth;
 
    private int mLabelWidth;
Experience pair programming with AI  Get Codota for Java