return "Flipbook Demo";
}
@Override protected Group createIface () {
final float width = width(), height = height();
ImmediateLayer bg = graphics().createImmediateLayer(new ImmediateLayer.Renderer() {
public void render (Surface surf) {
surf.setFillColor(0xFFCCCCCC);
surf.fillRect(0, 0, width, height);
}
});
bg.setDepth(-1);
layer.add(bg);
// test our simple frames
final GroupLayer box = graphics().createGroupLayer();
layer.addAt(box, 0, 100);