<?xml version="1.0" encoding="utf-8"?>
<window size="-2,-1" layout="vbox" interval="10" padding="0,0,0,20">
  <window size="-2,-1" layout="hbox" gravity="center">
    <text inset="10,5,5,5">@string/cfg_habit</text>
    <hr width="-2" height="1"></hr>
  </window>
  <window size="-2,-1" layout="vbox" interval="10" padding_left="50">
    <window size="-2,-1" layout="gridlayout" xGravity="left" yGravity="center" xInterval="20" yInterval="5" columnCount="2">
      <text >左Shift功能:</text>
      <text >右Shift功能:</text>
      <combobox size="150,30" name="cbx_left_shift_func" dropdown="1">
        <liststyle colorBkgnd="#ffffff" margin="1,1,1,1" colorBorder="@color/black"  font="size:16" />
        <items>
          <item text="无"/>
          <item text="输入法开关"/>
          <item text="临时拼音开关"/>
          <item text="选择第二重码"/>
          <item text="选择第三重码"/>
        </items>
      </combobox>
      <combobox size="150,30" name="cbx_right_shift_func" dropdown="1">
        <liststyle colorBkgnd="#ffffff" margin="1,1,1,1" colorBorder="@color/black"  font="size:16" />
        <items>
          <item text="无"/>
          <item text="输入法开关"/>
          <item text="临时拼音开关"/>
          <item text="选择第二重码"/>
          <item text="选择第三重码"/>
        </items>
      </combobox>
      <text >左Ctrl功能:</text>
      <text >右Ctrl功能:</text>
      <combobox size="150,30" name="cbx_left_ctrl_func" dropdown="1">
        <liststyle colorBkgnd="#ffffff" margin="1,1,1,1" colorBorder="@color/black"  font="size:16" />
        <items>
          <item text="无"/>
          <item text="输入法开关"/>
          <item text="临时拼音开关"/>
          <item text="选择第二重码"/>
          <item text="选择第三重码"/>
        </items>
      </combobox>
      <combobox size="150,30" name="cbx_right_ctrl_func" dropdown="1">
        <liststyle colorBkgnd="#ffffff" margin="1,1,1,1" colorBorder="@color/black"  font="size:16" />
        <items>
          <item text="无"/>
          <item text="输入法开关"/>
          <item text="临时拼音开关"/>
          <item text="选择第二重码"/>
          <item text="选择第三重码"/>
        </items>
      </combobox>
    </window>
    <text >启动状态:</text>
    <window size="-1,-1" layout="hbox" interval="10">
      <radio name="radio_init_ch" text="中文输入" tip="默认英文输入法适用"/>
      <radio name="radio_init_en" text="英文输入" tip="启程是默认输入法适用"/>
    </window>
    <window size="-2,-1" layout="gridlayout" xInterval="10" yInterval="10" columnCount="2" gravity="left">
      <text columnSpan="2" layout_gravity="left" text="形码状态回车:"/>
      <radio text="清除编码" id="120" name="enter_for_clear"/>
      <radio text="编码上屏" id="121" name="enter_for_input"/>
      <text columnSpan="2" layout_gravity="left" text="形码混合输入:"/>
      <check text="拼音" name="chk_blend_for_spell"/>
      <check text="自定义" name="chk_blend_for_userdef"/>
    </window>
    <window  layout="hbox">
      <text text="语句模式切换:" name="key_to_sentmode"/>
      <hotkey size="50dp,-1" name="hk_to_sentmode" extend_left="10" invalidSysKey="ctrl|alt|shift" invalidModifier="" padding="5,0,5,0"/>
    </window>
    <window  layout="vbox">
      <text text="重码上屏模式:"/>
      <window  layout="hbox">
        <radio  text="手动上屏" name="cand_manul_input"/>
        <radio  text="自动上屏" name="cand_auto_input"/>
        <radio  text="顶字上屏" name="cand_next_input"/>
      </window>
    </window>
    <check  text="拼音重码词组优先" name="cand_py_phrase_first"/>
    <check  text="禁用首码万能键" name="chk_disable_first_wild"/>
    <check  text="中文标点时使用全角空格" name="chk_full_space"/>
    <check  text="智能空格识别" name="chk_auto_space"/>
    <check  text="显示操作提示" name="chk_show_op_tip"/>
    <check  text="运行全屏程序时自动隐藏状态栏" name="chk_autoHideStatusForFullScreen"/>
    <check  text="UILess模式自动隐藏状态栏" name="chk_autoHideStatusForUILess"/>
    <check  text="当U模式输入为空时Back键退出U模式" name="chk_autoQuitUMode"/>
    <check  text="退出英文模式时自动退出大写状态" name="chk_autoQuitCAP"/>
    <group size="-2,-1" layout="vbox" text="嵌入编码设置" interval="10" align="left">
      <radio id="220" text="不使用Inline模式"/>
      <radio id="221" text="嵌入输入字符串"/>
      <radio id="222" text="嵌入第一个候选词"/>
      <radio id="223" text="候选唯一时嵌入候选词"/>
    </group>
    <window  layout="hbox" gravity="center">
      <text text="提示等待时间(秒)："/>
      <window size="-1,-1" class="edit_border" trackMouseEvent="1" layout="hbox" gravity="center">
        <edit size="40dp,25dp" name="edit_delay_time" margin-x="0" margin-y="0" notifyChange="1" readonly="1"/>
        <spinButton size="20dp,-2" max="5" min="1" value="4" buddy="edit_delay_time" name="spin_delay_time"/>
      </window>

    </window>
    <window layout="hbox" font="size:14">
      <text text="注意:" colorText="@color/red"/>
      <text text="关闭“操作提示”，关闭“联想”，关闭“语句联想”\n可以禁用提示等待" multiLines="1"/>
    </window>

    <window  layout="hbox" gravity="center">
      <text text="候选词数量[1-10]："/>
      <window size="-1,-1" class="edit_border" trackMouseEvent="1" layout="hbox" gravity="center">
        <edit size="40dp,25dp" name="edit_cand_num" margin-x="0" margin-y="0" notifyChange="1" readonly="1"/>
        <spinButton size="20dp,-2" max="10" min="1" value="10" buddy="edit_cand_num" name="spin_cand_num"/>
      </window>
    </window>

    <window  layout="gridlayout" size="-2,-1" gravity="fill" yInterval="10" xInterval="10" columnCount="2">
      <text text="字体：" rowSpan="2" layout_gravity="top"/>
      <edit name="edit_font" size="0,25dp" columnWeight="1" readonly="1"/>
      <window layout="hbox" interval="10">
        <button name="btn_change_font" text="更改" padding="10,5,10,5"/>
        <button name="btn_skin_font" text="默认字体" padding="10,5,10,5"/>
      </window>
    </window>
    <window  layout="hbox" size="-2,-1" yInterval="10" xInterval="10" gravity="center">
      <text text="第二字体："/>
      <edit name="edit_font2" size="0,25dp" weight="1" readonly="1" />
      <button name="btn_change_font2" text="选择" padding="10,5,10,5"/>
    </window>
  </window>
</window>