asolfre / adet Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/adet
Automatically exported from code.google.com/p/adet
The library doesn't work on 4.4
Method loadDrawable isn't called.
Original issue reported on code.google.com by [email protected]
on 27 Jun 2014 at 12:47
This is not a bug report, but an invitation for you to comment on a Android
platform feature request that has been raised in
https://code.google.com/p/android/issues/detail?id=66265
cheers
Peter :)
Original issue reported on code.google.com by [email protected]
on 24 Feb 2014 at 3:17
What steps will reproduce the problem?
Just take a SVG whose <width> / <height> are in "pt", unit pretty comon among
svg designers.
The method parseFloat will throw an exception, as it only looks for "px".
The fix is super easy, in line 714 of SVGParse.java:
--------------------------------------------------------------------------------
private static Float getFloatAttr(String name, Attributes attributes, Float defaultValue) {
String v = getStringAttr(name, attributes);
if (v == null) {
return defaultValue;
} else {
if (v.endsWith("px")) {
v = v.substring(0, v.length() - 2);
} else {
// ADDED BY [email protected] TO CORRECTLY PARSE "pt" units
if (v.endsWith("pt"))
v = v.substring(0, v.length() - 2);
}
// Log.d(TAG, "Float parsing '" + name + "=" + v + "'");
return Float.parseFloat(v);
}
}
--------------------------------------------------------------------------------
I am no expert in SVG units, but I bet there are a few more missing... maybe
it's worth to remove always whatever unit and just return the raw number....
Hope this helps!
Original issue reported on code.google.com by [email protected]
on 30 Apr 2013 at 2:33
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.