Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import android.graphics.drawable.BitmapDrawable;

public class Main {
    private static BitmapDrawable sTiledPlusStageDrawables[];

    public static BitmapDrawable getBackgroundPattern(String s) {
        return sTiledPlusStageDrawables[3 & s.hashCode()];
    }
}