displaying static and dynamic data in textview in android -
Is there any way to display static and dynamic data in their textview ..
Here my text is reviewing I Android: Android: paddingTop = "5dp" Android: paddingBottom = "5dp" Android: ID = "@ + ID / ROOTEX" Android: layout_width = "Fill_parent" Android: layout_height = "wrap_content" Android: orientation = "vertical" Android : Text = "Listiems" />.
I have to display the text that is in Android: text and its dynamic data further.
Is there any way to them?
> thanks :)
Use
string tempString = "your dynamic text here"; TextView Text = (TextView) Find VVBIID (RID. Rotex); SpannableString spanString = new SpanLabel string (tempstring); SpanString.setSpan (New Style Span (Typeface.BA), 0, SpanString.line (), 0); Text.setText (""); Text.append (spanString);
Comments
Post a Comment