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?
Asked
Active
Viewed 880 times
1 Answers
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