Cyril Mottier b81b1447d2 Default RotateDrawable's pivot set to (50%, 50%)
In order to define the pivot in an XML-instanciated RotateDrawable, android:pivotX
and android:pivotY had to be set in your XML. Forgetting to set those attributes
ended up in a NullPointerException (tv = null) that were caught by the Resources.getDrawable()
method (caught as an Exception). As a result a not-very-accurate message was logged:
"Resource not found ...". Defining a default pivot value seems like a great fix.
Some other fixes would be to modify the documentation or notify the user with a better
explanation than "Resource not found ...".
2010-02-06 00:36:40 +01:00
2009-11-13 13:53:39 -08:00
2009-07-29 14:25:07 -07:00
2009-11-13 13:53:39 -08:00
2009-11-13 13:53:39 -08:00
2009-11-13 13:53:39 -08:00
2009-11-15 12:06:23 -08:00
2009-11-15 12:06:23 -08:00
2009-11-13 13:53:39 -08:00
2009-11-13 13:53:39 -08:00
2009-11-15 12:06:23 -08:00
2009-11-13 13:53:39 -08:00
2009-11-15 12:06:23 -08:00
2009-11-13 13:53:39 -08:00
2009-11-13 13:53:39 -08:00
2009-11-15 12:06:23 -08:00
2009-11-13 13:53:39 -08:00
2009-11-13 13:53:39 -08:00
2009-07-21 11:16:54 -07:00
Description
No description provided
21 GiB
Languages
Java 73.7%
Kotlin 14%
PowerBuilder 5.8%
C++ 5.2%
AIDL 1%