REG: CSS style sheets

by Santha » Tue, 20 Apr 2010 18:56:05 GMT


Sponsored Links
 Can we import the CSS style sheets in to our android application.

--



REG: CSS style sheets

by Felipe Silveira » Tue, 20 Apr 2010 20:38:21 GMT


 Well, I'm not sure if it is what you want, but you can use the WebView
component (
 http://developer.android.com/intl/de/reference/android/webkit/WebView.html )
to load a HTML page inside your application. (and, of course, the CSS used
by the HTML page)


-- 
Felipe Silveira
 http://www.felipesilveira.com.br 
-------------------------------------------------




>


Sponsored Links


REG: CSS style sheets

by patbenatar » Wed, 21 Apr 2010 03:28:42 GMT


 The above idea to use a WebView would work and be quite a quick and
easy solution for styling your application. Unfortunately, your
application will look like a webpage and not a native Android app. To
style natively, you cannot use CSS but rather must use Android styles
and themes:  http://developer.android.com/guide/topics/ui/themes.html 
.. these have a bit of a learning curve for a HTML/CSS UI designer,
but in the end your app will feel native, a characteristic users tend
to like.

-Nick







> >



REG: CSS style sheets

by Santha » Wed, 21 Apr 2010 13:59:34 GMT


 Thank you so much..





> > >