Saturday, October 24, 2015

// //

Display text/String randomly on textview in android programmatically

Hellow?! Today i will show you how to display text or string randomly in a textview in android. Okay?! So let's get started...:) First create xml file and named it, random: random.xml And in your MainActivity.java import java.util.Random; import android.os.Bundle; import android.preference.PreferenceManager; import android.app.Activity; import android.content.Intent; import android.content.SharedPreferences; import android.view.View; import android.view.WindowManager; import...
Read More