On Thu, Sep 16, 2010 at 9:33 AM, Christophe <[email protected]> wrote: > and this is how I use the typeface : > > TextView title = new TextView(this.getApplicationContext()); > title.setText("some text"); > title.setTypeface(Typeface.create(Typeface.SANS_SERIF, > Typeface.BOLD_ITALIC));
Please delete "getApplicationContext()" and just use "this". -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy -- 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

