<string-array name="myarray">    
<item>Apple</item> 
<item>Banana</item> 
<item>Grape</item>
<item>Melon</item>
if i want to add Underline the "Banana" what should I add?
<string-array name="myarray">    
<item>Apple</item> 
<item>Banana</item> 
<item>Grape</item>
<item>Melon</item>
if i want to add Underline the "Banana" what should I add?
 
    
    use SpannableString by which you can do Underline, Strike, Highlight, Bold, Italic etc to the text
for Underline you have to use UnderlineSpan http://developer.android.com/reference/android/text/style/UnderlineSpan.html
 TextView textview = (TextView)findViewById(R.id.textview);
 SpannableString content = new SpannableString("Apple Banana Grape Melon");
 content.setSpan(new UnderlineSpan(), 6, 11, 0);
 textview.setText(content);
or simply by adding HTML tag to the resource string <string name="sample"> <u>your data</u></string>
 
    
    <resource>
    <string name="your_string_here">This is an <u>underline</u>.</string>
</resources>
