Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import android.app.Activity;

import android.graphics.Typeface;

public class Main {
    public static Typeface getFont(Activity ac) {
        return Typeface.createFromAsset(ac.getAssets(), "DS-DIGI.TTF");
    }
}