I want to display an integer that the user will define in the XML.
TextView Years = (TextView) findViewById(R.id.Years);
Years.setText(Age);
I know that this is right, but I don’t know what to put in the XML to have the integer displayed.
Thank you.
You put strings in xml. And if you want to use that string as an integer. You use the line