This directory contains a simple application which embeds any number of views from other applications all tiled in a row. It also exposes a Presenter service so that if one of embedded applications launches another application, the launched application can present its View within the TileView.
The applications must implement the ViewProvider interface to be embedded.
Specify the urls of the views to embed initially as command-line arguments.
$ set_root_view fuchsia-pkg://fuchsia.com/tile_view#meta/tile_view.cmx <app1> <app2> ...
The following command-line options are also supported:
Orientation mode for child views:
--horizontal : tile children horizontally (default) --vertical : tile children vertically
$ set_root_view fuchsia-pkg://fuchsia.com/tile_view#meta/tile_view.cmx \ --horizontal \ fuchsia-pkg://fuchsia.com/spinning_square_view#meta/spinning_square_view.cmx \ fuchsia-pkg://fuchsia.com/shapes_view#meta/shapes_view.cmx