Sorry for such a simple question, but how would you put a space between a random number that is being generated and then sent to setText?
It now displays ########, but I want it to display as #### ####
text = (TextView) findViewById(R.id.tv_randnumber);
text.setText(String.valueOf((int) (Math.random() * 100000000)));
I suggest this:
This must work.