Hi All

How can to format the font a TextView with setTyface in the
AppWidgetProvider


example:

 RemoteViews views = new RemoteViews(context.getPackageName(),
R.layout.widget_xxx);
Cursor cursor = displayRecords(context);
cursor.moveToPosition(0);
String text= cursor.getString(cursor.getColumnIndex(BOOK_TITLE));
views.setTextViewText(R.id.resume,text);

??????

  georgia = Typeface.createFromAsset(context.getAssets(),
"fonts/helvetica.ttf");
  tvResume.setTypeface(georgia);

????????????

Thanks
David

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

Reply via email to