docs: lots of additions to the resources docs
new drawable resources add <merge> and <include> to layout resource update drawable class descriptioons to point to resources guide add ID resource type Change-Id: I733eec50bb2671f28c9e6dd7dec14eb6586f5193
This commit is contained in:
@@ -93,8 +93,8 @@ import android.util.TypedValue;
|
||||
* whose overall size is modified based on the current level.
|
||||
* </ul>
|
||||
* <p>For information and examples of creating drawable resources (XML or bitmap files that
|
||||
* can be loaded in code), see <a href="{@docRoot}guide/topics/resources/resources-i18n.html">Resources
|
||||
* and Internationalization</a>.
|
||||
* can be loaded in code), see <a
|
||||
* href="{@docRoot}guide/topics/resources/drawable-resource.html">Drawable Resources</a>.
|
||||
*/
|
||||
public abstract class Drawable {
|
||||
private static final Rect ZERO_BOUNDS_RECT = new Rect();
|
||||
@@ -709,8 +709,7 @@ public abstract class Drawable {
|
||||
/**
|
||||
* Create a drawable from an XML document. For more information on how to
|
||||
* create resources in XML, see
|
||||
* <a href="{@docRoot}guide/topics/resources/resources-i18n.html">Resources and
|
||||
* Internationalization</a>.
|
||||
* <a href="{@docRoot}guide/topics/resources/drawable-resource.html">Drawable Resources</a>.
|
||||
*/
|
||||
public static Drawable createFromXml(Resources r, XmlPullParser parser)
|
||||
throws XmlPullParserException, IOException {
|
||||
|
||||
Reference in New Issue
Block a user