Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
import android.widget.TextView;

public class Main {
    public static void formatPadWithBlank(TextView txt, int number) {
        if (number < 10) {
            txt.setText(" " + number);
        } else {
            txt.setText("" + number);
        }

    }
}