Issue
new dev here and hoping someone can help me, i have looked and cannot seem to find an answer to my question, i have all my textviews @strings
but i am wondering, i have a textview that has an empty value in my xml on android studio i.e android:text=""
, i have to leave this empty as this is to display a results from a string array.
So my question is how can i add this to @string
values when it is empty?
sorry for the noobish question but i have not been able to find the answer to my question!
thank you
Solution
Rather than creating the empty string resource, I'd suggest that if you do not have any default text you can just remove android:text=""
. That means blank.
It is not mandatory to put that property in your xml.
Answered By - Viral Patel
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.