Reputation: 1531
I have TextView:
<TextView
android:id="@+id/name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Simple Name" />
Then I set text programmatically by amount.setText("other Name")
.
Now, is it possible to get original value from that TextView?
I know that I should use string resources and then there would be no problem but I'm curious is this possible.
Upvotes: 1
Views: 59
Reputation: 5566
There is no way of getting this value from xml.
Upvotes: 2