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




On Apr 20, 5:37 am, Felipe Silveira <[email protected]> wrote:
> 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...)
> to load a HTML page inside your application. (and, of course, the CSS used
> by the HTML page)
>
> --
> Felipe Silveirahttp://www.felipesilveira.com.br
> -------------------------------------------------
>
> On Tue, Apr 20, 2010 at 7:55 AM, Santha <[email protected]> wrote:
> > Can we import the CSS style sheets in to our android application.
>
> > --
> > 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%2Bunsubs 
> > [email protected]>
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> 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 
> athttp://groups.google.com/group/android-developers?hl=en

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

Reply via email to