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



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. Root ekplore dan dropcap ngga bisa tampil....

selamat siang semuanya.....
Saya ada sedikit masalah....kenapa root eksplore dan dropcap saya
tidak bisa tampil...saat masuk ke SU request..hanya tampil layar gelap
atau hitam aja......???
tolong bantuan suhu dan suhi yang pernah mengalami kejadian yang sama
dengan saya.. saya pakai HH HTC HERO....yang anehnya lagi setiap kali
colokin kabel USB ke HH terus ke PC malah bisa masuk..setelah pakai
HTC sycn...




"Indonesian Android Community [id-android]" 

2. Information provided to developers from Android Market


This seems like a verbose history of transactions. Do developers find this 
level of detail in the 'Order history' useful?

On Thu, Jun 3, 2010 at 6:35 AM, Tobias Eisentraeger 

You can log into your google checkout account and there you can see:
Order Number
Total Price sold for
Charge status (first 24 hours until ip charges)
Coded Email address which you can use to contact buyer, but you wont see the 
real one
What App was bought
Sale Date and time
Buyer credit verification, how old the cc account is
Order history, for example:
Order history
Jun 3     6:06 AM       Order shipped    You shipped this order.
Jun 3     6:06 AM       Order charged    The customer's credit card was 
successfully charged for $x.xx.
Jun 3     6:06 AM       Charge initiated         You initiated a charge of 
$x.xx to the customer's credit card.
Jun 2     3:28 AM       Authorization successful        The customer's credit 
card was authorized for $x.xx, and passed all risk checks. (Expires Jun 9, 2010 
2:38:26 AM GMT+02:00)
Jun 2     3:28 AM       Order received   You received a new order. Google has 
sent the customer an order confirmation email.

I am very new to this area, and curious about the information provided
to developers on sales through Android Market.

What is provided to developers after a sale?




3. ASK: Update CM5 DS stuck di logo T-mob

4. Default Paint size too small on new device; is there a better source?

5. List of all instantiated Activities

6. Information provided to developers from Android Market

7. OOT WTA: Anggota Republik Mimpi G1