in android project, there is string.xml under res/values folder. we use this 'strings.xml' to store variable properties:
add below new name in strings.xml
add below new name in strings.xml
<string name="string_value1">Value from strings.xml</string>
Now, add textview and render strings.xml name - value in this texview
Now, lets change the value of TextView from java code:
No comments:
Post a Comment