Class OverlayResources
java.lang.Object
com.microblink.blinkid.fragment.overlay.OverlayResources
-
Constructor Summary
ConstructorDescriptionOverlayResources
(android.content.Context context, int customStyle, int defaultStyle) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
cleanup()
protected int
getColor
(int id) protected float
getDimension
(int id) protected android.graphics.drawable.Drawable
getDrawable
(int id) protected int
getResourceId
(int id) protected int
getStyle
(int id) protected abstract int[]
-
Constructor Details
-
OverlayResources
public OverlayResources(@NonNull android.content.Context context, @StyleRes int customStyle, @StyleRes int defaultStyle)
-
-
Method Details
-
getStyleable
@NonNull protected abstract int[] getStyleable() -
getDrawable
@Nullable protected android.graphics.drawable.Drawable getDrawable(@StyleableRes int id) -
getResourceId
protected int getResourceId(@StyleableRes int id) -
getStyle
@StyleRes protected int getStyle(@StyleableRes int id) -
getColor
@ColorInt protected int getColor(@StyleableRes int id) -
getDimension
@Dimension protected float getDimension(@StyleableRes int id) -
cleanup
protected void cleanup()
-