Overview
views_examples and views_examples_with_content are executable tools to
showcase all the Views components with some varied
styles. The latter has extra support for web_view as well.
How to build and run
views_examples
$ autoninja -C out/Default views_examples
$ out/Default/views_examples
views_examples_with_content
$ autoninja -C out/Default views_examples_with_content
$ out/Default/views_examples_with_content
Note: Both programs are available on all desktop platforms which support Views
toolkit, except views_examples is unavailable on Mac.
Optional args
To run programs but only with specific examples enabled:
<output_dir>/<program> [--enable-examples=<example1,[example2...]>]
To get help from the programs:
<output_dir>/<program> --help will print out the above usage info.
To list examples:
<output_dir>/<program> --enable-examples will print out all names of available
examples and execute as if all (the default) are specified.
How to use
After launching the executable, there is a list of all available examples to browse.

Use the scroll bar and select the example you'd like to browse. You can find how how these examples are created below in the examples section. Each example is linked to a corresponding source file with basic implementation details.
Contact the Views team if you have any questions.
Examples
The current available examples are listed below:
- Accessibility Features
- Animated Image View
- Badge
- Box Layout
- Bubble
- Button
- Button (Sticker Sheet)
- Checkbox
- Colored Dialog
- Colors
- Combo Box
- Designer
- Dialog
- Fade Animation
- Flex Layout
- FloodFill Ink Drop
- Label
- Link
- Login Bubble Dialog
- Menu
- Message Box View
- Multiline RenderText
- Notification
- Progress Bar
- Radio Button
- Scroll View
- Slider
- Square Ink Drop
- Tabbed Pane
- Table
- Text Styles
- Textarea
- Textfield
- Throbber
- Toggle Button
- Tree View
- Vector Icon
- Widget