Added : RidesrScreen, ToolBar
Riders list is now populated with JSON TODO : resize list and tolbar
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
package view;
|
||||
|
||||
import feathers.layout.VerticalLayout;
|
||||
import feathers.controls.ScrollContainer;
|
||||
|
||||
class RidersScreen extends ScrollContainer {
|
||||
|
||||
private var tb:ToolBar;
|
||||
private var rl:RidersList;
|
||||
|
||||
public function new() {
|
||||
super();
|
||||
}
|
||||
|
||||
override private function initialize():Void {
|
||||
super.initialize();
|
||||
|
||||
var vl:VerticalLayout = new VerticalLayout();
|
||||
vl.verticalAlign = TOP;
|
||||
layout = vl;
|
||||
|
||||
tb = new ToolBar();
|
||||
addChild(tb);
|
||||
|
||||
rl = new RidersList();
|
||||
addChild(rl);
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user