Comments (6)
zip里面是什么内容?AssetManager能处理的资源只能是android打包出来的
from materialdesigndemo.
zip里面就是一些需要更换的图片资源,我研究过qq的换肤也是zip包,解压出来就是对应的图片和color文件
from materialdesigndemo.
qq换肤原理不太清楚,但是这里换肤的原理就是动态的去获取apk包里面的资源文件,如果资源文件不是经过打包过的是没法获取到的。
from materialdesigndemo.
如果想改成zip方式,能提供下思路吗,我在网上搜索过重写LongSparseArray<Drawable.ConstantState>的方式,只是不同版本机型问题很多。
from materialdesigndemo.
直接去加载资源文件还没去研究过,不太清楚
from materialdesigndemo.
谢谢啊,看来只能再去摸索了。
from materialdesigndemo.
Related Issues (11)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from materialdesigndemo.