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 ( )
to load a HTML page inside your application. (and, of course, the CSS used
by the HTML page)

Felipe Silveira 


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


> >

REG: CSS style sheets

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

 Thank you so much..

> > >

Other Threads

1. Using the android logo (both graphical and text)

I'm trying to figure out the legalities behind using the android logo
and text logo.  I'm not looking to make money off it at all. I just
want some Android swag for myself.  Any insight to contacts that would
know more would be great.  I've looked on both Google's and Android's
pages, but haven't found anything particular to using the logo and
such (or a contact to ask about it).



2. [Contacts] Business contacts don't display Company when Name is not available

First, forgive me if this is the wrong place to post this. I can't
find any real support forums for the G1 or Android OS anywhere. T-
Mobile won't do anything about this problem since it's at the OS level
and not one of their own applications.

Long Explanation:
I have many business contacts as well as personal contacts. On my
business contacts, I leave the "Name" field blank and instead use the
"Company" field because this is the standard way of handling things on
vCards (which I use daily), in Outlook, and in other mail programs.

The standard behavior for these things is to display the Company when
no Name is available. This works fine in Gmail on a full web browser.
(as shown in the image linked below)

The problem begins when you move to the G1 and Android OS. Gmail and
Gmail Mobile, as well as the built in Contacts application fail to
fall back to Company when no Name is available. In addition, I also
cannot search my Contacts by Company since the app never looks at the
Company field.

This is broken behavior, so I'm posting this in hopes of a quick patch
from the Android and Gmail teams.

Short Explanation:


3. Operating G1 from Shell

4. Application tries to overwrite Android System on G1

5. About WebView setOnClickListener

6. How to configure android emulator browser work on windows?

7. Listactivity refreshing exiting to original list when screen flips