You can try this, I am not sure if it works or not.
setText(Html.fromHtml("<strike>Your text</strike>");
On Tue, Oct 19, 2010 at 11:32 AM, metal mikey <[email protected]> wrote:
> From what I know, its not possible. You'd have to try something like
> placing a line (in, say, an ImageView) on top of the TextView. That
> shouldn't be a problem if the text in your TextView is static, but
> would be quite tricky otherwise!
>
> On Oct 19, 4:41 pm, Guru <[email protected]> wrote:
> > Is it possible to have strike through text in widget?
> > the setFlags method is not available in the RemoteViews method?Is there
> any
> > other way to accomplish this?
> >
> > This was the only link which i found on strike through textView.
> >
> > http://fupeg.blogspot.com/2010/01/strikethrough-android.html
> >
> > Thanks
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
--
Kumar Bibek
http://techdroid.kbeanie.com
http://www.kbeanie.com
--
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