Pixate / pixate-freestyle-android

Pixate Freestyle for Android
Apache License 2.0
254 stars 55 forks source link

Changing CSS/"Theming" support? #26

Closed corbt closed 9 years ago

corbt commented 9 years ago

I'm very excited by the prospect of using CSS to style my Android application. For the app I'm working on, users are able to select a "theme" which changes the color and appearance of a variety of elements within the activity.

I'm wondering if it would be possible to implement the theming behavior by passing the path to the themed CSS file to the PixateFreestyle.init initializer. This could be implemented by adding an alternate form to the initializer like PixateFreestyle.init(this, 'my_theme.css'). Is that something that the project would be interested in supporting? If so, I can work on a pull request.

Shalom commented 9 years ago

Of course! This can be useful. We'll review your PR once you push it. Thanks