skb_template_phn_land.xml
5.87 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
<?xml version="1.0" encoding="UTF-8"?>
<skb_template key_xmargin="0.4167%p" key_ymargin="1.6667%p"
kb_width="100%p" kb_height="56.25%p" skb_bg="@drawable/keyboard_background"
balloon_ratio_width="1" balloon_ratio_height="1.5f">
<!-- Normal Key -->
<key_type id="0" bg="@drawable/character_bkg" hlbg="@drawable/highlight_bkg"
text_color1="@color/color_normal" hltext_color1="@color/color_highlight"
text_size1="@dimen/phn_land_normalkey" hltext_size1="@dimen/phn_land_normalkey"
need_balloon="false" />
<!--
Normal Key supporting popup keyboard (no balloon now, same as Normal key)
-->
<key_type id="1" bg="@drawable/character_bkg" hlbg="@drawable/highlight_bkg"
text_color1="@color/color_normal" hltext_color1="@color/color_highlight"
text_size1="@dimen/phn_land_normalkey" hltext_size1="@dimen/phn_land_normalkey"
need_balloon="false" />
<!-- Function key -->
<key_type id="2" bg="@drawable/function_bkg" hlbg="@drawable/highlight_bkg"
text_color1="@color/color_function" hltext_color1="@color/color_highlight"
text_size1="@dimen/phn_land_functionkey" hltext_size1="@dimen/phn_land_functionkey"
need_balloon="false" />
<!--
Function key supporting popup keyboard (no balloon now, same as Function key)
-->
<key_type id="3" bg="@drawable/function_bkg" hlbg="@drawable/highlight_bkg"
text_color1="@color/color_function" hltext_color1="@color/color_highlight"
text_size1="@dimen/phn_land_functionkey" hltext_size1="@dimen/phn_land_functionkey"
need_balloon="false" />
<!-- Highlight Function key -->
<key_type id="4" bg="@drawable/highlight_bkg" hlbg="@drawable/highlight_bkg"
text_color1="@color/color_highlight" hltext_color1="@color/color_highlight"
text_size1="@dimen/phn_land_functionkey" hltext_size1="@dimen/phn_land_functionkey"
need_balloon="false" />
<!-- Normal Key with two type word (num + alphabetic(>3)) -->
<key_type id="5" bg="@drawable/character_bkg" hlbg="@drawable/highlight_bkg"
text_asm="true" text_color1="@color/color_aux" text_color2="@color/color_normal"
hltext_color1="@color/color_highlight" hltext_color2="@color/color_highlight"
text_size1="@dimen/phn_land_doublewordkey_eng1" text_size2="@dimen/phn_land_doublewordkey_eng2"
hltext_size1="@dimen/phn_land_doublewordkey_eng1" hltext_size2="@dimen/phn_land_doublewordkey_eng2"
main_regx="0%p" main_regy="-27.5%p" aux_regx="0%p" aux_regy="10%p" need_balloon="false" />
<!-- Normal Key with two type word (num + symbol(=1)) -->
<key_type id="6" bg="@drawable/character_bkg" hlbg="@drawable/highlight_bkg"
text_asm="true" text_color1="@color/color_normal" text_color2="@color/color_aux"
hltext_color1="@color/color_highlight" hltext_color2="@color/color_highlight"
text_size1="@dimen/phn_land_doublewordkey_sym1" text_size2="@dimen/phn_land_doublewordkey_sym2"
hltext_size1="@dimen/phn_land_doublewordkey_sym1" hltext_size2="@dimen/phn_land_doublewordkey_sym2"
main_regx="-25%p" main_regy="0%p" aux_regx="12%p" aux_regy="5%p" need_balloon="false" />
<!-- Normal Key with two type word (zhuyin) -->
<key_type id="7" bg="@drawable/character_bkg" hlbg="@drawable/highlight_bkg"
text_asm="true" text_color1="@color/color_aux" text_color2="@color/color_normal"
hltext_color1="@color/color_highlight" hltext_color2="@color/color_highlight"
text_size1="@dimen/phn_land_doublewordkey_zhu1" text_size2="@dimen/phn_land_doublewordkey_zhu2"
hltext_size1="@dimen/phn_land_doublewordkey_zhu1" hltext_size2="@dimen/phn_land_doublewordkey_zhu2"
main_regx="0%p" main_regy="-27.5%p" aux_regx="0%p" aux_regy="10%p" need_balloon="false" />
<!-- Normal key with Zhuyin last row normal key-->
<key_type id="8" bg="@drawable/character_bkg" hlbg="@drawable/highlight_bkg"
text_color1="@color/color_normal" hltext_color1="@color/color_highlight"
text_size1="@dimen/phn_land_textsel_normalkey" hltext_size1="@dimen/phn_land_textsel_normalkey"
need_balloon="false" />
<!-- Normal Key with smiley keyboard -->
<key_type id="9" bg="@drawable/character_bkg" hlbg="@drawable/highlight_bkg"
text_color1="@color/color_normal" hltext_color1="@color/color_highlight"
text_size1="@dimen/phn_land_smileykey" hltext_size1="@dimen/phn_land_smileykey"
need_balloon="false" />
<!-- Normal Key no need balloon for space key -->
<key_type id="10" bg="@drawable/character_bkg" hlbg="@drawable/highlight_bkg"
text_color1="@color/color_normal" hltext_color1="@color/color_highlight"
text_size1="@dimen/phn_land_normalkey" hltext_size1="@dimen/phn_land_normalkey"
need_balloon="false" />
<!-- unclickable key for symbol phone number keyboard -->
<key_type id="11" bg="@drawable/disable_bkg" hlbg="@drawable/highlight_bkg"
text_color1="@color/color_unclickable" hltext_color1="@color/color_highlight"
text_size1="@dimen/phn_land_normalkey" hltext_size1="@dimen/phn_land_normalkey"
need_balloon="false" />
<!-- smart key with two type word, non-smart state -->
<key_type id="12" bg="@drawable/function_bkg" hlbg="@drawable/highlight_bkg"
text_color1="@color/color_function" text_color2="@color/color_function"
hltext_color1="@color/color_highlight" hltext_color2="@color/color_highlight"
text_size1="@dimen/phn_land_functionkey" text_size2="@dimen/phn_land_functionkey"
hltext_size1="@dimen/phn_land_functionkey" hltext_size2="@dimen/phn_land_functionkey"
main_regx="-5%p" main_regy="0%p" aux_regx="10%p" aux_regy="5%p" need_balloon="false" />
<!-- smart key with two type word, smart state -->
<key_type id="13" bg="@drawable/function_bkg" hlbg="@drawable/highlight_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/phn_land_functionkey" text_size2="@dimen/phn_land_functionkey"
hltext_size1="@dimen/phn_land_functionkey" hltext_size2="@dimen/phn_land_functionkey"
main_regx="-5%p" main_regy="0%p" aux_regx="10%p" aux_regy="5%p" need_balloon="false" />
</skb_template>