Comments (4)
The MaterialDrawableBuilder drawable
should be Drawable drawable
but that probably isn't the reason it's doing that I guess if it worked before. What exactly is this
referring to, an activity?
from material-icon-lib.
My bad ,it should be Drawable but yeah that's a typo here.
this
is a Activity. BTW this issue is also reported here-https://code.google.com/p/android/issues/detail?id=180481
And here-
http://stackoverflow.com/questions/31494946/getting-nullpointer-exception-after-updating-to-android-design-support-22-2-1
From what i understand, Drawable.ConstantState always returns null in default behavior. Probably have to override getConstantState() in MaterialDrawable
from material-icon-lib.
This one is hard for me to justify fixing as the default framework behavior is what it currently does. If the support lib uses one of the methods wrong than the report over there is probably the only thing that will fix it in the long run.
A temporary fix would be overriding the MaterialDrawable class and implementing the getConstantState() method there yourself. Cast the Drawable to that overridden one and it should work if I understood everything correctly.
from material-icon-lib.
I have starred the issue btw, I hope it gets fixed asap :)
from material-icon-lib.
Related Issues (20)
- Icon Color not changing in Samsung Galaxy Note 4 HOT 2
- Crash on API level 19 and below HOT 1
- New icon HOT 2
- MaterialDrawableBuilder does not care about Drawable.setBounds HOT 2
- Can I use MaterialMenuInflater in android.support.design.widget.NavigationView HOT 4
- Attribute "materialIcon" already defined with incompatible format. HOT 1
- Cannot instantiate class
- Missing Icons HOT 4
- Asset not found
- Arrow_left_bold & arrow_right_bold show either nothing or Japanese characters. HOT 5
- Wrong images shown Android Oreo HOT 1
- On certain Samsung devices, there's an inflate issue using the "materialIconColor" attribute HOT 1
- API 16 crash. Need help HOT 6
- Missing human-female-boy HOT 2
- Oreo Wrong İmages HOT 1
- Update icons
- Wrong images after 1.1.4 HOT 2
- Some of the icons which do not have alias unable to use on android
- Update to current materialdesignicons version please HOT 4
- Missing icon: weather-night-partly-cloudy
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 material-icon-lib.