|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.android.ide.common.rendering.api.Features
public class Features
List of features describing the LayoutLib capabilities.
Field Summary | |
---|---|
static int |
ACTION_BAR
Ability to render ActionBar. |
static int |
ADAPTER_BINDING
|
static int |
ANIMATED_VIEW_MANIPULATION
Ability to manipulate views with animation, as long as the view does not change parent. |
static int |
CUSTOM_BACKGROUND_COLOR
Ability to override the background of the rendering with transparency using RenderParams.setOverrideBgColor(int) |
static int |
EMBEDDED_LAYOUT
Ability to control embedded layout parsers through ILayoutPullParser.getParser(String) |
static int |
EXTENDED_VIEWINFO
|
static int |
FIXED_SCALABLE_NINE_PATCH
Ability to properly resize nine-patch assets. |
static int |
FULL_ANIMATED_VIEW_MANIPULATION
Ability to move views (even into a different ViewGroup) with animation. |
static int |
LAYOUT_ONLY
Ability to ask for a layout only with no rendering through SessionParams.setLayoutOnly() |
static int |
PLAY_ANIMATION
Ability to play animations with RenderSession.animate(Object, String, boolean, IAnimationListener) |
static int |
PREFERENCES_RENDERING
Ability to render preferences. |
static int |
RENDER
Ability to call RenderSession.render() and RenderSession.render(long) . |
static int |
RTL
Ability to render RTL layouts. |
static int |
SIMULATE_PLATFORM
Ability to simulate older Platform Versions. |
static int |
UNBOUND_RENDERING
Ability to render at full size, as required by the layout, and unbound by the screen |
static int |
VIEW_MANIPULATION
Ability to call RenderSession.insertChild(Object, ILayoutPullParser, int, IAnimationListener) RenderSession.moveChild(Object, Object, int, java.util.Map, IAnimationListener) RenderSession.setProperty(Object, String, String) The method that receives an animation listener can only use it if the ANIMATED_VIEW_MANIPULATION, or FULL_ANIMATED_VIEW_MANIPULATION is also supported. |
Constructor Summary | |
---|---|
Features()
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int UNBOUND_RENDERING
public static final int CUSTOM_BACKGROUND_COLOR
RenderParams.setOverrideBgColor(int)
public static final int RENDER
RenderSession.render()
and RenderSession.render(long)
.
public static final int LAYOUT_ONLY
SessionParams.setLayoutOnly()
public static final int EMBEDDED_LAYOUT
ILayoutPullParser.getParser(String)
public static final int VIEW_MANIPULATION
RenderSession.insertChild(Object, ILayoutPullParser, int, IAnimationListener)
RenderSession.moveChild(Object, Object, int, java.util.Map, IAnimationListener)
RenderSession.setProperty(Object, String, String)
public static final int PLAY_ANIMATION
RenderSession.animate(Object, String, boolean, IAnimationListener)
public static final int ANIMATED_VIEW_MANIPULATION
RenderSession.insertChild(Object, ILayoutPullParser, int, IAnimationListener)
RenderSession.moveChild(Object, Object, int, java.util.Map, IAnimationListener)
RenderSession.removeChild(Object, IAnimationListener)
public static final int FULL_ANIMATED_VIEW_MANIPULATION
RenderSession.moveChild(Object, Object, int, java.util.Map, IAnimationListener)
public static final int ADAPTER_BINDING
public static final int EXTENDED_VIEWINFO
public static final int FIXED_SCALABLE_NINE_PATCH
public static final int RTL
public static final int ACTION_BAR
public static final int SIMULATE_PLATFORM
public static final int PREFERENCES_RENDERING
Constructor Detail |
---|
public Features()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |