I have a string defined in my String.xml file that uses format arguments, i.e.:
<string name="myStr">Part No.(Part Sr. No.)</string>
I have assign string for TextView
<TextView android:text="@string/myStr"/>
There is error occurred for assign string value for TextView. How is it do format string for TextView?? Please help me.
Thanks! Nitin
To allow for all characters in your string, you must mark is as not formatted:
<string name="myStr" formatted="false">Part No.(Part Sr. No.)</string>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With