Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
import android.graphics.Paint;

import android.widget.TextView;

public class Main {
    /**
     * Remove strike through text view text flag.
     * @param textView
     * @return
     */
    public static TextView removeStrikeThroughTextView(TextView textView) {
        textView.setPaintFlags(textView.getPaintFlags() & (~Paint.STRIKE_THRU_TEXT_FLAG));
        return textView;
    }
}