Update the Drawable.inflate() documentation

Change-Id: I1f8a4e40fae43ad75550d3dffbccd831b063be03
This commit is contained in:
Teng-Hui Zhu
2016-03-25 09:44:31 -07:00
parent db9fba3734
commit 4eab3850ec

View File

@@ -1198,6 +1198,8 @@ public abstract class Drawable {
/**
* Inflate this Drawable from an XML resource optionally styled by a theme.
* This can't be called more than once for each Drawable. Note that framework may have called
* this once to create the Drawable instance from XML resource.
*
* @param r Resources used to resolve attribute values
* @param parser XML parser from which to inflate this Drawable