Hi, I hope you find the following a bits helpful to start off:
//create a new "fonts" folder and place inside of your assets folder //copy and paste the font named "[mac font name].otf" to your new fonts folder from your mac's "Font Book" folder (I use mac). //call the following method myLayout(); //method definition: private void myLayout() { Typeface tf = Typeface.createFromAsset(getAssets(), "[mac font name].otf"); TextView tv = (TextView) findViewById(R.id.textView1); tv.setTypeface(tf); TextView tv1 = (TextView) findViewById(R.id.textView2); tv1.setTypeface(tf); TextView tv2 = (TextView) findViewById(R.id.textView3); tv2.setTypeface(tf); } As a Noob myself, I learned this from " Android App Development and Design: Learn by Video [DVD-ROM] " Of course, I have Mark's book also. On Mon, Feb 13, 2012 at 1:57 PM, Mark Murphy <mmur...@commonsware.com>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 <mohit89m...@gmail.com> wrote: > > Hello guys, > > I am developing a small app to schedule messages(to be sent in > > future). I have done the basic text scheduling part. > > Now i want to include rich UI tools like change font size , add > > smilies , or change text color ,style (Bold,Italic,Underline) in my > > message text. 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, send email to android-developers@googlegroups.com > > To unsubscribe from this group, send email to > > android-developers+unsubscr...@googlegroups.com > > 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 android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en