On Mon, Jun 13, 2011 at 9:15 AM, KhAndroid <[email protected]> wrote:

> i am displaying some messages to the user by alert dialog box. and i
> want to show some part of my message differently either in bold or
> with different color. for example if my message is 'you have to ask
> android' , i want to show word 'android' diffrently. how is it
> possible
>

TextViews support simple HTML markups like <B>, <I>, <U> in the string value
set as it's content.
http://developer.android.com/reference/android/text/Html.html

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to