bilibili / MagicaSakura

MagicaSakura 是 Android 多主题框架。~ is an Android multi theme library which supporting both daily colorful theme and night theme.
http://app.bilibili.com
Apache License 2.0
3.55k stars 468 forks source link
android-library colorful multi-theme multicolor svg theme vector

cover

MagicaSakura

Download

MagicaSakura is an Android multi theme library which supporting both daily colorful theme and night theme.

Feature

  1. Support both the daily colorful theme and the night theme.

  2. Switch different theme without recreating activities.

  3. Provide TintXXX Widgets for adapting multi theme to be more convenient and fast.

  4. Just writie a drawable.xml or layout.xml can be automatically adapted to different theme styles.

  5. Offer backward-compatible versions of the Android system that can be used with 4.0.3 or higher.

  6. Support Vector Drawable with appcompat-v7.

  7. Easy to integrate to your app.

Demo

ScreenShot.gif

You can download the lastest sample apk from Google Play.

Gradle Dependency

compile 'com.bilibili:magicasakura:0.1.9-beta3@aar'

Maven Dependency

<dependency>
  <groupId>com.bilibili</groupId>
  <artifactId>magicasakura</artifactId>
  <version>0.1.9-beta3</version>
  <type>aar</type>
</dependency>

Usage

Download

Demo Download here

TODO

License

Copyright 2016 Bilibili

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.