android - set one item in gridview to underlined on gridview load -
ok have gridview of strings , want when load gridview can have 1 underlined.
final gridview gridview = (gridview)findviewbyid(r.id.gridview); final arrayadapter<string> arrayadapter = new arrayadapter<string>( this, r.layout.customstyle, letters ); gridview.setnumcolumns(columnsize); gridview.setadapter(arrayadapter);
here gridview code, how set 1 underlined?
why dont try custom adapter
, pass spannablestring
textview
.
spannablestring spanstring = new spannablestring(textstring); text.settext(spanstring);
Comments
Post a Comment