Load CSS Styles in a Textview

by And-Rider » Thu, 22 Apr 2010 12:50:05 GMT


Sponsored Links
 Is it possible to display Css style tags in a text view..? The method
Html.fromhtml() converts only html tags to a spanned string but not
the Css styles

--



Load CSS Styles in a Textview

by patbenatar » Thu, 22 Apr 2010 15:18:40 GMT


 To answer your question, nope. Html.fromHtml() is exactly that: HTML.
Some sort of HtmlAndCss.fromMarkup() or something would be really
useful for lazy UI designers but you need to keep in mind that using
things like HTML and CSS in a application built for a certain set of
devices running a certain system just won't feel native to your users--
and native apps are something users tend to prefer.

Try searching first next time, CSS questions pop up all the time on
this group..

-Nick






>


Sponsored Links


Load CSS Styles in a Textview

by patbenatar » Thu, 22 Apr 2010 15:37:17 GMT


 Oh, also: there is the WebView option, although I don't like
advocating this--again, not native. For example the DropBox
application--I downloaded and installed it and finally launched it to
see a WebView: "WTF? I could have quickly gone to dropbox.com in
Browser for this."







> >



Other Threads

1. download aplikasi selain d market d mna yah??

malam semuanya...

mau nanya nihh ke smua yg dah mahir  android,,
klo mau dowload aplikasi yg bagus2 d mna yahh??selain d market...
ma apa aja yg harus wajib d install d android,,hehhee

maklum masih bentar make heronya..
cupu bgt..

makasih sebelumnya..
--~--~---------~--~----~------------~-------~--~----~
=========================
Google Groups "Indonesian Android Community [id-android]" group.

To post to this group, send email to id-android@googlegroups.com

To request to subscribe to this group:

Click  

2. LayerBase::drawWithOpenGL

Hi

I have been looking at LayerBase::drawWithOpenGL() and trying to
figure out if the scaling being done in this function is performing a
"stretch" or "crop", but not able to figure that out yet.

Can someone please let me know if LayerBase::drawWithOpenGL() is doing
"stretching" or "cropping" for scaling operation?

Thank you so much for your help,
an

-- 

3. localsocket programming - server-less communication

4. Warning for G1 owners: G1 is extremely susceptible to water damage!

5. how do you specify the name of the .apk file....

6. cannot build any more...

7. are Animations always clipped to ViewGroup bounds?