tags:

views:

33

answers:

3

I am working with an edit text to support the properties of bold,italic and underline.I got succeed after selecting the text and clicking on bold my text was bold.Now what my requirement is how to remove the bold again after selecting the text and clicking on bold button.

Regards, Bhavani.G

A: 

Is this what your looking for?

((TextView) view).setTypeface(Typeface.create(Typeface.DEFAULT, Typeface.NORMAL));
slup
A: 

Thank you for the reply.Actually, What my need is if i select some text and clicking on Bold button(I have implemented this with spannable)in edit text/autocomplete text view my text is becoming bold.

Now, Again selecting the bolded text and by clicking on the bold button it should become normal text.

To achieve this i should know my text is in bold.How to do this??

Regards,

vani

vani
A: 

Is it possible to create Bullets and numbet lists on Autocomplete text view/edit text of Android??

Regards, vani

vani