0

Is it is possible to apply css files in android application? For example if I have css file for button, then how can I access that file in my android application if am using android studio?

Amshu
  • 127
  • 10
  • are you using `webview` or `PhoneGap` like SDKs? – Riad Aug 08 '16 at 06:05
  • No..I dont have any idea that how to access css file.I did not use anything like webview. I have – Amshu Aug 08 '16 at 06:08

1 Answers1

1

Android isn't support CSS. Instead android has it's own mechanism, styles.

Or you can use Apps with HTML and CSS in WebView which is packaged in android assets.

Or you can use Frameworks like PhoneGapp,Corona,Titanium. Comparison between Corona, Phonegap, Titanium

Community
  • 1
  • 1
Nivi dimka
  • 85
  • 8
  • Ok. Whether I have to change my codes which I used for button click in .java file,if use WebView in android. – Amshu Aug 08 '16 at 07:33
  • @Amshu, You can put this .css and .html file to assets, and in html draw button and set onclick for webview. – Nivi dimka Aug 08 '16 at 10:41