Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

ResourcesCompat.ThemeCompat

public static final class ResourcesCompat.ThemeCompat
extends Object

java.lang.Object
   ↳ androidx.core.content.res.ResourcesCompat.ThemeCompat


Provides backward-compatible implementations for new Resources.Theme APIs.

Summary

Public methods

static void rebase(Resources.Theme theme)

Rebases the theme against the parent Resource object's current configuration by re-applying the styles passed to Resources.Theme.applyStyle(int, boolean).

Inherited methods

Public methods

rebase

public static void rebase (Resources.Theme theme)

Rebases the theme against the parent Resource object's current configuration by re-applying the styles passed to Resources.Theme.applyStyle(int, boolean).

Compatibility behavior:

  • API 29 and above, this method matches platform behavior.
  • API 23 through 28, this method attempts to match platform behavior by calling into hidden platform APIs, but is not guaranteed to succeed.
  • API 22 and earlier, this method does nothing.

Parameters
theme Resources.Theme: the theme to rebase