public final class RenderParamsFlags
extends java.lang.Object
RenderParams#setFlag(Key, Object)
.
LayoutLib has its own copy of this class which may be newer or older than this one.
Constants should never be modified or removed from this class.
Modifier and Type | Field and Description |
---|---|
static com.android.ide.common.rendering.api.SessionParams.Key<java.lang.Boolean> |
FLAG_DO_NOT_RENDER_ON_CREATE
To tell LayoutLib to not render when creating a new session.
|
static com.android.ide.common.rendering.api.SessionParams.Key<java.lang.String> |
FLAG_KEY_APPLICATION_PACKAGE
The application package name.
|
static com.android.ide.common.rendering.api.SessionParams.Key<java.lang.Boolean> |
FLAG_KEY_DISABLE_BITMAP_CACHING |
static com.android.ide.common.rendering.api.SessionParams.Key<java.lang.Boolean> |
FLAG_KEY_RECYCLER_VIEW_SUPPORT
To tell LayoutLib that the IDE supports RecyclerView.
|
static com.android.ide.common.rendering.api.SessionParams.Key<java.lang.Boolean> |
FLAG_KEY_RENDER_ALL_DRAWABLE_STATES |
static com.android.ide.common.rendering.api.SessionParams.Key<java.lang.String> |
FLAG_KEY_ROOT_TAG |
static com.android.ide.common.rendering.api.SessionParams.Key<java.lang.Boolean> |
FLAG_KEY_XML_FILE_PARSER_SUPPORT
To tell LayoutLib that IDE supports providing XML Parser for a file (useful for getting in
memory contents of the file).
|
public static final com.android.ide.common.rendering.api.SessionParams.Key<java.lang.String> FLAG_KEY_ROOT_TAG
public static final com.android.ide.common.rendering.api.SessionParams.Key<java.lang.Boolean> FLAG_KEY_DISABLE_BITMAP_CACHING
public static final com.android.ide.common.rendering.api.SessionParams.Key<java.lang.Boolean> FLAG_KEY_RENDER_ALL_DRAWABLE_STATES
public static final com.android.ide.common.rendering.api.SessionParams.Key<java.lang.Boolean> FLAG_KEY_RECYCLER_VIEW_SUPPORT
Default is false.
public static final com.android.ide.common.rendering.api.SessionParams.Key<java.lang.String> FLAG_KEY_APPLICATION_PACKAGE
LayoutlibCallback#getFlag(Key)
public static final com.android.ide.common.rendering.api.SessionParams.Key<java.lang.Boolean> FLAG_KEY_XML_FILE_PARSER_SUPPORT
LayoutlibCallback#getFlag(Key)
public static final com.android.ide.common.rendering.api.SessionParams.Key<java.lang.Boolean> FLAG_DO_NOT_RENDER_ON_CREATE