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 {

    public static void setUnderlineStr(TextView tv, String str) {
        tv.getPaint().setFlags(Paint.UNDERLINE_TEXT_FLAG);
        tv.setText(str);
    }
}