Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Example Gallery

This page highlights the examples that exist in the current repository.

Best First Paths

  1. Quick Start
  2. android_phone
  3. widgets_controls
  4. widgets_inputs
  5. responsive_layout_test

Screen UI

ExampleUse this forCommand
android_phoneA complete mobile-style screen.cargo run --manifest-path android/android_phone_app/Cargo.toml
responsive_layout_testResponsive screen composition.cargo run --example responsive_layout_test
z_order_hierarchyVisual ordering and stacking checks.cargo run --example z_order_hierarchy

Layout

ExampleUse this forCommand
layout_flexFlex layout.cargo run --example layout_flex
layout_masonryMasonry layout.cargo run --example layout_masonry
layout_stackStack layout.cargo run --example layout_stack
layout_radialRadial layout.cargo run --example layout_radial
grid_columnsGrid columns.cargo run --example grid_columns
grid_tracksGrid tracks.cargo run --example grid_tracks
grid_auto_flowGrid auto-flow.cargo run --example grid_auto_flow
grid_item_placementExplicit grid item placement.cargo run --example grid_item_placement

Widgets

ExampleUse this forCommand
widgets_controlsButtons, toggles, checkboxes, and radio controls.cargo run --example widgets_controls
widgets_inputsText fields, select, drag-value, and seek-bar inputs.cargo run --example widgets_inputs
widgets_displayText, badges, dividers, panels, and progress display.cargo run --example widgets_display
widgets_containersPanel windows and scroll containers.cargo run --example widgets_containers
toggle_seekbarA compact toggle and seek-bar scene.cargo run --example toggle_seekbar