skb_template_qwerty_land.xml
7.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<?xml version="1.0" encoding="UTF-8"?>
<skb_template kb_width="100%p" kb_height="56.25%p"
key_xmargin="0.2084%p" key_ymargin="1.6667%p" balloon_bg="@drawable/balloon_bkg"
balloon_ratio_width="1.5f" balloon_ratio_height="1.5f" skb_bg="@drawable/keyboard_background">
<!-- Normal key -->
<key_type id="0" bg="@drawable/character_bkg" hlbg="@drawable/highlight_bkg" balloon_bg="@drawable/balloon_bkg"
text_color1="@color/color_normal" hltext_color1="@color/color_highlight"
bltext_color1="@color/color_balloon" text_size1="@dimen/qwerty_land_normalkey"
hltext_size1="@dimen/qwerty_land_normalkey" bltext_size1="@dimen/qwerty_land_normalkey_balloon"
need_balloon="true" />
<!-- Normal key support popup keyboard -->
<key_type id="1" bg="@drawable/character_bkg" hlbg="@drawable/highlight_bkg"
balloon_bg="@drawable/balloon_bkg" text_color1="@color/color_normal"
hltext_color1="@color/color_highlight" bltext_color1="@color/color_balloon"
text_size1="@dimen/qwerty_land_normalkey" hltext_size1="@dimen/qwerty_land_normalkey"
bltext_size1="@dimen/qwerty_land_normalkey_balloon" need_balloon="true" />
<!-- Function key -->
<key_type id="2" bg="@drawable/function_bkg" hlbg="@drawable/highlight_bkg" balloon_bg="@drawable/balloon_bkg"
text_color1="@color/color_function" hltext_color1="@color/color_highlight"
bltext_color1="@color/color_balloon" text_size1="@dimen/qwerty_land_functionkey"
hltext_size1="@dimen/qwerty_land_functionkey" bltext_size1="@dimen/qwerty_land_functionkey_balloon"
need_balloon="true" />
<!-- Function key support popup keyboard -->
<key_type id="3" bg="@drawable/function_bkg" hlbg="@drawable/highlight_bkg"
balloon_bg="@drawable/balloon_bkg" text_color1="@color/color_function"
hltext_color1="@color/color_highlight" bltext_color1="@color/color_balloon"
text_size1="@dimen/qwerty_land_functionkey" hltext_size1="@dimen/qwerty_land_functionkey"
bltext_size1="@dimen/qwerty_land_functionkey_balloon" need_balloon="true" />
<!-- Highlight Function key -->
<key_type id="4" bg="@drawable/highlight_bkg" hlbg="@drawable/highlight_bkg" balloon_bg="@drawable/balloon_bkg"
text_color1="@color/color_highlight" hltext_color1="@color/color_highlight"
bltext_color1="@color/color_balloon" text_size1="@dimen/qwerty_land_functionkey"
hltext_size1="@dimen/qwerty_land_functionkey" bltext_size1="@dimen/qwerty_land_functionkey_balloon"
need_balloon="true" />
<!-- Popup keyboard Normal key (symbol) -->
<key_type id="5" bg="@drawable/character_bkg" hlbg="@drawable/highlight_bkg"
text_color1="@color/color_normal" hltext_color1="@color/color_highlight"
bltext_color1="@color/color_balloon" text_size1="@dimen/qwerty_land_popupkey1"
hltext_size1="@dimen/qwerty_land_popupkey1" bltext_size1="@dimen/qwerty_land_popupkey1"
need_balloon="false" />
<!-- Popup keyboard Normal key (web)-->
<key_type id="6" bg="@drawable/character_bkg" hlbg="@drawable/highlight_bkg"
text_color1="@color/color_normal" hltext_color1="@color/color_highlight"
bltext_color1="@color/color_balloon" text_size1="@dimen/qwerty_land_popupkey2"
hltext_size1="@dimen/qwerty_land_popupkey2" bltext_size1="@dimen/qwerty_land_popupkey2"
need_balloon="false" />
<!-- .com key support popup keyboard -->
<key_type id="7" bg="@drawable/character_bkg" hlbg="@drawable/highlight_bkg"
balloon_bg="@drawable/balloon_bkg" text_color1="@color/color_normal"
hltext_color1="@color/color_highlight" bltext_color1="@color/color_balloon"
text_size1="@dimen/qwerty_land_normalkey" hltext_size1="@dimen/qwerty_land_normalkey"
bltext_size1="@dimen/qwerty_land_normalkey_balloon" need_balloon="true" />
<!-- smiley key -->
<key_type id="8" bg="@drawable/character_bkg" hlbg="@drawable/highlight_bkg"
balloon_bg="@drawable/balloon_bkg" text_color1="@color/color_normal" hltext_color1="@color/color_highlight"
bltext_color1="@color/color_balloon" text_size1="@dimen/qwerty_land_smileykey"
hltext_size1="@dimen/qwerty_land_smileykey" bltext_size1="@dimen/qwerty_land_smileykey_balloon"
need_balloon="true" />
<!-- smiley key (large smiley symbol), no use now-->
<key_type id="9" bg="@drawable/character_bkg" hlbg="@drawable/highlight_bkg"
balloon_bg="@drawable/balloon_bkg" text_color1="@color/color_normal" hltext_color1="@color/color_highlight"
bltext_color1="@color/color_balloon" text_size1="@dimen/qwerty_land_smileykey"
hltext_size1="@dimen/qwerty_land_smileykey" bltext_size1="@dimen/qwerty_land_smileykey_balloon"
need_balloon="true" />
<!-- Zhuyin normal key , no use now-->
<key_type id="10" bg="@drawable/character_bkg" hlbg="@drawable/highlight_bkg"
balloon_bg="@drawable/balloon_bkg" text_color1="@color/color_normal" hltext_color1="@color/color_highlight"
bltext_color1="@color/color_balloon" text_size1="@dimen/qwerty_land_smileykey"
hltext_size1="@dimen/qwerty_land_smileykey" bltext_size1="@dimen/qwerty_land_smileykey_balloon"
need_balloon="true" />
<!-- Function key - fullscreen handwriting & hide key-->
<key_type id="11" bg="@drawable/function_bkg" hlbg="@drawable/highlight_bkg"
text_color1="@color/color_function" hltext_color1="@color/color_highlight"
bltext_color1="@color/color_balloon" text_size1="@dimen/qwerty_land_functionkey"
hltext_size1="@dimen/qwerty_land_functionkey" bltext_size1="@dimen/qwerty_land_functionkey_balloon"
need_balloon="true" />
<!-- Function key - fullscreen handwriting support popup keyboard -->
<key_type id="12" bg="@drawable/function_bkg" hlbg="@drawable/highlight_bkg"
balloon_bg="@drawable/balloon_bkg" text_color1="@color/color_function"
hltext_color1="@color/color_highlight" bltext_color1="@color/color_balloon"
text_size1="@dimen/qwerty_land_functionkey" hltext_size1="@dimen/qwerty_land_functionkey"
bltext_size1="@dimen/qwerty_land_functionkey_balloon"
need_balloon="true" />
<!-- smart key with two type word, non-smart state -->
<key_type id="13" bg="@drawable/function_bkg" hlbg="@drawable/highlight_bkg"
balloon_bg="@drawable/balloon_bkg" balloon_bg_longpress="@drawable/balloon_bkg"
text_color1="@color/color_function" text_color2="@color/color_function"
hltext_color1="@color/color_highlight" hltext_color2="@color/color_highlight"
text_size1="@dimen/qwerty_land_functionkey" text_size2="@dimen/qwerty_land_functionkey"
hltext_size1="@dimen/qwerty_land_functionkey" hltext_size2="@dimen/qwerty_land_functionkey"
bltext_size1="@dimen/qwerty_land_functionkey_balloon"
main_regx="-8%p" main_regy="0%p" aux_regx="13%p" aux_regy="5%p"
balloon_ratio_width="1.4f" balloon_ratio_height="1.3f" need_balloon="true" />
<!-- smart key with two type word, smart state -->
<key_type id="14" bg="@drawable/function_bkg" hlbg="@drawable/highlight_bkg"
balloon_bg="@drawable/balloon_bkg" balloon_bg_longpress="@drawable/balloon_bkg"
text_color1="@color/color_highlight_smart_key" text_color2="@color/color_function"
hltext_color1="@color/color_highlight" hltext_color2="@color/color_highlight"
text_size1="@dimen/qwerty_land_functionkey" text_size2="@dimen/qwerty_land_functionkey"
hltext_size1="@dimen/qwerty_land_functionkey" hltext_size2="@dimen/qwerty_land_functionkey"
bltext_size1="@dimen/qwerty_land_functionkey_balloon"
main_regx="-8%p" main_regy="0%p" aux_regx="13%p" aux_regy="5%p"
balloon_ratio_width="1.4f" balloon_ratio_height="1.3f" need_balloon="true" />
</skb_template>