PageRenderTime 487ms CodeModel.GetById 232ms app.highlight 80ms RepoModel.GetById 167ms app.codeStats 1ms

/theme/default/keyboard.xml

http://ftk.googlecode.com/
XML | 110 lines | 106 code | 4 blank | 0 comment | 0 complexity | e6a11152eb81fabe37caaafad7e9dfc0 MD5 | raw file
  1<keyboard min_width="240" min_height="160" views="2">
  2<view rows="5" bg="key_board_bg.png" cell_bg_image[normal]="key_board_btn_normal.png" 
  3	cell_bg_image[active]="key_board_btn_active.png">
  4	<row cols="3" height_weight="10">
  5		<cell text="" action="candidate(prev)" width_weight="1" 
  6			icon="key_board_arrow_left.png"/>
  7		<cell text=""  action="candidate(text)" width_weight="8" 
  8			bg_image[normal]="key_board_candidates_area_bg.png" 
  9			bg_image[active]="key_board_candidate_hl_bg.png" />
 10		<cell text="" action="candidate(next)" width_weight="1"
 11			icon="key_board_arrow_right.png"/>
 12	</row>
 13	
 14	<row cols="10" height_weight="10">
 15		<cell text="Q" action="send_key(Q)" width_weight="1"/>
 16		<cell text="W" action="send_key(W)" width_weight="1"/>
 17		<cell text="E" action="send_key(E)" width_weight="1"/>
 18		<cell text="R" action="send_key(R)" width_weight="1"/>
 19		<cell text="T" action="send_key(T)" width_weight="1"/>
 20		<cell text="Y" action="send_key(Y)" width_weight="1"/>
 21		<cell text="U" action="send_key(U)" width_weight="1"/>
 22		<cell text="I" action="send_key(I)" width_weight="1"/>
 23		<cell text="O" action="send_key(O)" width_weight="1"/>
 24		<cell text="P" action="send_key(P)" width_weight="1"/>
 25	</row>
 26	<row cols="9" height_weight="10">
 27		<cell text="A" action="send_key(A)" width_weight="1"/>
 28		<cell text="S" action="send_key(S)" width_weight="1"/>
 29		<cell text="D" action="send_key(D)" width_weight="1"/>
 30		<cell text="F" action="send_key(F)" width_weight="1"/>
 31		<cell text="G" action="send_key(G)" width_weight="1"/>
 32		<cell text="H" action="send_key(H)" width_weight="1"/>
 33		<cell text="J" action="send_key(J)" width_weight="1"/>
 34		<cell text="K" action="send_key(K)" width_weight="1"/>
 35		<cell text="L" action="send_key(L)" width_weight="1"/>
 36	</row>
 37	<row cols="8" height_weight="10">
 38		<cell text="Z" action="send_key(Z)" width_weight="1"/>
 39		<cell text="X" action="send_key(X)" width_weight="1"/>
 40		<cell text="C" action="send_key(C)" width_weight="1"/>
 41		<cell text="V" action="send_key(V)" width_weight="1"/>
 42		<cell text="B" action="send_key(B)" width_weight="1"/>
 43		<cell text="N" action="send_key(N)" width_weight="1"/>
 44		<cell text="M" action="send_key(M)" width_weight="1"/>
 45		<cell text="" action="send_key(BACKSPACE)" width_weight="1" icon="key_board_delete.png"/>
 46	</row>
 47	<row cols="5" height_weight="10">
 48		<cell text="ZH" action="switch_view(1,-1)" width_weight="1"/>
 49		<cell text="123." action="switch_view(1)" width_weight="1"/>
 50		<cell text=" " action="send_key( )" width_weight="1" icon="key_board_space.png"/>
 51		<cell text="" action="switch_view(1)" width_weight="1" icon="key_board_shift_off.png"/>
 52		<cell text="" action="send_key(ENTER)" width_weight="1" icon="key_board_enter.png"/>
 53	</row>
 54</view>
 55
 56<view rows="5" bg="key_board_bg.png" cell_bg_image[normal]="key_board_btn_normal.png" 
 57	cell_bg_image[active]="key_board_btn_active.png">
 58	<row cols="3" height_weight="10">
 59		<cell text="" action="candidate(prev)" width_weight="1" 
 60			icon="key_board_arrow_left.png"/>
 61		<cell text=""  action="candidate(text)" width_weight="8" 
 62			bg_image[normal]="key_board_candidates_area_bg.png" 
 63			bg_image[active]="key_board_candidate_hl_bg.png" />
 64		<cell text="" action="candidate(next)" width_weight="1"
 65			icon="key_board_arrow_right.png"/>
 66	</row>
 67	
 68	<row cols="10" height_weight="10">
 69		<cell text="q" action="send_key(q)" width_weight="1"/>
 70		<cell text="w" action="send_key(w)" width_weight="1"/>
 71		<cell text="e" action="send_key(e)" width_weight="1"/>
 72		<cell text="r" action="send_key(r)" width_weight="1"/>
 73		<cell text="t" action="send_key(t)" width_weight="1"/>
 74		<cell text="y" action="send_key(y)" width_weight="1"/>
 75		<cell text="u" action="send_key(u)" width_weight="1"/>
 76		<cell text="i" action="send_key(i)" width_weight="1"/>
 77		<cell text="o" action="send_key(o)" width_weight="1"/>
 78		<cell text="p" action="send_key(p)" width_weight="1"/>
 79	</row>
 80	<row cols="9" height_weight="10">
 81		<cell text="a" action="send_key(a)" width_weight="1"/>
 82		<cell text="s" action="send_key(s)" width_weight="1"/>
 83		<cell text="d" action="send_key(d)" width_weight="1"/>
 84		<cell text="f" action="send_key(f)" width_weight="1"/>
 85		<cell text="g" action="send_key(g)" width_weight="1"/>
 86		<cell text="h" action="send_key(h)" width_weight="1"/>
 87		<cell text="j" action="send_key(j)" width_weight="1"/>
 88		<cell text="k" action="send_key(k)" width_weight="1"/>
 89		<cell text="l" action="send_key(l)" width_weight="1"/>
 90	</row>
 91	<row cols="10" height_weight="10">
 92		<cell text="z" action="send_key(z)" width_weight="1"/>
 93		<cell text="x" action="send_key(x)" width_weight="1"/>
 94		<cell text="c" action="send_key(c)" width_weight="1"/>
 95		<cell text="v" action="send_key(v)" width_weight="1"/>
 96		<cell text="b" action="send_key(b)" width_weight="1"/>
 97		<cell text="n" action="send_key(n)" width_weight="1"/>
 98		<cell text="m" action="send_key(m)" width_weight="1"/>
 99		<cell text="" action="send_key(BACKSPACE)" width_weight="1" icon="key_board_delete.png"/>
100	</row>
101	<row cols="5" height_weight="10">
102		<cell text="EN" action="switch_view(0,0)" width_weight="1"/>
103		<cell text="123." action="switch_view(1)" width_weight="1"/>
104		<cell text=" " action="send_key( )" width_weight="1" icon="key_board_space.png"/>
105		<cell text="" action="switch_view(0)" width_weight="1" icon="key_board_shift_off.png"/>
106		<cell text="" action="send_key(ENTER)" width_weight="1" icon="key_board_enter.png"/>
107	</row>
108</view>
109</keyboard>
110