Use an ImageSpan.

On Mon, Feb 13, 2012 at 2:20 PM, noob <[email protected]> wrote:
> One more question..... How can i add smilies in my text box?
>
>
> On Feb 13, 11:57 pm, Mark Murphy <[email protected]> wrote:
>> While EditText can support all your desired features, there's nothing
>> built into Android to allow users to, say, specify a font color. I've
>> been working on a reusable component for this, but it has gotten
>> caught in the logjam of stuff I'm working on overall. :-(
>>
>> At a high level, you use the various *Span classes in
>> android.text.style to add formatting to the contents of the EditText.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On Mon, Feb 13, 2012 at 1:49 PM, noob <[email protected]> wrote:
>> > Hello guys,
>> > I am developing a small app to schedule messages(to be sent in
>> > future). I have done the basictextscheduling part.
>> > Now i want to includerichUI tools like change font size , add
>> > smilies , or changetextcolor ,style (Bold,Italic,Underline) in my
>> > messagetext. I dont know where to start with and how to do this.
>> > Could someone please help me get some good tutorial for this or
>> > provide some snippets to do this?
>> > Thanks in advance.
>>
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups "Android Developers" group.
>> > To post to this group,sendemail to [email protected]
>> > To unsubscribe from this group,sendemail to
>> > [email protected]
>> > For more options, visit this group at
>> >http://groups.google.com/group/android-developers?hl=en
>>
>> --
>> Mark Murphy (a Commons 
>> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>>
>> Android 4.0 Programming Books:http://commonsware.com/books
>
> --
> 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



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android 4.0 Programming Books: http://commonsware.com/books

-- 
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