<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<floater
  can_close="true"
  can_dock="false"
  can_minimize="false"
  can_resize="false"
  height="252"
  layout="topleft"
  legacy_header_height="18"
  name="Toybox"
  positioning="centered"
  save_rect="true"
  single_instance="true"
  title="Toolbar Buttons"
  width="675">
  <text
    follows="left|top"
    font="SansSerifMedium"
    valign="top"
    halign="left"
    height="15"
    layout="topleft"
    left="15"
    length="1"
    name="toybox label 1"
    right="-15"
    top="20"
    type="string">
      Add or remove buttons by dragging them to or from the toolbars.
  </text>
  <text
    follows="left|top"
    font="SansSerifMedium"
    valign="top"
    halign="left"
    height="15"
    layout="topleft"
    left="15"
    length="1"
    name="toybox label 2"
    right="-15"
    top_pad="0"
    type="string">
      Buttons will appear as shown or as icon-only depending on each toolbar's settings.
  </text>
  <toolbar
    bottom="230"
    button_display_mode="icons_with_text"
    button_layout_mode="center"
    follows="all"
    left="15"
    button_icon_and_text.button_width.max="190"
    button_icon_and_text.button_width.min="24"
    name="toybox_toolbar"
    pad_left="0"
    pad_right="0"
    pad_top="1"
    pad_bottom="5"
    pad_between="3"
    read_only="true"
    right="-15"
    side="top"
    top_pad="0">
      <button_panel
      background_visible="false" />
      <button_icon_and_text
      image_unselected="PushButton_Off"
      image_selected="PushButton_Off"
      image_disabled_selected="PushButton_Disabled"
      image_disabled="PushButton_Disabled"
      label_color="ButtonLabelColor"
      label_color_selected="ButtonLabelColor"
      label_color_disabled="ButtonLabelDisabledColor"
      label_color_disabled_selected="ButtonLabelDisabledColor"
      image_color="ButtonImageColor"
      image_color_disabled="ButtonImageColor"
      flash_color="ButtonUnselectedFgColor"
      halign="center"
      hover_glow_amount="0.15"
      sound_flags="0"
      display_pressed_state="false" />
      <icon
      layout="topleft"
      height="28"
      width="15"
      follows="left|top"
      top="20"
      left="10"
      tab_stop="false" 
      visible="false"
      use_draw_context_alpha="false"
      image_name="Caret_Top_Icon"
      name="caret" />
    </toolbar>
  <panel
    bevel_style="none"
    border="true"
    bottom="216"
    follows="left|bottom|right"
    left="20"
    right="-20"
    top="216" />
  <button
    follows="left|bottom|right"
    height="23"
    label="Clear all toolbars"
    label_selected="Clear all toolbars"
    layout="topleft"
    left="145"
    name="btn_clear_all"
    top="223"
    width="180">
   <button.commit_callback function="Toybox.ClearAll" />
  </button>
  <button
    follows="left|bottom|right"
    height="23"
    label="Restore defaults"
    label_selected="Restore defaults"
    layout="topleft"
    left="335"
    name="btn_restore_defaults"
    top="223"
    width="180">
    <button.commit_callback function="Toybox.RestoreDefaults" />
  </button>
</floater>
