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





> > >



Other Threads

1. bug in Spinner.setSelection when called twice?

Hi,

I saw several people reporting an issue with Spinner.setSelection that does
not seem to work as expected on the second call: the item selection is
correctly updated in the list subframe, but not in the text displayed when
the spinner is closed

Anbody knows a workarround?

Thierry.





2. How to make a clickable region

Hi,

There`s some way to create a clickable region in the backgroud layout?

I was trying to put a button in the place that i want to click and set
the button
visibility to invisible, but for some reason it not responds to clicks
anymore.

David

--

3. Emulating a Droid

4. Fw: WTS: Motorola Milestone 5,3 jt, LG Crystal 3,3 jt

5. Design question: Activity per screen or not

6. Design question: Activity per screen or not

7. Why are my SharedPreferences suddenly deleted, after I updated my game in the Market?