Get the TextView object with findViewById() and then call
TextViewsetTypeFace().



Yusuf Saib
Android
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.



On Aug 18, 9:16 am, Alix <alts...@gmail.com> wrote:
> Hello,
>
> I have a widget with a TextView. I can change text and color of this
> TextView like this :
>
> remoteViews.setTextViewText(R.id.txt, "Sample");
> remoteViews.setTextColor(R.id.txt, Color.RED);
>
> But I need to put this TextView "bold" conditionnaly... How can I do
> that ?
>
> Thanks in advance...
>
> Alix
--~--~---------~--~----~------------~-------~--~----~
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