<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<floater
 background_visible="true"
 height="355"
 help_topic="floater_im_box"
 layout="topleft"
 name="panel_im"
 can_dock="false"
 can_minimize="true"
 can_close="true"
 save_rect="true"
 visible="false"
 width="394"
 can_resize="true"
 can_tear_off="false"
 min_height="190"
 positioning="relative">
    <floater.string name="call_btn_start">Conv_toolbar_open_call</floater.string>
    <floater.string name="call_btn_stop">Conv_toolbar_hang_up</floater.string>
    <floater.string
     name="collapseline_icon"
     value="Conv_collapse_to_one_line"/>
    <floater.string
     name="expandline_icon"
     value="Conv_expand_one_line"/>
    <floater.string
     name="collapse_icon"
     value="Conv_toolbar_collapse"/>
    <floater.string
     name="expand_icon"
     value="Conv_toolbar_expand"/>
    <floater.string
     name="tear_off_icon"
     value="Conv_toolbar_arrow_ne"/>
    <floater.string
     name="return_icon"
     value="Conv_toolbar_arrow_sw"/>
    <floater.string
     name="participant_added"
     value="[NAME] was invited to the conversation."/>
    <floater.string
     name="multiple_participants_added"
     value="[NAME] were invited to the conversation."/>
    <floater.string
     name="tooltip_to_separate_window"
     value="Move this conversation to a separate window"/>
    <floater.string
     name="tooltip_to_main_window"
     value="Move this conversation back to main window"/>
    <floater.string
     name="start_call_button_tooltip"
     value="Open voice connection"/>
    <floater.string
     name="end_call_button_tooltip"
     value="Close voice connection"/>
    <floater.string
     name="expcol_button_not_tearoff_tooltip"
     value="Collapse this pane"/>
    <floater.string
     name="expcol_button_tearoff_and_expanded_tooltip"
     value="Collapse participant list"/>
    <floater.string
     name="expcol_button_tearoff_and_collapsed_tooltip"
     value="Expand participant list"/>
    <view
     follows="all"
     layout="topleft"
     name="contents_view"
     top="0"
     left="0"
     right="-1"
     bottom="-1">
        <layout_stack
         animate="false" 
         bottom="-1"
         default_tab_group="2"
         follows="all"
         left="3"
         layout="topleft"
         name="main_stack"
         right="-3"
         orientation="vertical"
         tab_group="1"
         top="0">
            <layout_panel
             auto_resize="false"
             name="toolbar_panel"
             height="25">
                <menu_button
                 menu_filename="menu_im_session_showmodes.xml"
                 follows="top|left"
                 height="25"
                 image_hover_unselected="Toolbar_Middle_Over"
                 image_overlay="Conv_toolbar_sort"
                 image_selected="Toolbar_Middle_Selected"
                 image_unselected="Toolbar_Middle_Off"
                 layout="topleft"
                 left="5"
                 name="view_options_btn"
                 tool_tip="View/sort options"
                 top="1"
                 width="31" />
                <menu_button
                 menu_filename="menu_im_conversation.xml"
                 follows="top|left"
                 height="25"
                 image_hover_unselected="Toolbar_Middle_Over"
                 image_overlay="OptionsMenu_Off"
                 image_selected="Toolbar_Middle_Selected"
                 image_unselected="Toolbar_Middle_Off"
                 layout="topleft"
                 top="1"
                 left_pad="2"
                 name="gear_btn"
                 visible="false"
                 tool_tip="Actions on selected person"
                 width="31"/>
                <button
                 enabled="false"
                 follows="top|left"
                 height="25"
                 image_hover_unselected="Toolbar_Middle_Over"
                 image_overlay="Conv_toolbar_add_person"
                 image_selected="Toolbar_Middle_Selected"
                 image_unselected="Toolbar_Middle_Off"
                 layout="topleft"
                 top="1"
                 left_pad="2"
                 name="add_btn"
                 tool_tip="Add someone to this conversation"
                 width="31"/>
                <button
                 follows="top|left"
                 height="25"
                 image_hover_unselected="Toolbar_Middle_Over"
                 image_overlay="Conv_toolbar_open_call"
                 image_selected="Toolbar_Middle_Selected"
                 image_unselected="Toolbar_Middle_Off"
                 layout="topleft"
                 top="1"
                 left_pad="2"
                 name="voice_call_btn"
                 tool_tip="Open voice connection"
                 width="31"/>                
                <button
                 follows="right|top"
                 height="25"
                 image_hover_unselected="Toolbar_Middle_Over"
                 image_overlay="Conv_toolbar_close"
                 image_selected="Toolbar_Middle_Selected"
                 image_unselected="Toolbar_Middle_Off"
                 layout="topleft"
                 top="1"
                 right="-70"
                 name="close_btn"
                 tool_tip="End this conversation"
                 width="31" />
                <button
                 follows="right|top"
                 height="25"
                 image_hover_unselected="Toolbar_Middle_Over"
                 image_overlay="Conv_toolbar_collapse"
                 image_selected="Toolbar_Middle_Selected"
                 image_unselected="Toolbar_Middle_Off"
                 layout="topleft"
                 top="1"
                 left_pad="2"
                 name="expand_collapse_btn"
                 tool_tip="Collapse/Expand this pane"
                 width="31" />
                <button
                 follows="right|top"
                 height="25"
                 image_hover_unselected="Toolbar_Middle_Over"
                 image_overlay="Conv_toolbar_arrow_ne"
                 image_selected="Toolbar_Middle_Selected"
                 image_unselected="Toolbar_Middle_Off"
                 layout="topleft"
                 left_pad="2"
                 name="tear_off_btn"
                 top="1"
                 width="31" />
            </layout_panel>
            <layout_panel
             name="body_panel"
             height="235">
                <layout_stack
                 default_tab_group="2"
                 drag_handle_gap="6"
                 drag_handle_first_indent="0"
                 drag_handle_second_indent="1"
                 follows="all"
                 orientation="horizontal"
                 name="im_panels"
                 show_drag_handle="true"
                 tab_group="1"
                 top="0"
                 right="-1"
                 bottom="-1"
                 left="0">
                    <layout_panel
                     name="speakers_list_panel"
                     expanded_min_dim="115"
                     min_dim="0"
                     width="150" 
                     user_resize="true"
                     auto_resize="false" />
                    <layout_panel
                     default_tab_group="3"
                     tab_group="2"
                     name="right_part_holder"
                     min_width="207">
                        <layout_stack
                         animate="true" 
                         follows="all"
                         orientation="vertical"
                         name="translate_and_chat_stack"
                         tab_group="1"
                         top="0"
                         left="1"
                         right="-1"
                         bottom="-1">
                            <layout_panel
                             auto_resize="false"
                             height="26"
                             name="translate_chat_checkbox_lp">
                                <check_box
                                 top="10"
                                 control_name="TranslateChat"
                                 enabled="true"
                                 height="16"
                                 label="Translate chat"
                                 left="5"
                                 name="translate_chat_checkbox"
                                 width="230" />
                            </layout_panel>
                            <layout_panel
                             name="chat_holder">
                                <chat_history
                                 font="SansSerifSmall"
                                 follows="all"
                                 name="chat_history"
                                 parse_highlights="true"
                                 parse_urls="true"
                                 right="-1"
                                 left="0"
                                 top="0"
                                 bottom="-1" />
                            </layout_panel>
                        </layout_stack>
                    </layout_panel>
                </layout_stack>
            </layout_panel>
            <layout_panel
             height="35"
             auto_resize="false"
             name="chat_layout_panel">
                <layout_stack
                 animate="false"
                 default_tab_group="2"
                 follows="all"
                 orientation="horizontal"
                 name="input_panels"
                 top="0"
                 bottom="-1"
                 left="0"
                 right="-1">
                    <layout_panel
                     name="input_editor_layout_panel">
                        <avatar_icon
                         follows="left|bottom"
                         name="avatar_icon"
                         height="20"
                         default_icon_name="Generic_Person"
                         layout="topleft"
                         left="3"
                         bottom="-9"
                         visible="false"
                         width="20" />
                        <group_icon
                         follows="left|bottom"
                         name="group_chat_icon"
                         height="20"
                         default_icon_name="Generic_Group"
                         layout="topleft"
                         left="3"
                         bottom="-9"
                         visible="false"
                         width="20" />
                        <icon
                         follows="left|bottom"
                         height="20"
                         image_name="Nearby_chat_icon"
                         layout="topleft"
                         left="3"
                         bottom="-9"
                         name="nearby_chat_icon"
                         visible="false"
                         width="20"/>
                        <chat_editor
                         layout="topleft"
                         expand_lines_count="5"
                         follows="left|right|bottom"
                         font="SansSerifSmall"
                         height="20"    
                         is_expandable="true"
                         text_tentative_color="TextFgTentativeColor"
                         name="chat_editor"
                         max_length="1023"
                         spellcheck="true"
                         tab_group="3"
                         bottom="-8"
                         left_pad="5"
                         right="-5"
                         wrap="true" />
                    </layout_panel>
                    <layout_panel
                     auto_resize="false"
                     name="input_button_layout_panel"
                     width="32">
                        <button
                         left="1"
                         top="4"
                         height="25"
                         follows="left|right|top"
                         image_hover_unselected="Toolbar_Middle_Over"
                         image_overlay="Conv_expand_one_line"
                         image_selected="Toolbar_Middle_Selected"
                         image_unselected="Toolbar_Middle_Off"
                         name="minz_btn"
                         tool_tip="Shows/hides message panel"
                         width="28" />
                    </layout_panel>
                </layout_stack>
            </layout_panel>
        </layout_stack>
    </view>
</floater>
