Lines Matching defs:drawable
32 import android.graphics.drawable.Drawable;
70 * Sets a drawable for the fragment background.
72 * @param drawable The drawable used for the background.
74 public void setBackgroundDrawable(Drawable drawable) {
75 mBackgroundDrawable = drawable;
76 if (drawable != null) {
77 final int opacity = drawable.getOpacity();
86 * Returns the background drawable. May be null if a default is used.
93 * Sets the drawable to be used for the error image.
95 * @param drawable The drawable used for the error image.
97 public void setImageDrawable(Drawable drawable) {
98 mDrawable = drawable;
103 * Returns the drawable used for the error image.