Stay organized with collections Save and categorize content based on your preferences.

RemoteViewsCompat

public static class RemoteViewsCompat


Helper for accessing features in RemoteViews.

Summary

Nested types

Representation of a fixed list of items to be displayed in a RemoteViews collection.

Builder class for RemoteCollectionItems objects.

Public fields

static @NonNull RemoteViewsCompat

Public methods

static final void
RemoteViewsCompatKt.setChronometerBase(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    long base
)

Equivalent to calling android.widget.Chronometer.setBase.

static final void
RemoteViewsCompatKt.setChronometerFormat(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    String format
)

Equivalent to calling android.widget.Chronometer.setFormat.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setCompoundButtonDrawable(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DrawableRes int resId
)

Equivalent to calling android.widget.CompoundButton.setButtonDrawable.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setCompoundButtonIcon(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    Icon icon
)

Equivalent to calling android.widget.CompoundButton.setButtonIcon.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setCompoundButtonTintBlendMode(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    BlendMode tintMode
)

Equivalent to calling android.widget.CompoundButton.setButtonTintBlendMode.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setCompoundButtonTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorRes int resId
)

Equivalent to calling android.widget.CompoundButton.setButtonTintList.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setCompoundButtonTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    ColorStateList tint
)

Equivalent to calling android.widget.CompoundButton.setButtonTintList.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setCompoundButtonTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    ColorStateList notNight,
    ColorStateList night
)

Equivalent to calling android.widget.CompoundButton.setButtonTintList.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setCompoundButtonTintListAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.CompoundButton.setButtonTintList.

static final void
RemoteViewsCompatKt.setFrameLayoutForegroundGravity(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int foregroundGravity
)

Equivalent to calling android.widget.FrameLayout.setForegroundGravity.

static final void
RemoteViewsCompatKt.setFrameLayoutMeasureAllChildren(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    boolean measureAll
)

Equivalent to calling android.widget.FrameLayout.setMeasureAllChildren.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setGridLayoutAlignmentMode(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int alignmentMode
)

Equivalent to calling android.widget.GridLayout.setAlignmentMode.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setGridLayoutColumnCount(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int columnCount
)

Equivalent to calling android.widget.GridLayout.setColumnCount.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setGridLayoutRowCount(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int rowCount
)

Equivalent to calling android.widget.GridLayout.setRowCount.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setGridViewColumnWidth(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float value,
    int unit
)

Equivalent to calling android.widget.GridView.setColumnWidth.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setGridViewColumnWidthDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DimenRes int columnWidth
)

Equivalent to calling android.widget.GridView.setColumnWidth.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setGridViewColumnWidthDimenAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int columnWidth
)

Equivalent to calling android.widget.GridView.setColumnWidth.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setGridViewGravity(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int gravity
)

Equivalent to calling android.widget.GridView.setGravity.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setGridViewHorizontalSpacing(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float value,
    int unit
)

Equivalent to calling android.widget.GridView.setHorizontalSpacing.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setGridViewHorizontalSpacingDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DimenRes int resId
)

Equivalent to calling android.widget.GridView.setHorizontalSpacing.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setGridViewHorizontalSpacingDimenAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.GridView.setHorizontalSpacing.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setGridViewNumColumns(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int numColumns
)

Equivalent to calling android.widget.GridView.setNumColumns.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setGridViewStretchMode(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int stretchMode
)

Equivalent to calling android.widget.GridView.setStretchMode.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setGridViewVerticalSpacing(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float value,
    int unit
)

Equivalent to calling android.widget.GridView.setVerticalSpacing.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setGridViewVerticalSpacingDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DimenRes int resId
)

Equivalent to calling android.widget.GridView.setVerticalSpacing.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setGridViewVerticalSpacingDimenAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.GridView.setVerticalSpacing.

static final void
RemoteViewsCompatKt.setImageViewAdjustViewBounds(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    boolean adjustViewBounds
)

Equivalent to calling android.widget.ImageView.setAdjustViewBounds.

static final void
RemoteViewsCompatKt.setImageViewColorFilter(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorInt int color
)

Equivalent to calling android.widget.ImageView.setColorFilter.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setImageViewColorFilter(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorInt int notNight,
    @ColorInt int night
)

Equivalent to calling android.widget.ImageView.setColorFilter.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setImageViewColorFilterAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.ImageView.setColorFilter.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setImageViewColorFilterResource(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorRes int resId
)

Equivalent to calling android.widget.ImageView.setColorFilter.

static final void
RemoteViewsCompatKt.setImageViewImageAlpha(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int alpha
)

Equivalent to calling android.widget.ImageView.setImageAlpha.

static final void
RemoteViewsCompatKt.setImageViewImageLevel(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int level
)

Equivalent to calling android.widget.ImageView.setImageLevel.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setImageViewImageTintBlendMode(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    BlendMode blendMode
)

Equivalent to calling android.widget.ImageView.setImageTintBlendMode.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setImageViewImageTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorRes int resId
)

Equivalent to calling android.widget.ImageView.setImageTintList.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setImageViewImageTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    ColorStateList tint
)

Equivalent to calling android.widget.ImageView.setImageTintList.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setImageViewImageTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    ColorStateList notNightTint,
    ColorStateList nightTint
)

Equivalent to calling android.widget.ImageView.setImageTintList.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setImageViewImageTintListAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.ImageView.setImageTintList.

static final void
RemoteViewsCompatKt.setImageViewMaxHeight(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @Px int maxHeight
)

Equivalent to calling android.widget.ImageView.setMaxHeight.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setImageViewMaxHeight(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float value,
    int unit
)

Equivalent to calling android.widget.ImageView.setMaxHeight.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setImageViewMaxHeightDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DimenRes int resId
)

Equivalent to calling android.widget.ImageView.setMaxHeight.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setImageViewMaxHeightDimenAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.ImageView.setMaxHeight.

static final void
RemoteViewsCompatKt.setImageViewMaxWidth(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @Px int maxWidth
)

Equivalent to calling android.widget.ImageView.setMaxWidth.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setImageViewMaxWidth(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float value,
    int unit
)

Equivalent to calling android.widget.ImageView.setMaxWidth.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setImageViewMaxWidthDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DimenRes int resId
)

Equivalent to calling android.widget.ImageView.setMaxWidth.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setImageViewMaxWidthDimenAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.ImageView.setMaxWidth.

static final void
RemoteViewsCompatKt.setLinearLayoutBaselineAligned(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    boolean baselineAligned
)

Equivalent to calling android.widget.LinearLayout.setBaselineAligned.

static final void
RemoteViewsCompatKt.setLinearLayoutBaselineAlignedChildIndex(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int i
)

Equivalent to calling android.widget.LinearLayout.setBaselineAlignedChildIndex.

static final void
RemoteViewsCompatKt.setLinearLayoutGravity(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int gravity
)

Equivalent to calling android.widget.LinearLayout.setGravity.

static final void
RemoteViewsCompatKt.setLinearLayoutHorizontalGravity(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int horizontalGravity
)

Equivalent to calling android.widget.LinearLayout.setHorizontalGravity.

static final void
RemoteViewsCompatKt.setLinearLayoutMeasureWithLargestChildEnabled(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    boolean enabled
)

Equivalent to calling android.widget.LinearLayout.setMeasureWithLargestChildEnabled.

static final void
RemoteViewsCompatKt.setLinearLayoutVerticalGravity(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int verticalGravity
)

Equivalent to calling android.widget.LinearLayout.setVerticalGravity.

static final void
RemoteViewsCompatKt.setLinearLayoutWeightSum(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float weightSum
)

Equivalent to calling android.widget.LinearLayout.setWeightSum.

static final void
RemoteViewsCompatKt.setProgressBarIndeterminate(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    boolean indeterminate
)

Equivalent to calling android.widget.ProgressBar.setIndeterminate.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setProgressBarIndeterminateTintBlendMode(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    BlendMode blendMode
)

Equivalent to calling android.widget.ProgressBar.setIndeterminateTintBlendMode.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setProgressBarIndeterminateTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorRes int resId
)

Equivalent to calling android.widget.ProgressBar.setIndeterminateTintList.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setProgressBarIndeterminateTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    ColorStateList tint
)

Equivalent to calling android.widget.ProgressBar.setIndeterminateTintList.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setProgressBarIndeterminateTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    ColorStateList notNightTint,
    ColorStateList nightTint
)

Equivalent to calling android.widget.ProgressBar.setIndeterminateTintList.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setProgressBarIndeterminateTintListAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.ProgressBar.setIndeterminateTintList.

static final void
RemoteViewsCompatKt.setProgressBarMax(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int max
)

Equivalent to calling android.widget.ProgressBar.setMax.

static final void
@RequiresApi(value = 26)
RemoteViewsCompatKt.setProgressBarMin(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int min
)

Equivalent to calling android.widget.ProgressBar.setMin.

static final void
RemoteViewsCompatKt.setProgressBarProgress(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int progress
)

Equivalent to calling android.widget.ProgressBar.setProgress.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setProgressBarProgressBackgroundTintBlendMode(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    BlendMode blendMode
)

Equivalent to calling android.widget.ProgressBar.setProgressBackgroundTintBlendMode.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setProgressBarProgressBackgroundTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorRes int resId
)

Equivalent to calling android.widget.ProgressBar.setProgressBackgroundTintList.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setProgressBarProgressBackgroundTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    ColorStateList tint
)

Equivalent to calling android.widget.ProgressBar.setProgressBackgroundTintList.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setProgressBarProgressBackgroundTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    ColorStateList notNightTint,
    ColorStateList nightTint
)

Equivalent to calling android.widget.ProgressBar.setProgressBackgroundTintList.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setProgressBarProgressBackgroundTintListAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.ProgressBar.setProgressBackgroundTintList.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setProgressBarProgressTintBlendMode(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    BlendMode blendMode
)

Equivalent to calling android.widget.ProgressBar.setProgressTintBlendMode.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setProgressBarProgressTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorRes int resId
)

Equivalent to calling android.widget.ProgressBar.setProgressTintList.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setProgressBarProgressTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    ColorStateList tint
)

Equivalent to calling android.widget.ProgressBar.setProgressTintList.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setProgressBarProgressTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    ColorStateList notNightTint,
    ColorStateList nightTint
)

Equivalent to calling android.widget.ProgressBar.setProgressTintList.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setProgressBarProgressTintListAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.ProgressBar.setProgressTintList.

static final void
RemoteViewsCompatKt.setProgressBarSecondaryProgress(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int secondaryProgress
)

Equivalent to calling android.widget.ProgressBar.setSecondaryProgress.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setProgressBarSecondaryProgressTintBlendMode(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    BlendMode blendMode
)

Equivalent to calling android.widget.ProgressBar.setSecondaryProgressTintBlendMode.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setProgressBarSecondaryProgressTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorRes int resId
)

Equivalent to calling android.widget.ProgressBar.setSecondaryProgressTintList.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setProgressBarSecondaryProgressTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    ColorStateList tint
)

Equivalent to calling android.widget.ProgressBar.setSecondaryProgressTintList.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setProgressBarSecondaryProgressTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    ColorStateList notNightTint,
    ColorStateList nightTint
)

Equivalent to calling android.widget.ProgressBar.setSecondaryProgressTintList.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setProgressBarSecondaryProgressTintListAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.ProgressBar.setSecondaryProgressTintList.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setProgressBarStateDescription(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @StringRes int resId
)

Equivalent to calling android.widget.ProgressBar.setStateDescription.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setProgressBarStateDescription(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    CharSequence stateDescription
)

Equivalent to calling android.widget.ProgressBar.setStateDescription.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setProgressBarStateDescriptionAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.ProgressBar.setStateDescription.

static final void
RemoteViewsCompatKt.setRelativeLayoutGravity(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int gravity
)

Equivalent to calling android.widget.RelativeLayout.setGravity.

static final void
RemoteViewsCompatKt.setRelativeLayoutHorizontalGravity(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int horizontalGravity
)

Equivalent to calling android.widget.RelativeLayout.setHorizontalGravity.

static final void
RemoteViewsCompatKt.setRelativeLayoutIgnoreGravity(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @IdRes int childViewId
)

Equivalent to calling android.widget.RelativeLayout.setIgnoreGravity.

static final void
RemoteViewsCompatKt.setRelativeLayoutVerticalGravity(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int verticalGravity
)

Equivalent to calling android.widget.RelativeLayout.setVerticalGravity.

static final void
setRemoteAdapter(
    @NonNull Context context,
    @NonNull RemoteViews remoteViews,
    int appWidgetId,
    @IdRes int viewId,
    @NonNull RemoteViewsCompat.RemoteCollectionItems items
)

Creates a simple Adapter for the widgetId and viewId specified.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setSwitchMinWidth(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float value,
    int unit
)

Equivalent to calling android.widget.Switch.setSwitchMinWidth.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setSwitchMinWidthDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DimenRes int resId
)

Equivalent to calling android.widget.Switch.setSwitchMinWidth.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setSwitchMinWidthDimenAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.Switch.setSwitchMinWidth.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setSwitchPadding(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float value,
    int unit
)

Equivalent to calling android.widget.Switch.setSwitchPadding.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setSwitchPaddingDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DimenRes int resId
)

Equivalent to calling android.widget.Switch.setSwitchPadding.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setSwitchPaddingDimenAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.Switch.setSwitchPadding.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setSwitchShowText(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    boolean showText
)

Equivalent to calling android.widget.Switch.setShowText.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setSwitchSplitTrack(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    boolean splitTrack
)

Equivalent to calling android.widget.Switch.setSplitTrack.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setSwitchTextOff(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @StringRes int resId
)

Equivalent to calling android.widget.Switch.setTextOff.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setSwitchTextOff(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    CharSequence textOff
)

Equivalent to calling android.widget.Switch.setTextOff.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setSwitchTextOffAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.Switch.setTextOff.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setSwitchTextOn(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @StringRes int resId
)

Equivalent to calling android.widget.Switch.setTextOn.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setSwitchTextOn(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    CharSequence textOn
)

Equivalent to calling android.widget.Switch.setTextOn.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setSwitchTextOnAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.Switch.setTextOn.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setSwitchThumbIcon(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    Icon icon
)

Equivalent to calling android.widget.Switch.setThumbIcon.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setSwitchThumbIcon(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    Icon notNight,
    Icon night
)

Equivalent to calling android.widget.Switch.setThumbIcon.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setSwitchThumbResource(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DrawableRes int resId
)

Equivalent to calling android.widget.Switch.setThumbResource.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setSwitchThumbTextPadding(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float value,
    int unit
)

Equivalent to calling android.widget.Switch.setThumbTextPadding.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setSwitchThumbTextPaddingDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DimenRes int resId
)

Equivalent to calling android.widget.Switch.setThumbTextPadding.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setSwitchThumbTextPaddingDimenAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.Switch.setThumbTextPadding.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setSwitchThumbTintBlendMode(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    BlendMode blendMode
)

Equivalent to calling android.widget.Switch.setThumbTintBlendMode.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setSwitchThumbTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorRes int resId
)

Equivalent to calling android.widget.Switch.setThumbTintList.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setSwitchThumbTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    ColorStateList tint
)

Equivalent to calling android.widget.Switch.setThumbTintList.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setSwitchThumbTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    ColorStateList notNight,
    ColorStateList night
)

Equivalent to calling android.widget.Switch.setThumbTintList.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setSwitchThumbTintListAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.Switch.setThumbTintList.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setSwitchTrackIcon(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    Icon icon
)

Equivalent to calling android.widget.Switch.setTrackIcon.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setSwitchTrackIcon(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    Icon notNight,
    Icon night
)

Equivalent to calling android.widget.Switch.setTrackIcon.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setSwitchTrackResource(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DrawableRes int resId
)

Equivalent to calling android.widget.Switch.setTrackResource.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setSwitchTrackTintBlendMode(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    BlendMode blendMode
)

Equivalent to calling android.widget.Switch.setTrackTintBlendMode.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setSwitchTrackTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorRes int resId
)

Equivalent to calling android.widget.Switch.setTrackTintList.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setSwitchTrackTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    ColorStateList tint
)

Equivalent to calling android.widget.Switch.setTrackTintList.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setSwitchTrackTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    ColorStateList notNight,
    ColorStateList night
)

Equivalent to calling android.widget.Switch.setTrackTintList.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setSwitchTrackTintListAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.Switch.setTrackTintList.

static final void
@RequiresApi(value = 17)
RemoteViewsCompatKt.setTextClockFormat12Hour(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    CharSequence format
)

Equivalent to calling android.widget.TextClock.setFormat12Hour.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setTextClockFormat12Hour(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @StringRes int resId
)

Equivalent to calling android.widget.TextClock.setFormat12Hour.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setTextClockFormat12HourAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.TextClock.setFormat12Hour.

static final void
@RequiresApi(value = 17)
RemoteViewsCompatKt.setTextClockFormat24Hour(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    CharSequence format
)

Equivalent to calling android.widget.TextClock.setFormat24Hour.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setTextClockFormat24Hour(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @StringRes int resId
)

Equivalent to calling android.widget.TextClock.setFormat24Hour.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setTextClockFormat24HourAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.TextClock.setFormat24Hour.

static final void
@RequiresApi(value = 17)
RemoteViewsCompatKt.setTextClockTimeZone(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    String timeZone
)

Equivalent to calling android.widget.TextClock.setTimeZone.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setTextViewAllCaps(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    boolean allCaps
)

Equivalent to calling android.widget.TextView.setAllCaps.

static final void
RemoteViewsCompatKt.setTextViewAutoLinkMask(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int mask
)

Equivalent to calling android.widget.TextView.setAutoLinkMask.

static final void
@RequiresApi(value = 16)
RemoteViewsCompatKt.setTextViewCompoundDrawablePadding(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @Px int pad
)

Equivalent to calling android.widget.TextView.setCompoundDrawablePadding.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setTextViewCompoundDrawablePadding(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float value,
    int unit
)

Equivalent to calling android.widget.TextView.setCompoundDrawablePadding.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setTextViewCompoundDrawablePaddingDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DimenRes int resId
)

Equivalent to calling android.widget.TextView.setCompoundDrawablePadding.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setTextViewCompoundDrawablePaddingDimenAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.TextView.setCompoundDrawablePadding.

static final void
RemoteViewsCompatKt.setTextViewEms(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int ems
)

Equivalent to calling android.widget.TextView.setEms.

static final void
RemoteViewsCompatKt.setTextViewError(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    CharSequence error
)

Equivalent to calling android.widget.TextView.setError.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setTextViewError(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @StringRes int resId
)

Equivalent to calling android.widget.TextView.setError.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setTextViewErrorAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.TextView.setError.

static final void
@RequiresApi(value = 21)
RemoteViewsCompatKt.setTextViewFontFeatureSettings(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @NonNull String fontFeatureSettings
)

Equivalent to calling android.widget.TextView.setFontFeatureSettings.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setTextViewGravity(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int gravity
)

Equivalent to calling android.widget.TextView.setGravity.

static final void
RemoteViewsCompatKt.setTextViewHeight(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @Px int pixels
)

Equivalent to calling android.widget.TextView.setHeight.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setTextViewHeight(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float value,
    int unit
)

Equivalent to calling android.widget.TextView.setHeight.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setTextViewHeightDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DimenRes int resId
)

Equivalent to calling android.widget.TextView.setHeight.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setTextViewHeightDimenAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.TextView.setHeight.

static final void
RemoteViewsCompatKt.setTextViewHighlightColor(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorInt int color
)

Equivalent to calling android.widget.TextView.setHighlightColor.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setTextViewHighlightColor(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorInt int notNight,
    @ColorInt int night
)

Equivalent to calling android.widget.TextView.setHighlightColor.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setTextViewHighlightColorAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.TextView.setHighlightColor.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setTextViewHighlightColorResource(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorRes int resId
)

Equivalent to calling android.widget.TextView.setHighlightColor.

static final void
RemoteViewsCompatKt.setTextViewHint(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    CharSequence hint
)

Equivalent to calling android.widget.TextView.setHint.

static final void
RemoteViewsCompatKt.setTextViewHint(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @StringRes int resId
)

Equivalent to calling android.widget.TextView.setHint.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setTextViewHintAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.TextView.setHint.

static final void
RemoteViewsCompatKt.setTextViewHintTextColor(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorInt int color
)

Equivalent to calling android.widget.TextView.setHintTextColor.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setTextViewHintTextColor(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorInt int notNight,
    @ColorInt int night
)

Equivalent to calling android.widget.TextView.setHintTextColor.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setTextViewHintTextColorAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.TextView.setHintTextColor.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setTextViewHintTextColorResource(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorRes int resId
)

Equivalent to calling android.widget.TextView.setHintTextColor.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setTextViewJustificationMode(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int justificationMode
)

Equivalent to calling android.widget.TextView.setJustificationMode.

static final void
@RequiresApi(value = 21)
RemoteViewsCompatKt.setTextViewLetterSpacing(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float letterSpacing
)

Equivalent to calling android.widget.TextView.setLetterSpacing.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setTextViewLineHeight(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float value,
    int unit
)

Equivalent to calling android.widget.TextView.setLineHeight.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setTextViewLineHeightDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DimenRes int resId
)

Equivalent to calling android.widget.TextView.setLineHeight.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setTextViewLineHeightDimenAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.TextView.setLineHeight.

static final void
RemoteViewsCompatKt.setTextViewLines(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int lines
)

Equivalent to calling android.widget.TextView.setLines.

static final void
RemoteViewsCompatKt.setTextViewLinkTextColor(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorInt int color
)

Equivalent to calling android.widget.TextView.setLinkTextColor.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setTextViewLinkTextColor(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorInt int notNight,
    @ColorInt int night
)

Equivalent to calling android.widget.TextView.setLinkTextColor.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setTextViewLinkTextColorAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.TextView.setLinkTextColor.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setTextViewLinkTextColorResource(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorRes int resId
)

Equivalent to calling android.widget.TextView.setLinkTextColor.

static final void
RemoteViewsCompatKt.setTextViewLinksClickable(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    boolean whether
)

Equivalent to calling android.widget.TextView.setLinksClickable.

static final void
RemoteViewsCompatKt.setTextViewMaxEms(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int maxems
)

Equivalent to calling android.widget.TextView.setMaxEms.

static final void
RemoteViewsCompatKt.setTextViewMaxHeight(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @Px int maxHeight
)

Equivalent to calling android.widget.TextView.setMaxHeight.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setTextViewMaxHeight(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float value,
    int unit
)

Equivalent to calling android.widget.TextView.setMaxHeight.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setTextViewMaxHeightDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DimenRes int resId
)

Equivalent to calling android.widget.TextView.setMaxHeight.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setTextViewMaxHeightDimenAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.TextView.setMaxHeight.

static final void
RemoteViewsCompatKt.setTextViewMaxLines(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int maxLines
)

Equivalent to calling android.widget.TextView.setMaxLines.

static final void
RemoteViewsCompatKt.setTextViewMaxWidth(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @Px int maxWidth
)

Equivalent to calling android.widget.TextView.setMaxWidth.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setTextViewMaxWidth(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float value,
    int unit
)

Equivalent to calling android.widget.TextView.setMaxWidth.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setTextViewMaxWidthDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DimenRes int resId
)

Equivalent to calling android.widget.TextView.setMaxWidth.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setTextViewMaxWidthDimenAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.TextView.setMaxWidth.

static final void
RemoteViewsCompatKt.setTextViewMinEms(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int minems
)

Equivalent to calling android.widget.TextView.setMinEms.

static final void
RemoteViewsCompatKt.setTextViewMinHeight(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @Px int minHeight
)

Equivalent to calling android.widget.TextView.setMinHeight.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setTextViewMinHeight(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float value,
    int unit
)

Equivalent to calling android.widget.TextView.setMinHeight.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setTextViewMinHeightDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DimenRes int resId
)

Equivalent to calling android.widget.TextView.setMinHeight.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setTextViewMinHeightDimenAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.TextView.setMinHeight.

static final void
RemoteViewsCompatKt.setTextViewMinLines(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int minLines
)

Equivalent to calling android.widget.TextView.setMinLines.

static final void
RemoteViewsCompatKt.setTextViewMinWidth(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @Px int minWidth
)

Equivalent to calling android.widget.TextView.setMinWidth.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setTextViewMinWidth(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float value,
    int unit
)

Equivalent to calling android.widget.TextView.setMinWidth.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setTextViewMinWidthDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DimenRes int resId
)

Equivalent to calling android.widget.TextView.setMinWidth.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setTextViewMinWidthDimenAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.TextView.setMinWidth.

static final void
RemoteViewsCompatKt.setTextViewPaintFlags(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int flags
)

Equivalent to calling android.widget.TextView.setPaintFlags.

static final void
RemoteViewsCompatKt.setTextViewSelectAllOnFocus(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    boolean selectAllOnFocus
)

Equivalent to calling android.widget.TextView.setSelectAllOnFocus.

static final void
RemoteViewsCompatKt.setTextViewSingleLine(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    boolean singleLine
)

Equivalent to calling android.widget.TextView.setSingleLine.

static final void
RemoteViewsCompatKt.setTextViewText(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @StringRes int resId
)

Equivalent to calling android.widget.TextView.setText.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setTextViewTextAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.TextView.setText.

static final void
RemoteViewsCompatKt.setTextViewTextColor(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorInt int color
)

Equivalent to calling android.widget.TextView.setTextColor.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setTextViewTextColor(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @NonNull ColorStateList colors
)

Equivalent to calling android.widget.TextView.setTextColor.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setTextViewTextColor(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @NonNull ColorStateList notNight,
    @NonNull ColorStateList night
)

Equivalent to calling android.widget.TextView.setTextColor.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setTextViewTextColor(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorInt int notNight,
    @ColorInt int night
)

Equivalent to calling android.widget.TextView.setTextColor.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setTextViewTextColorAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.TextView.setTextColor.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setTextViewTextColorResource(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorRes int resId
)

Equivalent to calling android.widget.TextView.setTextColor.

static final void
RemoteViewsCompatKt.setTextViewTextScaleX(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float size
)

Equivalent to calling android.widget.TextView.setTextScaleX.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setTextViewTextSizeDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DimenRes int resId
)

Equivalent to calling android.widget.TextView.setTextSize.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setTextViewTextSizeDimenAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.TextView.setTextSize.

static final void
RemoteViewsCompatKt.setTextViewWidth(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @Px int pixels
)

Equivalent to calling android.widget.TextView.setWidth.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setTextViewWidth(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float value,
    int unit
)

Equivalent to calling android.widget.TextView.setWidth.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setTextViewWidthDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DimenRes int resId
)

Equivalent to calling android.widget.TextView.setWidth.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setTextViewWidthDimenAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.TextView.setWidth.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setViewAlpha(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float alpha
)

Equivalent to calling android.view.View.setAlpha.

static final void
RemoteViewsCompatKt.setViewBackgroundColor(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorInt int color
)

Equivalent to calling android.view.View.setBackgroundColor.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setViewBackgroundColor(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorInt int notNight,
    @ColorInt int night
)

Equivalent to calling android.view.View.setBackgroundColor.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setViewBackgroundColorAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.view.View.setBackgroundColor.

static final void
RemoteViewsCompatKt.setViewBackgroundColorResource(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorRes int resId
)

Equivalent to calling android.view.View.setBackgroundColor.

static final void
RemoteViewsCompatKt.setViewBackgroundResource(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DrawableRes int resId
)

Equivalent to calling android.view.View.setBackgroundResource.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setViewBackgroundTintBlendMode(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    BlendMode blendMode
)

Equivalent to calling android.view.View.setBackgroundTintList.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setViewBackgroundTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorRes int resId
)

Equivalent to calling android.view.View.setBackgroundTintList.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setViewBackgroundTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    ColorStateList tint
)

Equivalent to calling android.view.View.setBackgroundTintList.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setViewBackgroundTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    ColorStateList notNightTint,
    ColorStateList nightTint
)

Equivalent to calling android.view.View.setBackgroundTintList.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setViewBackgroundTintListAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.view.View.setBackgroundTintList.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setViewClipToOutline(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    boolean clipToOutline
)

Equivalent to calling android.view.View.setClipToOutline.

static final void
RemoteViewsCompatKt.setViewContentDescription(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    CharSequence contentDescription
)

Equivalent to calling android.view.View.setContentDescription.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setViewContentDescription(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @StringRes int resId
)

Equivalent to calling android.view.View.setContentDescription.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setViewContentDescriptionAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.view.View.setContentDescription.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setViewElevationDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DimenRes int resId
)

Equivalent to calling android.view.View.setElevation.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setViewElevationDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float value,
    int unit
)

Equivalent to calling android.view.View.setElevation.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setViewElevationDimenAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.view.View.setElevation.

static final void
@RequiresApi(value = 24)
RemoteViewsCompatKt.setViewEnabled(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    boolean enabled
)

Equivalent to calling android.view.View.setEnabled.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setViewFocusable(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    boolean focusable
)

Equivalent to calling android.view.View.setFocusable.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setViewFocusable(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int focusable
)

Equivalent to calling android.view.View.setFocusable.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setViewFocusableInTouchMode(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    boolean focusableInTouchMode
)

Equivalent to calling android.view.View.setFocusableInTouchMode.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setViewFocusedByDefault(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    boolean isFocusedByDefault
)

Equivalent to calling android.view.View.setFocusedByDefault.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setViewForegroundTintBlendMode(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    BlendMode blendMode
)

Equivalent to calling android.view.View.setForegroundTintBlendMode.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setViewForegroundTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorRes int resId
)

Equivalent to calling android.view.View.setForegroundTintList.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setViewForegroundTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    ColorStateList tint
)

Equivalent to calling android.view.View.setForegroundTintList.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setViewForegroundTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    ColorStateList notNightTint,
    ColorStateList nightTint
)

Equivalent to calling android.view.View.setForegroundTintList.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setViewForegroundTintListAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.view.View.setForegroundTintList.

static final void
@RequiresApi(value = 17)
RemoteViewsCompatKt.setViewLayoutDirection(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int layoutDirection
)

Equivalent to calling android.view.View.setLayoutDirection.

static final void
@RequiresApi(value = 24)
RemoteViewsCompatKt.setViewMinimumHeight(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @Px int minHeight
)

Equivalent to calling android.view.View.setMinimumHeight.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setViewMinimumHeight(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float value,
    int unit
)

Equivalent to calling android.widget.TextView.setMinimumHeight.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setViewMinimumHeightDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DimenRes int resId
)

Equivalent to calling android.view.View.setMinimumHeight.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setViewMinimumHeightDimenAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.view.View.setMinimumHeight.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setViewMinimumWidth(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float value,
    int unit
)

Equivalent to calling android.widget.TextView.setMinimumWidth.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setViewMinimumWidthDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DimenRes int resId
)

Equivalent to calling android.view.View.setMinimumWidth.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setViewMinimumWidthDimenAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.view.View.setMinimumWidth.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setViewPivotX(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float pivotX
)

Equivalent to calling android.view.View.setPivotX.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setViewPivotY(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float pivotY
)

Equivalent to calling android.view.View.setPivotY.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setViewRotation(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float rotation
)

Equivalent to calling android.view.View.setRotation.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setViewRotationX(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float rotationX
)

Equivalent to calling android.view.View.setRotationX.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setViewRotationY(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float rotationY
)

Equivalent to calling android.view.View.setRotationY.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setViewScaleX(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float scaleX
)

Equivalent to calling android.view.View.setScaleX.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setViewScaleY(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float scaleY
)

Equivalent to calling android.view.View.setScaleY.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setViewScrollIndicators(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int scrollIndicators
)

Equivalent to calling android.view.View.setScrollIndicators.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setViewStateDescription(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @StringRes int resId
)

Equivalent to calling android.view.View.setStateDescription.

static final void
@RequiresApi(value = 30)
RemoteViewsCompatKt.setViewStateDescription(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    CharSequence stateDescription
)

Equivalent to calling android.view.View.setStateDescription.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setViewStateDescriptionAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.view.View.setStateDescription.

static final void
@RequiresApi(value = 16)
RemoteViewsCompatKt.setViewStubInflatedId(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int inflatedId
)

Equivalent to calling android.view.ViewStub.setInflatedId.

static final void
@RequiresApi(value = 16)
RemoteViewsCompatKt.setViewStubLayoutResource(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @LayoutRes int layoutResource
)

Equivalent to calling android.view.ViewStub.setLayoutResource.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setViewTranslationXDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DimenRes int resId
)

Equivalent to calling android.view.View.setTranslationX.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setViewTranslationXDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float value,
    int unit
)

Equivalent to calling android.widget.TextView.setTranslationX.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setViewTranslationXDimenAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.view.View.setTranslationX.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setViewTranslationYDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DimenRes int resId
)

Equivalent to calling android.view.View.setTranslationY.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setViewTranslationYDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float value,
    int unit
)

Equivalent to calling android.widget.TextView.setTranslationY.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setViewTranslationYDimenAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.view.View.setTranslationY.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setViewTranslationZDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DimenRes int resId
)

Equivalent to calling android.view.View.setTranslationZ.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setViewTranslationZDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float value,
    int unit
)

Equivalent to calling android.widget.TextView.setTranslationZ.

static final void
@RequiresApi(value = 31)
RemoteViewsCompatKt.setViewTranslationZDimenAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.view.View.setTranslationZ.

Public fields

INSTANCE

public static @NonNull RemoteViewsCompat INSTANCE

Public methods

RemoteViewsCompatKt.setChronometerBase

public static final void RemoteViewsCompatKt.setChronometerBase(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    long base
)

Equivalent to calling android.widget.Chronometer.setBase.

Parameters
@IdRes int viewId

The id of the target view

long base

The time at which the timer would have read 0:00. This time should be based off of android.os.SystemClock.elapsedRealtime.

RemoteViewsCompatKt.setChronometerFormat

public static final void RemoteViewsCompatKt.setChronometerFormat(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    String format
)

Equivalent to calling android.widget.Chronometer.setFormat.

Parameters
@IdRes int viewId

The id of the target view

String format

The Chronometer format string, or null to simply display the timer value.

RemoteViewsCompatKt.setCompoundButtonDrawable

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setCompoundButtonDrawable(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DrawableRes int resId
)

Equivalent to calling android.widget.CompoundButton.setButtonDrawable.

Parameters
@IdRes int viewId

The id of the target view

@DrawableRes int resId

The resource identifier of the drawable, or 0 to clear the button.

RemoteViewsCompatKt.setCompoundButtonIcon

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setCompoundButtonIcon(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    Icon icon
)

Equivalent to calling android.widget.CompoundButton.setButtonIcon.

Parameters
@IdRes int viewId

The id of the target view

Icon icon

An Icon holding the desired button, or null to clear the button.

RemoteViewsCompatKt.setCompoundButtonTintBlendMode

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setCompoundButtonTintBlendMode(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    BlendMode tintMode
)

Equivalent to calling android.widget.CompoundButton.setButtonTintBlendMode.

Parameters
@IdRes int viewId

The id of the target view

BlendMode tintMode

The blending mode used to apply the tint, may be null to clear tint.

RemoteViewsCompatKt.setCompoundButtonTintList

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setCompoundButtonTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorRes int resId
)

Equivalent to calling android.widget.CompoundButton.setButtonTintList.

Parameters
@IdRes int viewId

The id of the target view

@ColorRes int resId

The resource id for the tint to apply, may be 0 to clear tint.

RemoteViewsCompatKt.setCompoundButtonTintList

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setCompoundButtonTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    ColorStateList tint
)

Equivalent to calling android.widget.CompoundButton.setButtonTintList.

Parameters
@IdRes int viewId

The id of the target view

ColorStateList tint

The tint to apply, may be null to clear tint.

RemoteViewsCompatKt.setCompoundButtonTintList

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setCompoundButtonTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    ColorStateList notNight,
    ColorStateList night
)

Equivalent to calling android.widget.CompoundButton.setButtonTintList.

Parameters
@IdRes int viewId

The id of the target view

ColorStateList notNight

The tint to apply when the UI is not in night mode, may be null to clear tint.

ColorStateList night

The tint to apply when the UI is in night mode, may be null to clear tint.

RemoteViewsCompatKt.setCompoundButtonTintListAttr

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setCompoundButtonTintListAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.CompoundButton.setButtonTintList.

Parameters
@IdRes int viewId

The id of the target view

@AttrRes int resId

The attribute id for the tint to apply, may be 0 to clear tint.

RemoteViewsCompatKt.setFrameLayoutForegroundGravity

public static final void RemoteViewsCompatKt.setFrameLayoutForegroundGravity(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int foregroundGravity
)

Equivalent to calling android.widget.FrameLayout.setForegroundGravity.

Parameters
@IdRes int viewId

The id of the target view

int foregroundGravity

See android.view.Gravity.

RemoteViewsCompatKt.setFrameLayoutMeasureAllChildren

public static final void RemoteViewsCompatKt.setFrameLayoutMeasureAllChildren(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    boolean measureAll
)

Equivalent to calling android.widget.FrameLayout.setMeasureAllChildren.

Parameters
@IdRes int viewId

The id of the target view

boolean measureAll

True to consider children marked GONE, false otherwise.

RemoteViewsCompatKt.setGridLayoutAlignmentMode

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setGridLayoutAlignmentMode(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int alignmentMode
)

Equivalent to calling android.widget.GridLayout.setAlignmentMode.

Parameters
@IdRes int viewId

The id of the target view

int alignmentMode

Either android.widget.GridLayout.ALIGN_BOUNDS or android.widget.GridLayout.ALIGN_MARGINS.

RemoteViewsCompatKt.setGridLayoutColumnCount

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setGridLayoutColumnCount(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int columnCount
)

Equivalent to calling android.widget.GridLayout.setColumnCount.

Parameters
@IdRes int viewId

The id of the target view

int columnCount

The number of columns.

RemoteViewsCompatKt.setGridLayoutRowCount

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setGridLayoutRowCount(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int rowCount
)

Equivalent to calling android.widget.GridLayout.setRowCount.

Parameters
@IdRes int viewId

The id of the target view

int rowCount

The number of rows.

RemoteViewsCompatKt.setGridViewColumnWidth

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setGridViewColumnWidth(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float value,
    int unit
)

Equivalent to calling android.widget.GridView.setColumnWidth.

Parameters
@IdRes int viewId

The id of the target view

float value

The column width.

int unit

The unit for value, e.g. android.util.TypedValue.COMPLEX_UNIT_DIP.

RemoteViewsCompatKt.setGridViewColumnWidthDimen

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setGridViewColumnWidthDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DimenRes int columnWidth
)

Equivalent to calling android.widget.GridView.setColumnWidth.

Parameters
@IdRes int viewId

The id of the target view

@DimenRes int columnWidth

The resource id of a dimension resource for the column width.

RemoteViewsCompatKt.setGridViewColumnWidthDimenAttr

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setGridViewColumnWidthDimenAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int columnWidth
)

Equivalent to calling android.widget.GridView.setColumnWidth.

Parameters
@IdRes int viewId

The id of the target view

@AttrRes int columnWidth

The resource id of a dimension resource for the column width.

RemoteViewsCompatKt.setGridViewGravity

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setGridViewGravity(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int gravity
)

Equivalent to calling android.widget.GridView.setGravity.

Parameters
@IdRes int viewId

The id of the target view

int gravity

The gravity to apply to this grid's children.

RemoteViewsCompatKt.setGridViewHorizontalSpacing

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setGridViewHorizontalSpacing(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float value,
    int unit
)

Equivalent to calling android.widget.GridView.setHorizontalSpacing.

Parameters
@IdRes int viewId

The id of the target view

float value

The amount of horizontal space between items.

int unit

The unit for value, e.g. android.util.TypedValue.COMPLEX_UNIT_DIP.

RemoteViewsCompatKt.setGridViewHorizontalSpacingDimen

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setGridViewHorizontalSpacingDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DimenRes int resId
)

Equivalent to calling android.widget.GridView.setHorizontalSpacing.

Parameters
@IdRes int viewId

The id of the target view

@DimenRes int resId

The resource id of a dimension resource for the amount of horizontal space between items.

RemoteViewsCompatKt.setGridViewHorizontalSpacingDimenAttr

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setGridViewHorizontalSpacingDimenAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.GridView.setHorizontalSpacing.

Parameters
@IdRes int viewId

The id of the target view

@AttrRes int resId

The resource id of a dimension attribute for the amount of horizontal space between items.

RemoteViewsCompatKt.setGridViewNumColumns

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setGridViewNumColumns(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int numColumns
)

Equivalent to calling android.widget.GridView.setNumColumns.

Parameters
@IdRes int viewId

The id of the target view

int numColumns

The desired number of columns.

RemoteViewsCompatKt.setGridViewStretchMode

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setGridViewStretchMode(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int stretchMode
)

Equivalent to calling android.widget.GridView.setStretchMode.

RemoteViewsCompatKt.setGridViewVerticalSpacing

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setGridViewVerticalSpacing(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float value,
    int unit
)

Equivalent to calling android.widget.GridView.setVerticalSpacing.

Parameters
@IdRes int viewId

The id of the target view

float value

The amount of vertical space between items.

int unit

The unit for value, e.g. android.util.TypedValue.COMPLEX_UNIT_DIP.

RemoteViewsCompatKt.setGridViewVerticalSpacingDimen

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setGridViewVerticalSpacingDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DimenRes int resId
)

Equivalent to calling android.widget.GridView.setVerticalSpacing.

Parameters
@IdRes int viewId

The id of the target view

@DimenRes int resId

The resource id of a dimension resource for the amount of vertical space between items.

RemoteViewsCompatKt.setGridViewVerticalSpacingDimenAttr

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setGridViewVerticalSpacingDimenAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.GridView.setVerticalSpacing.

Parameters
@IdRes int viewId

The id of the target view

@AttrRes int resId

The resource id of a dimension attribute for the amount of vertical space between items.

RemoteViewsCompatKt.setImageViewAdjustViewBounds

public static final void RemoteViewsCompatKt.setImageViewAdjustViewBounds(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    boolean adjustViewBounds
)

Equivalent to calling android.widget.ImageView.setAdjustViewBounds.

Parameters
@IdRes int viewId

The id of the target view

boolean adjustViewBounds

Whether to adjust the bounds of this view to preserve the original aspect ratio of the drawable.

RemoteViewsCompatKt.setImageViewColorFilter

public static final void RemoteViewsCompatKt.setImageViewColorFilter(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorInt int color
)

Equivalent to calling android.widget.ImageView.setColorFilter.

Parameters
@IdRes int viewId

The id of the target view

@ColorInt int color

Color tint to apply.

RemoteViewsCompatKt.setImageViewColorFilter

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setImageViewColorFilter(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorInt int notNight,
    @ColorInt int night
)

Equivalent to calling android.widget.ImageView.setColorFilter.

Parameters
@IdRes int viewId

The id of the target view

@ColorInt int notNight

The color tint to apply when the UI is not in night mode.

@ColorInt int night

The color tint to apply when the UI is in night mode.

RemoteViewsCompatKt.setImageViewColorFilterAttr

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setImageViewColorFilterAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.ImageView.setColorFilter.

Parameters
@IdRes int viewId

The id of the target view

@AttrRes int resId

The attribute id of the color tint to apply.

RemoteViewsCompatKt.setImageViewColorFilterResource

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setImageViewColorFilterResource(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorRes int resId
)

Equivalent to calling android.widget.ImageView.setColorFilter.

Parameters
@IdRes int viewId

The id of the target view

@ColorRes int resId

The resource id of the color tint to apply.

RemoteViewsCompatKt.setImageViewImageAlpha

public static final void RemoteViewsCompatKt.setImageViewImageAlpha(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int alpha
)

Equivalent to calling android.widget.ImageView.setImageAlpha.

Parameters
@IdRes int viewId

The id of the target view

int alpha

The alpha value that should be applied to the image (between 0 and 255 inclusive, with 0 being transparent and 255 being opaque)

RemoteViewsCompatKt.setImageViewImageLevel

public static final void RemoteViewsCompatKt.setImageViewImageLevel(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int level
)

Equivalent to calling android.widget.ImageView.setImageLevel.

Parameters
@IdRes int viewId

The id of the target view

int level

The new level for the image.

RemoteViewsCompatKt.setImageViewImageTintBlendMode

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setImageViewImageTintBlendMode(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    BlendMode blendMode
)

Equivalent to calling android.widget.ImageView.setImageTintBlendMode.

Parameters
@IdRes int viewId

The id of the target view

BlendMode blendMode

The blending mode used to apply the tint, may be null to clear.

RemoteViewsCompatKt.setImageViewImageTintList

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setImageViewImageTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorRes int resId
)

Equivalent to calling android.widget.ImageView.setImageTintList.

Parameters
@IdRes int viewId

The id of the target view

@ColorRes int resId

The resource id of the tint to apply, may be 0 to clear tint.

RemoteViewsCompatKt.setImageViewImageTintList

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setImageViewImageTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    ColorStateList tint
)

Equivalent to calling android.widget.ImageView.setImageTintList.

Parameters
@IdRes int viewId

The id of the target view

ColorStateList tint

The tint to apply, may be null to clear tint

RemoteViewsCompatKt.setImageViewImageTintList

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setImageViewImageTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    ColorStateList notNightTint,
    ColorStateList nightTint
)

Equivalent to calling android.widget.ImageView.setImageTintList.

Parameters
@IdRes int viewId

The id of the target view

ColorStateList notNightTint

The tint to apply when the UI is not in night mode, may be null to clear tint.

ColorStateList nightTint

The tint to apply when the UI is in night mode, may be null to clear tint.

RemoteViewsCompatKt.setImageViewImageTintListAttr

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setImageViewImageTintListAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.ImageView.setImageTintList.

Parameters
@IdRes int viewId

The id of the target view

@AttrRes int resId

The attribute of the tint to apply, may be 0 to clear tint.

RemoteViewsCompatKt.setImageViewMaxHeight

public static final void RemoteViewsCompatKt.setImageViewMaxHeight(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @Px int maxHeight
)

Equivalent to calling android.widget.ImageView.setMaxHeight.

Parameters
@IdRes int viewId

The id of the target view

@Px int maxHeight

The maximum height of the view, in pixels.

RemoteViewsCompatKt.setImageViewMaxHeight

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setImageViewMaxHeight(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float value,
    int unit
)

Equivalent to calling android.widget.ImageView.setMaxHeight.

Parameters
@IdRes int viewId

The id of the target view

float value

The maximum height of the view.

int unit

The unit for value, e.g. android.util.TypedValue.COMPLEX_UNIT_DIP.

RemoteViewsCompatKt.setImageViewMaxHeightDimen

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setImageViewMaxHeightDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DimenRes int resId
)

Equivalent to calling android.widget.ImageView.setMaxHeight.

Parameters
@IdRes int viewId

The id of the target view

@DimenRes int resId

A dimension resource identifier for maximum height of the view.

RemoteViewsCompatKt.setImageViewMaxHeightDimenAttr

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setImageViewMaxHeightDimenAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.ImageView.setMaxHeight.

Parameters
@IdRes int viewId

The id of the target view

@AttrRes int resId

A dimension resource attribute for maximum height of the view.

RemoteViewsCompatKt.setImageViewMaxWidth

public static final void RemoteViewsCompatKt.setImageViewMaxWidth(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @Px int maxWidth
)

Equivalent to calling android.widget.ImageView.setMaxWidth.

Parameters
@IdRes int viewId

The id of the target view

@Px int maxWidth

The maximum width of the view, in pixels.

RemoteViewsCompatKt.setImageViewMaxWidth

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setImageViewMaxWidth(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float value,
    int unit
)

Equivalent to calling android.widget.ImageView.setMaxWidth.

Parameters
@IdRes int viewId

The id of the target view

float value

The maximum width of the view.

int unit

The unit for value, e.g. android.util.TypedValue.COMPLEX_UNIT_DIP.

RemoteViewsCompatKt.setImageViewMaxWidthDimen

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setImageViewMaxWidthDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DimenRes int resId
)

Equivalent to calling android.widget.ImageView.setMaxWidth.

Parameters
@IdRes int viewId

The id of the target view

@DimenRes int resId

A dimension resource identifier for maximum width of the view.

RemoteViewsCompatKt.setImageViewMaxWidthDimenAttr

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setImageViewMaxWidthDimenAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.ImageView.setMaxWidth.

Parameters
@IdRes int viewId

The id of the target view

@AttrRes int resId

A dimension resource attribute for maximum width of the view.

RemoteViewsCompatKt.setLinearLayoutBaselineAligned

public static final void RemoteViewsCompatKt.setLinearLayoutBaselineAligned(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    boolean baselineAligned
)

Equivalent to calling android.widget.LinearLayout.setBaselineAligned.

Parameters
@IdRes int viewId

The id of the target view

boolean baselineAligned

True to align widgets on their baseline, false otherwise.

RemoteViewsCompatKt.setLinearLayoutBaselineAlignedChildIndex

public static final void RemoteViewsCompatKt.setLinearLayoutBaselineAlignedChildIndex(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int i
)

Equivalent to calling android.widget.LinearLayout.setBaselineAlignedChildIndex.

Parameters
@IdRes int viewId

The id of the target view

int i

True to align widgets on their baseline, false otherwise.

RemoteViewsCompatKt.setLinearLayoutGravity

public static final void RemoteViewsCompatKt.setLinearLayoutGravity(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int gravity
)

Equivalent to calling android.widget.LinearLayout.setGravity.

Parameters
@IdRes int viewId

The id of the target view

int gravity

See android.view.Gravity.

RemoteViewsCompatKt.setLinearLayoutHorizontalGravity

public static final void RemoteViewsCompatKt.setLinearLayoutHorizontalGravity(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int horizontalGravity
)

Equivalent to calling android.widget.LinearLayout.setHorizontalGravity.

Parameters
@IdRes int viewId

The id of the target view

RemoteViewsCompatKt.setLinearLayoutMeasureWithLargestChildEnabled

public static final void RemoteViewsCompatKt.setLinearLayoutMeasureWithLargestChildEnabled(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    boolean enabled
)

Equivalent to calling android.widget.LinearLayout.setMeasureWithLargestChildEnabled.

Parameters
@IdRes int viewId

The id of the target view

boolean enabled

True to measure children with a weight using the minimum size of the largest child, false otherwise.

RemoteViewsCompatKt.setLinearLayoutVerticalGravity

public static final void RemoteViewsCompatKt.setLinearLayoutVerticalGravity(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int verticalGravity
)

Equivalent to calling android.widget.LinearLayout.setVerticalGravity.

Parameters
@IdRes int viewId

The id of the target view

RemoteViewsCompatKt.setLinearLayoutWeightSum

public static final void RemoteViewsCompatKt.setLinearLayoutWeightSum(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float weightSum
)

Equivalent to calling android.widget.LinearLayout.setWeightSum.

Parameters
@IdRes int viewId

The id of the target view

float weightSum

A number greater than 0.0f, or a number lower than or equals to 0.0f if the weight sum should be computed from the children's layout_weight

RemoteViewsCompatKt.setProgressBarIndeterminate

public static final void RemoteViewsCompatKt.setProgressBarIndeterminate(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    boolean indeterminate
)

Equivalent to calling android.widget.ProgressBar.setIndeterminate.

Parameters
@IdRes int viewId

The id of the target view

boolean indeterminate

True to enable the indeterminate mode.

RemoteViewsCompatKt.setProgressBarIndeterminateTintBlendMode

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setProgressBarIndeterminateTintBlendMode(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    BlendMode blendMode
)

Equivalent to calling android.widget.ProgressBar.setIndeterminateTintBlendMode.

Parameters
@IdRes int viewId

The id of the target view

BlendMode blendMode

The blending mode used to apply the tint, may be null to clear.

RemoteViewsCompatKt.setProgressBarIndeterminateTintList

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setProgressBarIndeterminateTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorRes int resId
)

Equivalent to calling android.widget.ProgressBar.setIndeterminateTintList.

Parameters
@IdRes int viewId

The id of the target view

@ColorRes int resId

The resource id of the tint to apply, may be 0 to clear tint.

RemoteViewsCompatKt.setProgressBarIndeterminateTintList

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setProgressBarIndeterminateTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    ColorStateList tint
)

Equivalent to calling android.widget.ProgressBar.setIndeterminateTintList.

Parameters
@IdRes int viewId

The id of the target view

ColorStateList tint

The tint to apply, may be null to clear tint.

RemoteViewsCompatKt.setProgressBarIndeterminateTintList

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setProgressBarIndeterminateTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    ColorStateList notNightTint,
    ColorStateList nightTint
)

Equivalent to calling android.widget.ProgressBar.setIndeterminateTintList.

Parameters
@IdRes int viewId

The id of the target view

ColorStateList notNightTint

The tint to apply when the UI is not in night mode, may be null to clear tint.

ColorStateList nightTint

The tint to apply when the UI is in night mode, may be null to clear tint.

RemoteViewsCompatKt.setProgressBarIndeterminateTintListAttr

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setProgressBarIndeterminateTintListAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.ProgressBar.setIndeterminateTintList.

Parameters
@IdRes int viewId

The id of the target view

@AttrRes int resId

The attribute id of the tint to apply, may be 0 to clear tint.

RemoteViewsCompatKt.setProgressBarMax

public static final void RemoteViewsCompatKt.setProgressBarMax(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int max
)

Equivalent to calling android.widget.ProgressBar.setMax.

Parameters
@IdRes int viewId

The id of the target view

int max

The upper range of this progress bar.

RemoteViewsCompatKt.setProgressBarMin

@RequiresApi(value = 26)
public static final void RemoteViewsCompatKt.setProgressBarMin(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int min
)

Equivalent to calling android.widget.ProgressBar.setMin.

Parameters
@IdRes int viewId

The id of the target view

int min

The lower range of this progress bar.

RemoteViewsCompatKt.setProgressBarProgress

public static final void RemoteViewsCompatKt.setProgressBarProgress(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int progress
)

Equivalent to calling android.widget.ProgressBar.setProgress.

Parameters
@IdRes int viewId

The id of the target view

int progress

The new progress.

RemoteViewsCompatKt.setProgressBarProgressBackgroundTintBlendMode

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setProgressBarProgressBackgroundTintBlendMode(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    BlendMode blendMode
)

Equivalent to calling android.widget.ProgressBar.setProgressBackgroundTintBlendMode.

Parameters
@IdRes int viewId

The id of the target view

BlendMode blendMode

The blending mode used to apply the tint, may be null to clear.

RemoteViewsCompatKt.setProgressBarProgressBackgroundTintList

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setProgressBarProgressBackgroundTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorRes int resId
)

Equivalent to calling android.widget.ProgressBar.setProgressBackgroundTintList.

Parameters
@IdRes int viewId

The id of the target view

@ColorRes int resId

The resource id of the tint to apply, may be 0 to clear tint.

RemoteViewsCompatKt.setProgressBarProgressBackgroundTintList

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setProgressBarProgressBackgroundTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    ColorStateList tint
)

Equivalent to calling android.widget.ProgressBar.setProgressBackgroundTintList.

Parameters
@IdRes int viewId

The id of the target view

ColorStateList tint

The tint to apply, may be null to clear tint.

RemoteViewsCompatKt.setProgressBarProgressBackgroundTintList

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setProgressBarProgressBackgroundTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    ColorStateList notNightTint,
    ColorStateList nightTint
)

Equivalent to calling android.widget.ProgressBar.setProgressBackgroundTintList.

Parameters
@IdRes int viewId

The id of the target view

ColorStateList notNightTint

The tint to apply when the UI is not in night mode, may be null to clear tint.

ColorStateList nightTint

The tint to apply when the UI is in night mode, may be null to clear tint.

RemoteViewsCompatKt.setProgressBarProgressBackgroundTintListAttr

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setProgressBarProgressBackgroundTintListAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.ProgressBar.setProgressBackgroundTintList.

Parameters
@IdRes int viewId

The id of the target view

@AttrRes int resId

The attribute of the tint to apply, may be 0 to clear tint.

RemoteViewsCompatKt.setProgressBarProgressTintBlendMode

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setProgressBarProgressTintBlendMode(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    BlendMode blendMode
)

Equivalent to calling android.widget.ProgressBar.setProgressTintBlendMode.

Parameters
@IdRes int viewId

The id of the target view

BlendMode blendMode

The blending mode used to apply the tint, may be null to clear.

RemoteViewsCompatKt.setProgressBarProgressTintList

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setProgressBarProgressTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorRes int resId
)

Equivalent to calling android.widget.ProgressBar.setProgressTintList.

Parameters
@IdRes int viewId

The id of the target view

@ColorRes int resId

The resource id of the tint to apply, may be 0 to clear tint.

RemoteViewsCompatKt.setProgressBarProgressTintList

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setProgressBarProgressTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    ColorStateList tint
)

Equivalent to calling android.widget.ProgressBar.setProgressTintList.

Parameters
@IdRes int viewId

The id of the target view

ColorStateList tint

The tint to apply, may be null to clear tint.

RemoteViewsCompatKt.setProgressBarProgressTintList

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setProgressBarProgressTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    ColorStateList notNightTint,
    ColorStateList nightTint
)

Equivalent to calling android.widget.ProgressBar.setProgressTintList.

Parameters
@IdRes int viewId

The id of the target view

ColorStateList notNightTint

The tint to apply when the UI is not in night mode, may be null to clear tint.

ColorStateList nightTint

The tint to apply when the UI is in night mode, may be null to clear tint.

RemoteViewsCompatKt.setProgressBarProgressTintListAttr

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setProgressBarProgressTintListAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.ProgressBar.setProgressTintList.

Parameters
@IdRes int viewId

The id of the target view

@AttrRes int resId

The attribute id of the tint to apply, may be 0 to clear tint.

RemoteViewsCompatKt.setProgressBarSecondaryProgress

public static final void RemoteViewsCompatKt.setProgressBarSecondaryProgress(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int secondaryProgress
)

Equivalent to calling android.widget.ProgressBar.setSecondaryProgress.

Parameters
@IdRes int viewId

The id of the target view

int secondaryProgress

The new secondary progress.

RemoteViewsCompatKt.setProgressBarSecondaryProgressTintBlendMode

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setProgressBarSecondaryProgressTintBlendMode(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    BlendMode blendMode
)

Equivalent to calling android.widget.ProgressBar.setSecondaryProgressTintBlendMode.

Parameters
@IdRes int viewId

The id of the target view

BlendMode blendMode

The blending mode used to apply the tint, may be null to clear.

RemoteViewsCompatKt.setProgressBarSecondaryProgressTintList

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setProgressBarSecondaryProgressTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorRes int resId
)

Equivalent to calling android.widget.ProgressBar.setSecondaryProgressTintList.

Parameters
@IdRes int viewId

The id of the target view

@ColorRes int resId

The resource id of the tint to apply, may be 0 to clear tint.

RemoteViewsCompatKt.setProgressBarSecondaryProgressTintList

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setProgressBarSecondaryProgressTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    ColorStateList tint
)

Equivalent to calling android.widget.ProgressBar.setSecondaryProgressTintList.

Parameters
@IdRes int viewId

The id of the target view

ColorStateList tint

The tint to apply, may be null to clear tint.

RemoteViewsCompatKt.setProgressBarSecondaryProgressTintList

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setProgressBarSecondaryProgressTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    ColorStateList notNightTint,
    ColorStateList nightTint
)

Equivalent to calling android.widget.ProgressBar.setSecondaryProgressTintList.

Parameters
@IdRes int viewId

The id of the target view

ColorStateList notNightTint

The tint to apply when the UI is not in night mode, may be null to clear tint.

ColorStateList nightTint

The tint to apply when the UI is in night mode, may be null to clear tint.

RemoteViewsCompatKt.setProgressBarSecondaryProgressTintListAttr

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setProgressBarSecondaryProgressTintListAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.ProgressBar.setSecondaryProgressTintList.

Parameters
@IdRes int viewId

The id of the target view

@AttrRes int resId

The attribute of the tint to apply, may be 0 to clear tint.

RemoteViewsCompatKt.setProgressBarStateDescription

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setProgressBarStateDescription(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @StringRes int resId
)

Equivalent to calling android.widget.ProgressBar.setStateDescription.

Parameters
@IdRes int viewId

The id of the target view

@StringRes int resId

The resource id of the state description, or 0 to reset to the default ProgressBar state description.

RemoteViewsCompatKt.setProgressBarStateDescription

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setProgressBarStateDescription(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    CharSequence stateDescription
)

Equivalent to calling android.widget.ProgressBar.setStateDescription.

Parameters
@IdRes int viewId

The id of the target view

CharSequence stateDescription

The state description, or null to reset to the default ProgressBar state description.

RemoteViewsCompatKt.setProgressBarStateDescriptionAttr

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setProgressBarStateDescriptionAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.ProgressBar.setStateDescription.

Parameters
@IdRes int viewId

The id of the target view

@AttrRes int resId

The attribute id of the state description, or 0 to reset to the default ProgressBar state description.

RemoteViewsCompatKt.setRelativeLayoutGravity

public static final void RemoteViewsCompatKt.setRelativeLayoutGravity(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int gravity
)

Equivalent to calling android.widget.RelativeLayout.setGravity.

Parameters
@IdRes int viewId

The id of the target view

int gravity

See android.view.Gravity.

RemoteViewsCompatKt.setRelativeLayoutHorizontalGravity

public static final void RemoteViewsCompatKt.setRelativeLayoutHorizontalGravity(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int horizontalGravity
)

Equivalent to calling android.widget.RelativeLayout.setHorizontalGravity.

Parameters
@IdRes int viewId

The id of the target view

RemoteViewsCompatKt.setRelativeLayoutIgnoreGravity

public static final void RemoteViewsCompatKt.setRelativeLayoutIgnoreGravity(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @IdRes int childViewId
)

Equivalent to calling android.widget.RelativeLayout.setIgnoreGravity.

Parameters
@IdRes int viewId

The id of the target view

@IdRes int childViewId

The id of the child View to be ignored by gravity, or 0 if no View should be ignored.

RemoteViewsCompatKt.setRelativeLayoutVerticalGravity

public static final void RemoteViewsCompatKt.setRelativeLayoutVerticalGravity(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int verticalGravity
)

Equivalent to calling android.widget.RelativeLayout.setVerticalGravity.

Parameters
@IdRes int viewId

The id of the target view

setRemoteAdapter

public static final void setRemoteAdapter(
    @NonNull Context context,
    @NonNull RemoteViews remoteViews,
    int appWidgetId,
    @IdRes int viewId,
    @NonNull RemoteViewsCompat.RemoteCollectionItems items
)

Creates a simple Adapter for the widgetId and viewId specified. The viewId must point to an AdapterView, ie. android.widget.ListView, android.widget.GridView, android.widget.StackView, or android.widget.AdapterViewAnimator.

This is a simpler but less flexible approach to populating collection widgets. Its use is encouraged for most scenarios, as long as the total memory within the list of RemoteViews is relatively small (ie. doesn't contain large or numerous Bitmaps, see RemoteViews.setImageViewBitmap). In the case of numerous images, the use of API is still possible by setting image URIs instead of Bitmaps, see RemoteViews.setImageViewUri.

If you use this API, you should not call AppWidgetManager.notifyAppWidgetViewDataChanged and should instead update your app widget, calling this method with the new RemoteCollectionItems.

Parameters
@NonNull Context context

The Context of the app providing the widget.

@NonNull RemoteViews remoteViews

The RemoteViews to receive the adapter.

int appWidgetId

the id of the widget for which the adapter is being set.

@IdRes int viewId

The id of the android.widget.AdapterView.

@NonNull RemoteViewsCompat.RemoteCollectionItems items

The items to display in the android.widget.AdapterView.

RemoteViewsCompatKt.setSwitchMinWidth

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setSwitchMinWidth(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float value,
    int unit
)

Equivalent to calling android.widget.Switch.setSwitchMinWidth.

Parameters
@IdRes int viewId

The id of the target view

float value

Minimum width of the switch.

int unit

The unit for value, e.g. android.util.TypedValue.COMPLEX_UNIT_DIP.

RemoteViewsCompatKt.setSwitchMinWidthDimen

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setSwitchMinWidthDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DimenRes int resId
)

Equivalent to calling android.widget.Switch.setSwitchMinWidth.

Parameters
@IdRes int viewId

The id of the target view

@DimenRes int resId

The id of a dimension resource for the minimum width of the switch.

RemoteViewsCompatKt.setSwitchMinWidthDimenAttr

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setSwitchMinWidthDimenAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.Switch.setSwitchMinWidth.

Parameters
@IdRes int viewId

The id of the target view

@AttrRes int resId

The id of a dimension attribute for the minimum width of the switch.

RemoteViewsCompatKt.setSwitchPadding

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setSwitchPadding(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float value,
    int unit
)

Equivalent to calling android.widget.Switch.setSwitchPadding.

Parameters
@IdRes int viewId

The id of the target view

float value

Amount of padding.

int unit

The unit for value, e.g. android.util.TypedValue.COMPLEX_UNIT_DIP.

RemoteViewsCompatKt.setSwitchPaddingDimen

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setSwitchPaddingDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DimenRes int resId
)

Equivalent to calling android.widget.Switch.setSwitchPadding.

Parameters
@IdRes int viewId

The id of the target view

@DimenRes int resId

The id of a dimension resource for the amount of padding.

RemoteViewsCompatKt.setSwitchPaddingDimenAttr

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setSwitchPaddingDimenAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.Switch.setSwitchPadding.

Parameters
@IdRes int viewId

The id of the target view

@AttrRes int resId

The id of a dimension attribute for the amount of padding.

RemoteViewsCompatKt.setSwitchShowText

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setSwitchShowText(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    boolean showText
)

Equivalent to calling android.widget.Switch.setShowText.

Parameters
@IdRes int viewId

The id of the target view

boolean showText

True to display on/off text.

RemoteViewsCompatKt.setSwitchSplitTrack

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setSwitchSplitTrack(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    boolean splitTrack
)

Equivalent to calling android.widget.Switch.setSplitTrack.

Parameters
@IdRes int viewId

The id of the target view

boolean splitTrack

Whether the track should be split by the thumb.

RemoteViewsCompatKt.setSwitchTextOff

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setSwitchTextOff(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @StringRes int resId
)

Equivalent to calling android.widget.Switch.setTextOff.

Parameters
@IdRes int viewId

The id of the target view

@StringRes int resId

The resource id for the text displayed when the button is not in the checked state.

RemoteViewsCompatKt.setSwitchTextOff

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setSwitchTextOff(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    CharSequence textOff
)

Equivalent to calling android.widget.Switch.setTextOff.

Parameters
@IdRes int viewId

The id of the target view

CharSequence textOff

The text displayed when the button is not in the checked state.

RemoteViewsCompatKt.setSwitchTextOffAttr

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setSwitchTextOffAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.Switch.setTextOff.

Parameters
@IdRes int viewId

The id of the target view

@AttrRes int resId

The attribute id for the text displayed when the button is not in the checked state.

RemoteViewsCompatKt.setSwitchTextOn

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setSwitchTextOn(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @StringRes int resId
)

Equivalent to calling android.widget.Switch.setTextOn.

Parameters
@IdRes int viewId

The id of the target view

@StringRes int resId

The resource id for the text displayed when the button is in the checked state.

RemoteViewsCompatKt.setSwitchTextOn

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setSwitchTextOn(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    CharSequence textOn
)

Equivalent to calling android.widget.Switch.setTextOn.

Parameters
@IdRes int viewId

The id of the target view

CharSequence textOn

The text displayed when the button is in the checked state.

RemoteViewsCompatKt.setSwitchTextOnAttr

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setSwitchTextOnAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.Switch.setTextOn.

Parameters
@IdRes int viewId

The id of the target view

@AttrRes int resId

The attribute id for the text displayed when the button is in the checked state.

RemoteViewsCompatKt.setSwitchThumbIcon

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setSwitchThumbIcon(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    Icon icon
)

Equivalent to calling android.widget.Switch.setThumbIcon.

Parameters
@IdRes int viewId

The id of the target view

Icon icon

An Icon holding the desired thumb, or null to clear the thumb.

RemoteViewsCompatKt.setSwitchThumbIcon

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setSwitchThumbIcon(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    Icon notNight,
    Icon night
)

Equivalent to calling android.widget.Switch.setThumbIcon.

Parameters
@IdRes int viewId

The id of the target view

Icon notNight

An Icon holding the desired thumb when the UI is not in night mode, or null to clear the thumb.

Icon notNight

An Icon holding the desired thumb when the UI is in night mode, or null to clear the thumb.

RemoteViewsCompatKt.setSwitchThumbResource

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setSwitchThumbResource(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DrawableRes int resId
)

Equivalent to calling android.widget.Switch.setThumbResource.

Parameters
@IdRes int viewId

The id of the target view

@DrawableRes int resId

Resource id of a thumb drawable.

RemoteViewsCompatKt.setSwitchThumbTextPadding

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setSwitchThumbTextPadding(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float value,
    int unit
)

Equivalent to calling android.widget.Switch.setThumbTextPadding.

Parameters
@IdRes int viewId

The id of the target view

float value

Horizontal padding for switch thumb text.

int unit

The unit for value, e.g. android.util.TypedValue.COMPLEX_UNIT_DIP.

RemoteViewsCompatKt.setSwitchThumbTextPaddingDimen

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setSwitchThumbTextPaddingDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DimenRes int resId
)

Equivalent to calling android.widget.Switch.setThumbTextPadding.

Parameters
@IdRes int viewId

The id of the target view

@DimenRes int resId

The id of a dimension resource for the horizontal padding for switch thumb text.

RemoteViewsCompatKt.setSwitchThumbTextPaddingDimenAttr

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setSwitchThumbTextPaddingDimenAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.Switch.setThumbTextPadding.

Parameters
@IdRes int viewId

The id of the target view

@AttrRes int resId

The id of a dimension attribute for the horizontal padding for switch thumb text.

RemoteViewsCompatKt.setSwitchThumbTintBlendMode

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setSwitchThumbTintBlendMode(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    BlendMode blendMode
)

Equivalent to calling android.widget.Switch.setThumbTintBlendMode.

Parameters
@IdRes int viewId

The id of the target view

BlendMode blendMode

The blending mode used to apply the tint, may be null to clear tint.

RemoteViewsCompatKt.setSwitchThumbTintList

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setSwitchThumbTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorRes int resId
)

Equivalent to calling android.widget.Switch.setThumbTintList.

Parameters
@IdRes int viewId

The id of the target view

@ColorRes int resId

The resource id for the tint to apply, may be 0 to clear tint.

RemoteViewsCompatKt.setSwitchThumbTintList

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setSwitchThumbTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    ColorStateList tint
)

Equivalent to calling android.widget.Switch.setThumbTintList.

Parameters
@IdRes int viewId

The id of the target view

ColorStateList tint

The tint to apply, may be null to clear tint.

RemoteViewsCompatKt.setSwitchThumbTintList

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setSwitchThumbTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    ColorStateList notNight,
    ColorStateList night
)

Equivalent to calling android.widget.Switch.setThumbTintList.

Parameters
@IdRes int viewId

The id of the target view

ColorStateList notNight

The tint to apply when the UI is not in night mode, may be null to clear tint.

ColorStateList night

The tint to apply when the UI is in night mode, may be null to clear tint.

RemoteViewsCompatKt.setSwitchThumbTintListAttr

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setSwitchThumbTintListAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.Switch.setThumbTintList.

Parameters
@IdRes int viewId

The id of the target view

@AttrRes int resId

The attribute id for the tint to apply, may be 0 to clear tint.

RemoteViewsCompatKt.setSwitchTrackIcon

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setSwitchTrackIcon(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    Icon icon
)

Equivalent to calling android.widget.Switch.setTrackIcon.

Parameters
@IdRes int viewId

The id of the target view

Icon icon

An Icon holding the desired track, or null to clear the track.

RemoteViewsCompatKt.setSwitchTrackIcon

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setSwitchTrackIcon(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    Icon notNight,
    Icon night
)

Equivalent to calling android.widget.Switch.setTrackIcon.

Parameters
@IdRes int viewId

The id of the target view

Icon notNight

An Icon holding the desired track when the UI is not in night mode, or null to clear the track.

Icon notNight

An Icon holding the desired track when the UI is in night mode, or null to clear the track.

RemoteViewsCompatKt.setSwitchTrackResource

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setSwitchTrackResource(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DrawableRes int resId
)

Equivalent to calling android.widget.Switch.setTrackResource.

Parameters
@IdRes int viewId

The id of the target view

@DrawableRes int resId

Resource id of a track drawable.

RemoteViewsCompatKt.setSwitchTrackTintBlendMode

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setSwitchTrackTintBlendMode(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    BlendMode blendMode
)

Equivalent to calling android.widget.Switch.setTrackTintBlendMode.

Parameters
@IdRes int viewId

The id of the target view

BlendMode blendMode

The blending mode used to apply the tint, may be null to clear tint.

RemoteViewsCompatKt.setSwitchTrackTintList

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setSwitchTrackTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorRes int resId
)

Equivalent to calling android.widget.Switch.setTrackTintList.

Parameters
@IdRes int viewId

The id of the target view

@ColorRes int resId

The resource id for the tint to apply, may be 0 to clear tint.

RemoteViewsCompatKt.setSwitchTrackTintList

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setSwitchTrackTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    ColorStateList tint
)

Equivalent to calling android.widget.Switch.setTrackTintList.

Parameters
@IdRes int viewId

The id of the target view

ColorStateList tint

The tint to apply, may be null to clear tint.

RemoteViewsCompatKt.setSwitchTrackTintList

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setSwitchTrackTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    ColorStateList notNight,
    ColorStateList night
)

Equivalent to calling android.widget.Switch.setTrackTintList.

Parameters
@IdRes int viewId

The id of the target view

ColorStateList notNight

The tint to apply when the UI is not in night mode, may be null to clear tint.

ColorStateList night

The tint to apply when the UI is in night mode, may be null to clear tint.

RemoteViewsCompatKt.setSwitchTrackTintListAttr

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setSwitchTrackTintListAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.Switch.setTrackTintList.

Parameters
@IdRes int viewId

The id of the target view

@AttrRes int resId

The attribute id for the tint to apply, may be 0 to clear tint.

RemoteViewsCompatKt.setTextClockFormat12Hour

@RequiresApi(value = 17)
public static final void RemoteViewsCompatKt.setTextClockFormat12Hour(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    CharSequence format
)

Equivalent to calling android.widget.TextClock.setFormat12Hour.

Parameters
@IdRes int viewId

The id of the target view

CharSequence format

A date/time formatting pattern as described in android.text.format.DateFormat.

RemoteViewsCompatKt.setTextClockFormat12Hour

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setTextClockFormat12Hour(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @StringRes int resId
)

Equivalent to calling android.widget.TextClock.setFormat12Hour.

Parameters
@IdRes int viewId

The id of the target view

@StringRes int resId

A resource id for a date/time formatting pattern as described in android.text.format.DateFormat.

RemoteViewsCompatKt.setTextClockFormat12HourAttr

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setTextClockFormat12HourAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.TextClock.setFormat12Hour.

Parameters
@IdRes int viewId

The id of the target view

@AttrRes int resId

An attribute id for a date/time formatting pattern as described in android.text.format.DateFormat.

RemoteViewsCompatKt.setTextClockFormat24Hour

@RequiresApi(value = 17)
public static final void RemoteViewsCompatKt.setTextClockFormat24Hour(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    CharSequence format
)

Equivalent to calling android.widget.TextClock.setFormat24Hour.

Parameters
@IdRes int viewId

The id of the target view

CharSequence format

A date/time formatting pattern as described in android.text.format.DateFormat.

RemoteViewsCompatKt.setTextClockFormat24Hour

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setTextClockFormat24Hour(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @StringRes int resId
)

Equivalent to calling android.widget.TextClock.setFormat24Hour.

Parameters
@IdRes int viewId

The id of the target view

@StringRes int resId

A resource id for a date/time formatting pattern as described in android.text.format.DateFormat.

RemoteViewsCompatKt.setTextClockFormat24HourAttr

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setTextClockFormat24HourAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.TextClock.setFormat24Hour.

Parameters
@IdRes int viewId

The id of the target view

@AttrRes int resId

An attribute id for a date/time formatting pattern as described in android.text.format.DateFormat.

RemoteViewsCompatKt.setTextClockTimeZone

@RequiresApi(value = 17)
public static final void RemoteViewsCompatKt.setTextClockTimeZone(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    String timeZone
)

Equivalent to calling android.widget.TextClock.setTimeZone.

Parameters
@IdRes int viewId

The id of the target view

String timeZone

The desired time zone's ID as specified in java.util.TimeZone or null to use the time zone specified by the user (system time zone).

RemoteViewsCompatKt.setTextViewAllCaps

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setTextViewAllCaps(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    boolean allCaps
)

Equivalent to calling android.widget.TextView.setAllCaps.

Parameters
@IdRes int viewId

The id of the target view

boolean allCaps

Whether the text should display in all caps.

RemoteViewsCompatKt.setTextViewAutoLinkMask

public static final void RemoteViewsCompatKt.setTextViewAutoLinkMask(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int mask
)

Equivalent to calling android.widget.TextView.setAutoLinkMask.

Parameters
@IdRes int viewId

The id of the target view

int mask

See android.text.util.Linkify.ALL and peers for possible values.

RemoteViewsCompatKt.setTextViewCompoundDrawablePadding

@RequiresApi(value = 16)
public static final void RemoteViewsCompatKt.setTextViewCompoundDrawablePadding(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @Px int pad
)

Equivalent to calling android.widget.TextView.setCompoundDrawablePadding.

Parameters
@IdRes int viewId

The id of the target view

@Px int pad

The padding between the compound drawables and the text, in pixels.

RemoteViewsCompatKt.setTextViewCompoundDrawablePadding

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setTextViewCompoundDrawablePadding(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float value,
    int unit
)

Equivalent to calling android.widget.TextView.setCompoundDrawablePadding.

Parameters
@IdRes int viewId

The id of the target view

float value

The padding between the compound drawables and the text.

int unit

The unit for value, e.g. android.util.TypedValue.COMPLEX_UNIT_DIP.

RemoteViewsCompatKt.setTextViewCompoundDrawablePaddingDimen

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setTextViewCompoundDrawablePaddingDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DimenRes int resId
)

Equivalent to calling android.widget.TextView.setCompoundDrawablePadding.

Parameters
@IdRes int viewId

The id of the target view

@DimenRes int resId

The id of a dimension resource for the padding between the compound drawables and the text.

RemoteViewsCompatKt.setTextViewCompoundDrawablePaddingDimenAttr

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setTextViewCompoundDrawablePaddingDimenAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.TextView.setCompoundDrawablePadding.

Parameters
@IdRes int viewId

The id of the target view

@AttrRes int resId

The id of a dimension attribute for the padding between the compound drawables and the text.

RemoteViewsCompatKt.setTextViewEms

public static final void RemoteViewsCompatKt.setTextViewEms(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int ems
)

Equivalent to calling android.widget.TextView.setEms.

Parameters
@IdRes int viewId

The id of the target view

int ems

The width of the TextView, in ems.

RemoteViewsCompatKt.setTextViewError

public static final void RemoteViewsCompatKt.setTextViewError(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    CharSequence error
)

Equivalent to calling android.widget.TextView.setError.

Parameters
@IdRes int viewId

The id of the target view

CharSequence error

The error message for the TextView.

RemoteViewsCompatKt.setTextViewError

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setTextViewError(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @StringRes int resId
)

Equivalent to calling android.widget.TextView.setError.

Parameters
@IdRes int viewId

The id of the target view

@StringRes int resId

A string resource for the error.

RemoteViewsCompatKt.setTextViewErrorAttr

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setTextViewErrorAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.TextView.setError.

Parameters
@IdRes int viewId

The id of the target view

@AttrRes int resId

A string attribute for the error.

RemoteViewsCompatKt.setTextViewFontFeatureSettings

@RequiresApi(value = 21)
public static final void RemoteViewsCompatKt.setTextViewFontFeatureSettings(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @NonNull String fontFeatureSettings
)

Equivalent to calling android.widget.TextView.setFontFeatureSettings.

Parameters
@IdRes int viewId

The id of the target view

@NonNull String fontFeatureSettings

Font feature settings represented as CSS compatible string.

RemoteViewsCompatKt.setTextViewGravity

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setTextViewGravity(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int gravity
)

Equivalent to calling android.widget.TextView.setGravity.

Parameters
@IdRes int viewId

The id of the target view

int gravity

The gravity value, from android.view.Gravity.

RemoteViewsCompatKt.setTextViewHeight

public static final void RemoteViewsCompatKt.setTextViewHeight(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @Px int pixels
)

Equivalent to calling android.widget.TextView.setHeight.

Parameters
@IdRes int viewId

The id of the target view

@Px int pixels

The height of the TextView, in pixels.

RemoteViewsCompatKt.setTextViewHeight

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setTextViewHeight(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float value,
    int unit
)

Equivalent to calling android.widget.TextView.setHeight.

Parameters
@IdRes int viewId

The id of the target view

float value

The height of the TextView.

int unit

The unit for value, e.g. android.util.TypedValue.COMPLEX_UNIT_DIP.

RemoteViewsCompatKt.setTextViewHeightDimen

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setTextViewHeightDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DimenRes int resId
)

Equivalent to calling android.widget.TextView.setHeight.

Parameters
@IdRes int viewId

The id of the target view

@DimenRes int resId

The id of a dimension resource for the height of the TextView.

RemoteViewsCompatKt.setTextViewHeightDimenAttr

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setTextViewHeightDimenAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.TextView.setHeight.

Parameters
@IdRes int viewId

The id of the target view

@AttrRes int resId

The id of a dimension attribute for the height of the TextView.

RemoteViewsCompatKt.setTextViewHighlightColor

public static final void RemoteViewsCompatKt.setTextViewHighlightColor(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorInt int color
)

Equivalent to calling android.widget.TextView.setHighlightColor.

Parameters
@IdRes int viewId

The id of the target view

@ColorInt int color

The highlight color to use.

RemoteViewsCompatKt.setTextViewHighlightColor

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setTextViewHighlightColor(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorInt int notNight,
    @ColorInt int night
)

Equivalent to calling android.widget.TextView.setHighlightColor.

Parameters
@IdRes int viewId

The id of the target view

@ColorInt int notNight

The highlight color to use when night mode is not active.

@ColorInt int night

The highlight color to use when night mode is active.

RemoteViewsCompatKt.setTextViewHighlightColorAttr

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setTextViewHighlightColorAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.TextView.setHighlightColor.

Parameters
@IdRes int viewId

The id of the target view

@AttrRes int resId

The attribute id for the highlight color.

RemoteViewsCompatKt.setTextViewHighlightColorResource

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setTextViewHighlightColorResource(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorRes int resId
)

Equivalent to calling android.widget.TextView.setHighlightColor.

Parameters
@IdRes int viewId

The id of the target view

@ColorRes int resId

The resource id for the highlight color.

RemoteViewsCompatKt.setTextViewHint

public static final void RemoteViewsCompatKt.setTextViewHint(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    CharSequence hint
)

Equivalent to calling android.widget.TextView.setHint.

Parameters
@IdRes int viewId

The id of the target view

CharSequence hint

The hint for the TextView.

RemoteViewsCompatKt.setTextViewHint

public static final void RemoteViewsCompatKt.setTextViewHint(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @StringRes int resId
)

Equivalent to calling android.widget.TextView.setHint.

Parameters
@IdRes int viewId

The id of the target view

@StringRes int resId

A string resource for the hint.

RemoteViewsCompatKt.setTextViewHintAttr

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setTextViewHintAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.TextView.setHint.

Parameters
@IdRes int viewId

The id of the target view

@AttrRes int resId

A string attribute for the hint.

RemoteViewsCompatKt.setTextViewHintTextColor

public static final void RemoteViewsCompatKt.setTextViewHintTextColor(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorInt int color
)

Equivalent to calling android.widget.TextView.setHintTextColor.

Parameters
@IdRes int viewId

The id of the target view

@ColorInt int color

The hint text color to use.

RemoteViewsCompatKt.setTextViewHintTextColor

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setTextViewHintTextColor(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorInt int notNight,
    @ColorInt int night
)

Equivalent to calling android.widget.TextView.setHintTextColor.

Parameters
@IdRes int viewId

The id of the target view

@ColorInt int notNight

The hint text color to use when night mode is not active.

@ColorInt int night

The hint text color to use when night mode is active.

RemoteViewsCompatKt.setTextViewHintTextColorAttr

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setTextViewHintTextColorAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.TextView.setHintTextColor.

Parameters
@IdRes int viewId

The id of the target view

@AttrRes int resId

The attribute id for the hint text color.

RemoteViewsCompatKt.setTextViewHintTextColorResource

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setTextViewHintTextColorResource(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorRes int resId
)

Equivalent to calling android.widget.TextView.setHintTextColor.

Parameters
@IdRes int viewId

The id of the target view

@ColorRes int resId

The resource id for the hint text color.

RemoteViewsCompatKt.setTextViewJustificationMode

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setTextViewJustificationMode(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int justificationMode
)

Equivalent to calling android.widget.TextView.setJustificationMode.

Parameters
@IdRes int viewId

The id of the target view

int justificationMode

The justification mode to set.

RemoteViewsCompatKt.setTextViewLetterSpacing

@RequiresApi(value = 21)
public static final void RemoteViewsCompatKt.setTextViewLetterSpacing(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float letterSpacing
)

Equivalent to calling android.widget.TextView.setLetterSpacing.

Parameters
@IdRes int viewId

The id of the target view

float letterSpacing

A text letter-space value in ems.

RemoteViewsCompatKt.setTextViewLineHeight

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setTextViewLineHeight(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float value,
    int unit
)

Equivalent to calling android.widget.TextView.setLineHeight.

Parameters
@IdRes int viewId

The id of the target view

float value

The value of the dimension for the line height.

int unit

The unit for value, e.g. android.util.TypedValue.COMPLEX_UNIT_DIP.

RemoteViewsCompatKt.setTextViewLineHeightDimen

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setTextViewLineHeightDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DimenRes int resId
)

Equivalent to calling android.widget.TextView.setLineHeight.

Parameters
@IdRes int viewId

The id of the target view

@DimenRes int resId

The id of a dimension resource for the line height.

RemoteViewsCompatKt.setTextViewLineHeightDimenAttr

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setTextViewLineHeightDimenAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.TextView.setLineHeight.

Parameters
@IdRes int viewId

The id of the target view

@AttrRes int resId

The id of a dimension attribute for the line height.

RemoteViewsCompatKt.setTextViewLines

public static final void RemoteViewsCompatKt.setTextViewLines(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int lines
)

Equivalent to calling android.widget.TextView.setLines.

Parameters
@IdRes int viewId

The id of the target view

int lines

The number of lines for the height of the TextView.

RemoteViewsCompatKt.setTextViewLinkTextColor

public static final void RemoteViewsCompatKt.setTextViewLinkTextColor(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorInt int color
)

Equivalent to calling android.widget.TextView.setLinkTextColor.

Parameters
@IdRes int viewId

The id of the target view

@ColorInt int color

The link text color to use.

RemoteViewsCompatKt.setTextViewLinkTextColor

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setTextViewLinkTextColor(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorInt int notNight,
    @ColorInt int night
)

Equivalent to calling android.widget.TextView.setLinkTextColor.

Parameters
@IdRes int viewId

The id of the target view

@ColorInt int notNight

The link text color to use when night mode is not active.

@ColorInt int night

The link text color to use when night mode is active.

RemoteViewsCompatKt.setTextViewLinkTextColorAttr

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setTextViewLinkTextColorAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.TextView.setLinkTextColor.

Parameters
@IdRes int viewId

The id of the target view

@AttrRes int resId

The attribute id for the link text color.

RemoteViewsCompatKt.setTextViewLinkTextColorResource

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setTextViewLinkTextColorResource(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorRes int resId
)

Equivalent to calling android.widget.TextView.setLinkTextColor.

Parameters
@IdRes int viewId

The id of the target view

@ColorRes int resId

The resource id for the link text color.

RemoteViewsCompatKt.setTextViewLinksClickable

public static final void RemoteViewsCompatKt.setTextViewLinksClickable(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    boolean whether
)

Equivalent to calling android.widget.TextView.setLinksClickable.

Parameters
@IdRes int viewId

The id of the target view

boolean whether

Whether detected links will be clickable (see TextView documentation).

RemoteViewsCompatKt.setTextViewMaxEms

public static final void RemoteViewsCompatKt.setTextViewMaxEms(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int maxems
)

Equivalent to calling android.widget.TextView.setMaxEms.

Parameters
@IdRes int viewId

The id of the target view

int maxems

The maximum width of the TextView, in ems.

RemoteViewsCompatKt.setTextViewMaxHeight

public static final void RemoteViewsCompatKt.setTextViewMaxHeight(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @Px int maxHeight
)

Equivalent to calling android.widget.TextView.setMaxHeight.

Parameters
@IdRes int viewId

The id of the target view

@Px int maxHeight

The maximum height of the TextView, in pixels.

RemoteViewsCompatKt.setTextViewMaxHeight

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setTextViewMaxHeight(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float value,
    int unit
)

Equivalent to calling android.widget.TextView.setMaxHeight.

Parameters
@IdRes int viewId

The id of the target view

float value

The maximum height of the TextView.

int unit

The unit for value, e.g. android.util.TypedValue.COMPLEX_UNIT_DIP.

RemoteViewsCompatKt.setTextViewMaxHeightDimen

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setTextViewMaxHeightDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DimenRes int resId
)

Equivalent to calling android.widget.TextView.setMaxHeight.

Parameters
@IdRes int viewId

The id of the target view

@DimenRes int resId

The id of a dimension resource for the maximum height of the TextView.

RemoteViewsCompatKt.setTextViewMaxHeightDimenAttr

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setTextViewMaxHeightDimenAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.TextView.setMaxHeight.

Parameters
@IdRes int viewId

The id of the target view

@AttrRes int resId

The id of a dimension attribute for the maximum height of the TextView.

RemoteViewsCompatKt.setTextViewMaxLines

public static final void RemoteViewsCompatKt.setTextViewMaxLines(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int maxLines
)

Equivalent to calling android.widget.TextView.setMaxLines.

Parameters
@IdRes int viewId

The id of the target view

int maxLines

The maximum number of lines for the height of the TextView.

RemoteViewsCompatKt.setTextViewMaxWidth

public static final void RemoteViewsCompatKt.setTextViewMaxWidth(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @Px int maxWidth
)

Equivalent to calling android.widget.TextView.setMaxWidth.

Parameters
@IdRes int viewId

The id of the target view

@Px int maxWidth

The maximum width of the TextView, in pixels.

RemoteViewsCompatKt.setTextViewMaxWidth

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setTextViewMaxWidth(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float value,
    int unit
)

Equivalent to calling android.widget.TextView.setMaxWidth.

Parameters
@IdRes int viewId

The id of the target view

float value

The maximum width of the TextView.

int unit

The unit for value, e.g. android.util.TypedValue.COMPLEX_UNIT_DIP.

RemoteViewsCompatKt.setTextViewMaxWidthDimen

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setTextViewMaxWidthDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DimenRes int resId
)

Equivalent to calling android.widget.TextView.setMaxWidth.

Parameters
@IdRes int viewId

The id of the target view

@DimenRes int resId

The id of a dimension resource for the maximum width of the TextView.

RemoteViewsCompatKt.setTextViewMaxWidthDimenAttr

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setTextViewMaxWidthDimenAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.TextView.setMaxWidth.

Parameters
@IdRes int viewId

The id of the target view

@AttrRes int resId

The id of a dimension attribute for the maximum width of the TextView.

RemoteViewsCompatKt.setTextViewMinEms

public static final void RemoteViewsCompatKt.setTextViewMinEms(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int minems
)

Equivalent to calling android.widget.TextView.setMinEms.

Parameters
@IdRes int viewId

The id of the target view

int minems

The minimum width of the TextView, in ems.

RemoteViewsCompatKt.setTextViewMinHeight

public static final void RemoteViewsCompatKt.setTextViewMinHeight(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @Px int minHeight
)

Equivalent to calling android.widget.TextView.setMinHeight.

Parameters
@IdRes int viewId

The id of the target view

@Px int minHeight

The minimum height of the TextView, in pixels.

RemoteViewsCompatKt.setTextViewMinHeight

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setTextViewMinHeight(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float value,
    int unit
)

Equivalent to calling android.widget.TextView.setMinHeight.

Parameters
@IdRes int viewId

The id of the target view

float value

The minimum height of the TextView.

int unit

The unit for value, e.g. android.util.TypedValue.COMPLEX_UNIT_DIP.

RemoteViewsCompatKt.setTextViewMinHeightDimen

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setTextViewMinHeightDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DimenRes int resId
)

Equivalent to calling android.widget.TextView.setMinHeight.

Parameters
@IdRes int viewId

The id of the target view

@DimenRes int resId

The id of a dimension resource for the minimum height of the TextView.

RemoteViewsCompatKt.setTextViewMinHeightDimenAttr

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setTextViewMinHeightDimenAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.TextView.setMinHeight.

Parameters
@IdRes int viewId

The id of the target view

@AttrRes int resId

The id of a dimension attribute for the minimum height of the TextView.

RemoteViewsCompatKt.setTextViewMinLines

public static final void RemoteViewsCompatKt.setTextViewMinLines(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int minLines
)

Equivalent to calling android.widget.TextView.setMinLines.

Parameters
@IdRes int viewId

The id of the target view

int minLines

The minimum number of lines for the height of the TextView.

RemoteViewsCompatKt.setTextViewMinWidth

public static final void RemoteViewsCompatKt.setTextViewMinWidth(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @Px int minWidth
)

Equivalent to calling android.widget.TextView.setMinWidth.

Parameters
@IdRes int viewId

The id of the target view

@Px int minWidth

The minimum width of the TextView, in pixels.

RemoteViewsCompatKt.setTextViewMinWidth

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setTextViewMinWidth(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float value,
    int unit
)

Equivalent to calling android.widget.TextView.setMinWidth.

Parameters
@IdRes int viewId

The id of the target view

float value

The minimum width of the TextView.

int unit

The unit for value, e.g. android.util.TypedValue.COMPLEX_UNIT_DIP.

RemoteViewsCompatKt.setTextViewMinWidthDimen

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setTextViewMinWidthDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DimenRes int resId
)

Equivalent to calling android.widget.TextView.setMinWidth.

Parameters
@IdRes int viewId

The id of the target view

@DimenRes int resId

The id of a dimension resource for the minimum width of the TextView.

RemoteViewsCompatKt.setTextViewMinWidthDimenAttr

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setTextViewMinWidthDimenAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.TextView.setMinWidth.

Parameters
@IdRes int viewId

The id of the target view

@AttrRes int resId

The id of a dimension attribute for the minimum width of the TextView.

RemoteViewsCompatKt.setTextViewPaintFlags

public static final void RemoteViewsCompatKt.setTextViewPaintFlags(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int flags
)

Equivalent to calling android.widget.TextView.setPaintFlags.

Parameters
@IdRes int viewId

The id of the target view

int flags

The flags for the text paint.

RemoteViewsCompatKt.setTextViewSelectAllOnFocus

public static final void RemoteViewsCompatKt.setTextViewSelectAllOnFocus(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    boolean selectAllOnFocus
)

Equivalent to calling android.widget.TextView.setSelectAllOnFocus.

Parameters
@IdRes int viewId

The id of the target view

boolean selectAllOnFocus

Whether to select all text when the TextView is focused.

RemoteViewsCompatKt.setTextViewSingleLine

public static final void RemoteViewsCompatKt.setTextViewSingleLine(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    boolean singleLine
)

Equivalent to calling android.widget.TextView.setSingleLine.

Parameters
@IdRes int viewId

The id of the target view

boolean singleLine

Whether the TextView is single-line.

RemoteViewsCompatKt.setTextViewText

public static final void RemoteViewsCompatKt.setTextViewText(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @StringRes int resId
)

Equivalent to calling android.widget.TextView.setText.

Parameters
@IdRes int viewId

The id of the target view

@StringRes int resId

A string resource for the text.

RemoteViewsCompatKt.setTextViewTextAttr

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setTextViewTextAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.TextView.setText.

Parameters
@IdRes int viewId

The id of the target view

@AttrRes int resId

A string attribute for the text.

RemoteViewsCompatKt.setTextViewTextColor

public static final void RemoteViewsCompatKt.setTextViewTextColor(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorInt int color
)

Equivalent to calling android.widget.TextView.setTextColor.

Parameters
@IdRes int viewId

The id of the target view

@ColorInt int color

The text color to use.

RemoteViewsCompatKt.setTextViewTextColor

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setTextViewTextColor(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @NonNull ColorStateList colors
)

Equivalent to calling android.widget.TextView.setTextColor.

Parameters
@IdRes int viewId

The id of the target view

@NonNull ColorStateList colors

The text colors to use.

RemoteViewsCompatKt.setTextViewTextColor

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setTextViewTextColor(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @NonNull ColorStateList notNight,
    @NonNull ColorStateList night
)

Equivalent to calling android.widget.TextView.setTextColor.

Parameters
@IdRes int viewId

The id of the target view

@NonNull ColorStateList notNight

The text colors to use when night mode is not active.

@NonNull ColorStateList night

The text colors to use when night mode is active.

RemoteViewsCompatKt.setTextViewTextColor

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setTextViewTextColor(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorInt int notNight,
    @ColorInt int night
)

Equivalent to calling android.widget.TextView.setTextColor.

Parameters
@IdRes int viewId

The id of the target view

@ColorInt int notNight

The text color to use when night mode is not active.

@ColorInt int night

The text color to use when night mode is active.

RemoteViewsCompatKt.setTextViewTextColorAttr

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setTextViewTextColorAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.TextView.setTextColor.

Parameters
@IdRes int viewId

The id of the target view

@AttrRes int resId

The attribute id for the text color.

RemoteViewsCompatKt.setTextViewTextColorResource

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setTextViewTextColorResource(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorRes int resId
)

Equivalent to calling android.widget.TextView.setTextColor.

Parameters
@IdRes int viewId

The id of the target view

@ColorRes int resId

The resource id for the text color.

RemoteViewsCompatKt.setTextViewTextScaleX

public static final void RemoteViewsCompatKt.setTextViewTextScaleX(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float size
)

Equivalent to calling android.widget.TextView.setTextScaleX.

Parameters
@IdRes int viewId

The id of the target view

float size

The horizontal scale factor.

RemoteViewsCompatKt.setTextViewTextSizeDimen

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setTextViewTextSizeDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DimenRes int resId
)

Equivalent to calling android.widget.TextView.setTextSize.

Parameters
@IdRes int viewId

The id of the target view

@DimenRes int resId

The id of a dimension resource for the text size.

RemoteViewsCompatKt.setTextViewTextSizeDimenAttr

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setTextViewTextSizeDimenAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.TextView.setTextSize.

Parameters
@IdRes int viewId

The id of the target view

@AttrRes int resId

The id of a dimension attribute for the text size.

RemoteViewsCompatKt.setTextViewWidth

public static final void RemoteViewsCompatKt.setTextViewWidth(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @Px int pixels
)

Equivalent to calling android.widget.TextView.setWidth.

Parameters
@IdRes int viewId

The id of the target view

@Px int pixels

The width of the TextView, in pixels.

RemoteViewsCompatKt.setTextViewWidth

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setTextViewWidth(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float value,
    int unit
)

Equivalent to calling android.widget.TextView.setWidth.

Parameters
@IdRes int viewId

The id of the target view

float value

The width of the TextView.

int unit

The unit for value, e.g. android.util.TypedValue.COMPLEX_UNIT_DIP.

RemoteViewsCompatKt.setTextViewWidthDimen

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setTextViewWidthDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DimenRes int resId
)

Equivalent to calling android.widget.TextView.setWidth.

Parameters
@IdRes int viewId

The id of the target view

@DimenRes int resId

The id of a dimension resource for the width of the TextView.

RemoteViewsCompatKt.setTextViewWidthDimenAttr

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setTextViewWidthDimenAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.widget.TextView.setWidth.

Parameters
@IdRes int viewId

The id of the target view

@AttrRes int resId

The id of a dimension attribute for the width of the TextView.

RemoteViewsCompatKt.setViewAlpha

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setViewAlpha(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float alpha
)

Equivalent to calling android.view.View.setAlpha.

Parameters
@IdRes int viewId

The id of the target view

float alpha

The opacity of the view.

RemoteViewsCompatKt.setViewBackgroundColor

public static final void RemoteViewsCompatKt.setViewBackgroundColor(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorInt int color
)

Equivalent to calling android.view.View.setBackgroundColor.

Parameters
@IdRes int viewId

The id of the target view

@ColorInt int color

The color of the background.

RemoteViewsCompatKt.setViewBackgroundColor

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setViewBackgroundColor(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorInt int notNight,
    @ColorInt int night
)

Equivalent to calling android.view.View.setBackgroundColor.

Parameters
@IdRes int viewId

The id of the target view

@ColorInt int notNight

The color of the background when night mode is not active.

@ColorInt int night

The color of the background when night mode is active.

RemoteViewsCompatKt.setViewBackgroundColorAttr

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setViewBackgroundColorAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.view.View.setBackgroundColor.

Parameters
@IdRes int viewId

The id of the target view

@AttrRes int resId

A color attribute for the background.

RemoteViewsCompatKt.setViewBackgroundColorResource

public static final void RemoteViewsCompatKt.setViewBackgroundColorResource(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorRes int resId
)

Equivalent to calling android.view.View.setBackgroundColor.

Parameters
@IdRes int viewId

The id of the target view

@ColorRes int resId

A color resource for the background.

RemoteViewsCompatKt.setViewBackgroundResource

public static final void RemoteViewsCompatKt.setViewBackgroundResource(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DrawableRes int resId
)

Equivalent to calling android.view.View.setBackgroundResource.

Parameters
@IdRes int viewId

The id of the target view

@DrawableRes int resId

The identifier of the resource, or 0 to remove the background.

RemoteViewsCompatKt.setViewBackgroundTintBlendMode

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setViewBackgroundTintBlendMode(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    BlendMode blendMode
)

Equivalent to calling android.view.View.setBackgroundTintList.

Parameters
@IdRes int viewId

The id of the target view

BlendMode blendMode

The blending mode used to apply the tint, may be null to clear.

RemoteViewsCompatKt.setViewBackgroundTintList

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setViewBackgroundTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorRes int resId
)

Equivalent to calling android.view.View.setBackgroundTintList.

Parameters
@IdRes int viewId

The id of the target view

@ColorRes int resId

The resource id of the tint to apply.

RemoteViewsCompatKt.setViewBackgroundTintList

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setViewBackgroundTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    ColorStateList tint
)

Equivalent to calling android.view.View.setBackgroundTintList.

Parameters
@IdRes int viewId

The id of the target view

ColorStateList tint

The tint to apply, may be null to clear tint

RemoteViewsCompatKt.setViewBackgroundTintList

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setViewBackgroundTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    ColorStateList notNightTint,
    ColorStateList nightTint
)

Equivalent to calling android.view.View.setBackgroundTintList.

Parameters
@IdRes int viewId

The id of the target view

ColorStateList notNightTint

The tint to apply when the UI is not in night mode.

ColorStateList nightTint

The tint to apply when the UI is in night mode.

RemoteViewsCompatKt.setViewBackgroundTintListAttr

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setViewBackgroundTintListAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.view.View.setBackgroundTintList.

Parameters
@IdRes int viewId

The id of the target view

@AttrRes int resId

The attribute of the tint to apply.

RemoteViewsCompatKt.setViewClipToOutline

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setViewClipToOutline(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    boolean clipToOutline
)

Equivalent to calling android.view.View.setClipToOutline.

Parameters
@IdRes int viewId

The id of the target view

boolean clipToOutline

Whether the View's Outline should be used to clip the contents of the View.

RemoteViewsCompatKt.setViewContentDescription

public static final void RemoteViewsCompatKt.setViewContentDescription(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    CharSequence contentDescription
)

Equivalent to calling android.view.View.setContentDescription.

Parameters
@IdRes int viewId

The id of the target view

CharSequence contentDescription

The content description.

RemoteViewsCompatKt.setViewContentDescription

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setViewContentDescription(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @StringRes int resId
)

Equivalent to calling android.view.View.setContentDescription.

Parameters
@IdRes int viewId

The id of the target view

@StringRes int resId

The resource id for the content description.

RemoteViewsCompatKt.setViewContentDescriptionAttr

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setViewContentDescriptionAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.view.View.setContentDescription.

Parameters
@IdRes int viewId

The id of the target view

@AttrRes int resId

The attribute id for the content description.

RemoteViewsCompatKt.setViewElevationDimen

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setViewElevationDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DimenRes int resId
)

Equivalent to calling android.view.View.setElevation.

Parameters
@IdRes int viewId

The id of the target view

@DimenRes int resId

The id of a dimension resource for the base elevation of this view.

RemoteViewsCompatKt.setViewElevationDimen

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setViewElevationDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float value,
    int unit
)

Equivalent to calling android.view.View.setElevation.

Parameters
@IdRes int viewId

The id of the target view

float value

The base elevation of this view.

int unit

The unit for value, e.g. android.util.TypedValue.COMPLEX_UNIT_DIP.

RemoteViewsCompatKt.setViewElevationDimenAttr

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setViewElevationDimenAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.view.View.setElevation.

Parameters
@IdRes int viewId

The id of the target view

@AttrRes int resId

The id of a dimension attribute for the base elevation of this view.

RemoteViewsCompatKt.setViewEnabled

@RequiresApi(value = 24)
public static final void RemoteViewsCompatKt.setViewEnabled(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    boolean enabled
)

Equivalent to calling android.view.View.setEnabled.

Note: setEnabled can only be called on TextView and its descendants from API 24, but is safe to call on other Views on older SDKs using RemoteViews.setBoolean directly.

Parameters
@IdRes int viewId

The id of the target view

boolean enabled

True if this view is enabled, false otherwise.

RemoteViewsCompatKt.setViewFocusable

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setViewFocusable(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    boolean focusable
)

Equivalent to calling android.view.View.setFocusable.

Parameters
@IdRes int viewId

The id of the target view

boolean focusable

If true, this view can receive the focus.

RemoteViewsCompatKt.setViewFocusable

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setViewFocusable(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int focusable
)

Equivalent to calling android.view.View.setFocusable.

Parameters
@IdRes int viewId

The id of the target view

int focusable

One of android.view.View.NOT_FOCUSABLE, android.view.View.FOCUSABLE, or android.view.View.FOCUSABLE_AUTO.

RemoteViewsCompatKt.setViewFocusableInTouchMode

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setViewFocusableInTouchMode(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    boolean focusableInTouchMode
)

Equivalent to calling android.view.View.setFocusableInTouchMode.

Parameters
@IdRes int viewId

The id of the target view

boolean focusableInTouchMode

If true, this view can receive the focus while in touch mode.

RemoteViewsCompatKt.setViewFocusedByDefault

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setViewFocusedByDefault(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    boolean isFocusedByDefault
)

Equivalent to calling android.view.View.setFocusedByDefault.

Parameters
@IdRes int viewId

The id of the target view

boolean isFocusedByDefault

true to set this view as the default-focus view, false otherwise.

RemoteViewsCompatKt.setViewForegroundTintBlendMode

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setViewForegroundTintBlendMode(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    BlendMode blendMode
)

Equivalent to calling android.view.View.setForegroundTintBlendMode.

Parameters
@IdRes int viewId

The id of the target view

BlendMode blendMode

The blending mode used to apply the tint, may be null to clear.

RemoteViewsCompatKt.setViewForegroundTintList

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setViewForegroundTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @ColorRes int resId
)

Equivalent to calling android.view.View.setForegroundTintList.

Parameters
@IdRes int viewId

The id of the target view

@ColorRes int resId

The resource id of the tint to apply.

RemoteViewsCompatKt.setViewForegroundTintList

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setViewForegroundTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    ColorStateList tint
)

Equivalent to calling android.view.View.setForegroundTintList.

Parameters
@IdRes int viewId

The id of the target view

ColorStateList tint

The tint to apply, may be null to clear tint

RemoteViewsCompatKt.setViewForegroundTintList

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setViewForegroundTintList(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    ColorStateList notNightTint,
    ColorStateList nightTint
)

Equivalent to calling android.view.View.setForegroundTintList.

Parameters
@IdRes int viewId

The id of the target view

ColorStateList notNightTint

The tint to apply when the UI is not in night mode.

ColorStateList nightTint

The tint to apply when the UI is in night mode.

RemoteViewsCompatKt.setViewForegroundTintListAttr

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setViewForegroundTintListAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.view.View.setForegroundTintList.

Parameters
@IdRes int viewId

The id of the target view

@AttrRes int resId

The attribute of the tint to apply.

RemoteViewsCompatKt.setViewLayoutDirection

@RequiresApi(value = 17)
public static final void RemoteViewsCompatKt.setViewLayoutDirection(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int layoutDirection
)

Equivalent to calling android.view.View.setLayoutDirection.

RemoteViewsCompatKt.setViewMinimumHeight

@RequiresApi(value = 24)
public static final void RemoteViewsCompatKt.setViewMinimumHeight(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @Px int minHeight
)

Equivalent to calling android.view.View.setMinimumHeight.

Parameters
@IdRes int viewId

The id of the target view

@Px int minHeight

The minimum height the view will try to be, in pixels.

RemoteViewsCompatKt.setViewMinimumHeight

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setViewMinimumHeight(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float value,
    int unit
)

Equivalent to calling android.widget.TextView.setMinimumHeight.

Parameters
@IdRes int viewId

The id of the target view

float value

The minimum height the view will try to be.

int unit

The unit for value, e.g. android.util.TypedValue.COMPLEX_UNIT_DIP.

RemoteViewsCompatKt.setViewMinimumHeightDimen

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setViewMinimumHeightDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DimenRes int resId
)

Equivalent to calling android.view.View.setMinimumHeight.

Parameters
@IdRes int viewId

The id of the target view

@DimenRes int resId

The id of a dimension resource for the minimum height the view will try to be.

RemoteViewsCompatKt.setViewMinimumHeightDimenAttr

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setViewMinimumHeightDimenAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.view.View.setMinimumHeight.

Parameters
@IdRes int viewId

The id of the target view

@AttrRes int resId

The id of a dimension attribute for the minimum height the view will try to be.

RemoteViewsCompatKt.setViewMinimumWidth

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setViewMinimumWidth(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float value,
    int unit
)

Equivalent to calling android.widget.TextView.setMinimumWidth.

Parameters
@IdRes int viewId

The id of the target view

float value

The minimum width the view will try to be.

int unit

The unit for value, e.g. android.util.TypedValue.COMPLEX_UNIT_DIP.

RemoteViewsCompatKt.setViewMinimumWidthDimen

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setViewMinimumWidthDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DimenRes int resId
)

Equivalent to calling android.view.View.setMinimumWidth.

Parameters
@IdRes int viewId

The id of the target view

@DimenRes int resId

The id of a dimension resource for the minimum width the view will try to be.

RemoteViewsCompatKt.setViewMinimumWidthDimenAttr

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setViewMinimumWidthDimenAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.view.View.setMinimumWidth.

Parameters
@IdRes int viewId

The id of the target view

@AttrRes int resId

The id of a dimension attribute for the minimum width the view will try to be.

RemoteViewsCompatKt.setViewPivotX

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setViewPivotX(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float pivotX
)

Equivalent to calling android.view.View.setPivotX.

Parameters
@IdRes int viewId

The id of the target view

float pivotX

The x location of the pivot point.

RemoteViewsCompatKt.setViewPivotY

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setViewPivotY(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float pivotY
)

Equivalent to calling android.view.View.setPivotY.

Parameters
@IdRes int viewId

The id of the target view

float pivotY

The y location of the pivot point.

RemoteViewsCompatKt.setViewRotation

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setViewRotation(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float rotation
)

Equivalent to calling android.view.View.setRotation.

Parameters
@IdRes int viewId

The id of the target view

float rotation

The degrees of rotation.

RemoteViewsCompatKt.setViewRotationX

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setViewRotationX(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float rotationX
)

Equivalent to calling android.view.View.setRotationX.

Parameters
@IdRes int viewId

The id of the target view

float rotationX

The degrees of X rotation.

RemoteViewsCompatKt.setViewRotationY

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setViewRotationY(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float rotationY
)

Equivalent to calling android.view.View.setRotationY.

Parameters
@IdRes int viewId

The id of the target view

float rotationY

The degrees of Y rotation.

RemoteViewsCompatKt.setViewScaleX

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setViewScaleX(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float scaleX
)

Equivalent to calling android.view.View.setScaleX.

Parameters
@IdRes int viewId

The id of the target view

float scaleX

The scaling factor.

RemoteViewsCompatKt.setViewScaleY

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setViewScaleY(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float scaleY
)

Equivalent to calling android.view.View.setScaleY.

Parameters
@IdRes int viewId

The id of the target view

float scaleY

The scaling factor.

RemoteViewsCompatKt.setViewScrollIndicators

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setViewScrollIndicators(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int scrollIndicators
)

Equivalent to calling android.view.View.setScrollIndicators.

Parameters
@IdRes int viewId

The id of the target view

int scrollIndicators

A bitmask of indicators that should be enabled, or 0 to disable all indicators.

RemoteViewsCompatKt.setViewStateDescription

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setViewStateDescription(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @StringRes int resId
)

Equivalent to calling android.view.View.setStateDescription.

Parameters
@IdRes int viewId

The id of the target view

@StringRes int resId

The resource id for the state description.

RemoteViewsCompatKt.setViewStateDescription

@RequiresApi(value = 30)
public static final void RemoteViewsCompatKt.setViewStateDescription(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    CharSequence stateDescription
)

Equivalent to calling android.view.View.setStateDescription.

Parameters
@IdRes int viewId

The id of the target view

CharSequence stateDescription

The state description.

RemoteViewsCompatKt.setViewStateDescriptionAttr

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setViewStateDescriptionAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.view.View.setStateDescription.

Parameters
@IdRes int viewId

The id of the target view

@AttrRes int resId

The attribute id for the state description.

RemoteViewsCompatKt.setViewStubInflatedId

@RequiresApi(value = 16)
public static final void RemoteViewsCompatKt.setViewStubInflatedId(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    int inflatedId
)

Equivalent to calling android.view.ViewStub.setInflatedId.

Note that ViewStub may be used in RemoteViews layouts as of API 16.

Parameters
@IdRes int viewId

The id of the target view

int inflatedId

A positive integer used to identify the inflated view or android.view.View.NO_ID if the inflated view should keep its id.

RemoteViewsCompatKt.setViewStubLayoutResource

@RequiresApi(value = 16)
public static final void RemoteViewsCompatKt.setViewStubLayoutResource(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @LayoutRes int layoutResource
)

Equivalent to calling android.view.ViewStub.setLayoutResource.

Note that ViewStub may be used in RemoteViews layouts as of API 16.

Parameters
@IdRes int viewId

The id of the target view

@LayoutRes int layoutResource

A valid layout resource identifier (different from 0).

RemoteViewsCompatKt.setViewTranslationXDimen

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setViewTranslationXDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DimenRes int resId
)

Equivalent to calling android.view.View.setTranslationX.

Parameters
@IdRes int viewId

The id of the target view

@DimenRes int resId

The id of a dimension resource for the horizontal position of this view relative to its left position.

RemoteViewsCompatKt.setViewTranslationXDimen

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setViewTranslationXDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float value,
    int unit
)

Equivalent to calling android.widget.TextView.setTranslationX.

Parameters
@IdRes int viewId

The id of the target view

float value

The horizontal position of this view relative to its left position.

int unit

The unit for value, e.g. android.util.TypedValue.COMPLEX_UNIT_DIP.

RemoteViewsCompatKt.setViewTranslationXDimenAttr

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setViewTranslationXDimenAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.view.View.setTranslationX.

Parameters
@IdRes int viewId

The id of the target view

@AttrRes int resId

The id of a dimension attribute for the horizontal position of this view relative to its left position.

RemoteViewsCompatKt.setViewTranslationYDimen

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setViewTranslationYDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DimenRes int resId
)

Equivalent to calling android.view.View.setTranslationY.

Parameters
@IdRes int viewId

The id of the target view

@DimenRes int resId

The id of a dimension resource for the vertical position of this view relative to its top position.

RemoteViewsCompatKt.setViewTranslationYDimen

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setViewTranslationYDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float value,
    int unit
)

Equivalent to calling android.widget.TextView.setTranslationY.

Parameters
@IdRes int viewId

The id of the target view

float value

The vertical position of this view relative to its top position.

int unit

The unit for value, e.g. android.util.TypedValue.COMPLEX_UNIT_DIP.

RemoteViewsCompatKt.setViewTranslationYDimenAttr

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setViewTranslationYDimenAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.view.View.setTranslationY.

Parameters
@IdRes int viewId

The id of the target view

@AttrRes int resId

The id of a dimension attribute for the vertical position of this view relative to its top position.

RemoteViewsCompatKt.setViewTranslationZDimen

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setViewTranslationZDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @DimenRes int resId
)

Equivalent to calling android.view.View.setTranslationZ.

Parameters
@IdRes int viewId

The id of the target view

@DimenRes int resId

The id of a dimension resource for the depth of this view relative to its elevation.

RemoteViewsCompatKt.setViewTranslationZDimen

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setViewTranslationZDimen(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    float value,
    int unit
)

Equivalent to calling android.widget.TextView.setTranslationZ.

Parameters
@IdRes int viewId

The id of the target view

float value

The depth of this view relative to its elevation.

int unit

The unit for value, e.g. android.util.TypedValue.COMPLEX_UNIT_DIP.

RemoteViewsCompatKt.setViewTranslationZDimenAttr

@RequiresApi(value = 31)
public static final void RemoteViewsCompatKt.setViewTranslationZDimenAttr(
    @NonNull RemoteViews receiver,
    @IdRes int viewId,
    @AttrRes int resId
)

Equivalent to calling android.view.View.setTranslationZ.

Parameters
@IdRes int viewId

The id of the target view

@AttrRes int resId

The id of a dimension attribute for the depth of this view relative to its elevation.