Table of Contents

Class ThemeUtilsKt

Namespace
IO.Scanbot.Sdk.UI.Utils
Assembly
DocumentSDK.NET.Droid.dll
[Register("io/scanbot/sdk/ui/utils/ThemeUtilsKt", DoNotGenerateAcw = true)]
public sealed class ThemeUtilsKt : Object, IJavaObject, IJavaPeerable, IDisposable
Inheritance
ThemeUtilsKt
Implements
Inherited Members

Methods

DpToPx(Context, int)

[Register("dpToPx", "(Landroid/content/Context;I)I", "")]
public static int DpToPx(Context obj, int dp)

Parameters

obj Context
dp int

Returns

int

GetCompatColor(Context, int)

[Register("getCompatColor", "(Landroid/content/Context;I)I", "")]
public static int GetCompatColor(Context obj, int colorAttr)

Parameters

obj Context
colorAttr int

Returns

int

GetResourceId(Context, int)

[Register("getResourceId", "(Landroid/content/Context;I)I", "")]
public static int GetResourceId(Context obj, int resId)

Parameters

obj Context
resId int

Returns

int

PxToDp(Context, int)

[Register("pxToDp", "(Landroid/content/Context;I)I", "")]
public static int PxToDp(Context obj, int px)

Parameters

obj Context
px int

Returns

int