Code example for TextPaint

Methods: setColorsetTypefacesetUnderlineText

        @Override public void updateDrawState(TextPaint paint){
            paint.setColor(0xFFB100C4);  //TODO:  Find a better way to set these values.
            paint.setTypeface(Typeface.create((String)null,Typeface.BOLD));  //Have to add that cast to avoid ambiguity.
    private static Dialog       _dialog=null;
    private static LinearLayout _inflated_dialog_span=null;
     * @see roge.taekim.content.span.Span#parseSpan(CharSequence, int, int, SpanAttributes) 
    @Override public CharSequence parseSpan(CharSequence string,int span_start,int span_end,SpanAttributes attributes){
            Log.e("JP","The "+this.getTag()+" tag MUST have the \"word\" attribute set.");
Stop searching for code, let great code find you!  Add Codota to your java IDE