{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}
public class HardwareRendererCompat
Helper class that provides isDrawingEnabled and setDrawingEnabled functionality on emulator platforms that backported this functionality from a future android API.
Public constructors |
|
|---|---|
Public methods |
|
|---|---|
static boolean |
Call to |
static void |
setDrawingEnabled(boolean renderingEnabled)Call to |
public static boolean isDrawingEnabled()
Call to isDrawingEnabled
Will always return true if isDrawingEnabled does not exist on this platform.
public static void setDrawingEnabled(boolean renderingEnabled)
Call to setDrawingEnabled
Has no effective if this method does not exist on this platform.