Class OverlayResources
java.lang.Object
com.microblink.photopay.fragment.overlay.OverlayResources
-
Constructor Summary
ConstructorsConstructorDescriptionOverlayResources(android.content.Context context, int customStyle, int defaultStyle) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcleanup()protected intgetColor(int id) protected floatgetDimension(int id) protected android.graphics.drawable.DrawablegetDrawable(int id) protected intgetResourceId(int id) protected intgetStyle(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()
-