Resources

Page 1 2

public int getColor(int id) throws NotFoundException deprecated source
public int getColor(int id, Theme theme) throws NotFoundException source
public ColorStateList getColorStateList(int id) throws NotFoundException deprecated source
public ColorStateList getColorStateList(int id, Theme theme) throws NotFoundException source
public android.graphics.drawable.Drawable getDrawable(int id) throws NotFoundException source
public android.graphics.drawable.Drawable getDrawable(int id, Theme theme) throws NotFoundException source
public android.graphics.drawable.Drawable getDrawableForDensity(int id, int density) throws NotFoundException source
public android.graphics.Movie getMovie(int id) throws NotFoundException source
public void parseBundleExtra(String tagName, AttributeSet attrs, android.os.Bundle outBundle) throws org.xmlpull.v1.XmlPullParserException source

One <extra android:name android:value> element into the bundle, by the type of its value.

public void parseBundleExtras(XmlResourceParser parser, android.os.Bundle outBundle) throws org.xmlpull.v1.XmlPullParserException, java.io.IOException source

Each <extra> child of the current element into the bundle; other children are skipped.

public android.graphics.drawable.Drawable getDrawableForDensity(int id, int density, Theme theme) source
public android.graphics.Typeface getFont(int id) throws NotFoundException source
public XmlResourceParser getXml(int id) throws NotFoundException source
public XmlResourceParser getLayout(int id) throws NotFoundException source
public XmlResourceParser getAnimation(int id) throws NotFoundException source
public InputStream openRawResource(int id) throws NotFoundException source
public InputStream openRawResource(int id, TypedValue value) throws NotFoundException source
public AssetFileDescriptor openRawResourceFd(int id) throws NotFoundException source
public int getIdentifier(String name, String defType, String defPackage) source
public String getResourceName(int id) throws NotFoundException source
public String getResourcePackageName(int id) throws NotFoundException source
public String getResourceTypeName(int id) throws NotFoundException source
public String getResourceEntryName(int id) throws NotFoundException source
public final Theme newTheme() source
public TypedArray obtainAttributes(AttributeSet set, int[] attrs) source
public void flushLayoutCache() empty body source

Page 1 2


Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.