-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
65 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -489,11 +489,8 @@ preset_keyboards: | |
__patch: | ||
- 单静.patch.星空助记:/preset_keyboards? | ||
|
||
flypy: | ||
__include: preset_keyboards/default | ||
|
||
pinyin_simp: | ||
name: 拼音 | ||
default: | ||
name: 默认26键 | ||
author: '单单 <[email protected]>' | ||
ascii_mode: 0 | ||
label_transform: uppercase | ||
|
@@ -648,16 +645,16 @@ preset_keyboards: | |
__patch: | ||
'keys/@33/long_click': Keyboard_default | ||
|
||
default: | ||
name: 默认26键 | ||
__include: preset_keyboards/pinyin_simp | ||
flypy: | ||
name: 二重 | ||
__include: preset_keyboards/default | ||
__patch: | ||
'keys/@21/composing': select_second | ||
'keys/@34/composing': '.' | ||
|
||
qwertys: | ||
name: 默认27键 | ||
__include: preset_keyboards/default | ||
__include: preset_keyboards/flypy | ||
__patch: | ||
'keys/@11/width': 0 | ||
'keys/@17/hint': ' ' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
|
||
style: | ||
# 候选区 | ||
## 候选 | ||
candidate_view_height: 28 #候选区高度 | ||
candidate_text_size: 18 #候选字号 | ||
## 编码 | ||
comment_on_top: false #编码提示在上方或右侧 | ||
comment_height: 16 #编码提示区高度 | ||
comment_text_size: 15 #编码提示字号 | ||
|
||
# 悬浮窗口 | ||
label_text_size: 16 #标签字号 | ||
text_size: 16 #编码区字号 | ||
|
||
window: #悬浮窗口组件 | ||
#- {start: "", move: 'ㄓ ', end: ""} | ||
- { start: ' ', composition: '%s', end: ' ', letter_spacing: 0 } #letter_spacing需要>=Android5.0。TODO: 不为0时,会导致不换行的问题 | ||
- { | ||
start: "", | ||
label: '%s', | ||
candidate: '%s', | ||
comment: '%s', | ||
end: '', | ||
sep: ' ', | ||
} | ||
layout: #悬浮窗口设置 | ||
# 整体样式 | ||
position: fixed #位置:left|right|left_up|right_up|fixed|bottom_left|bottom_right|top_left|top_right(left、right需要>=Android5.0) | ||
movable: false #是否可移动窗口,或仅移动一次 true|false|once | ||
spacing: -1 #与预编辑或边缘的距离 | ||
margin_x: 5 #水平边距 | ||
margin_y: 1 #竖直边距 | ||
border: 0 #边框宽度 | ||
round_corner: 2 #窗口圆角 | ||
elevation: 0 #阴影(>=Android5.0) | ||
alpha: 0xff #透明度(0-255) | ||
#background: background.png #颜色或者backgrounds目录下的图片文件名 | ||
# 样式 | ||
all_phrases: false #所有满足条件的词语都显示在窗口 | ||
min_length: 0 #最小词长 | ||
max_length: 80 #超过字数则换行 | ||
sticky_lines: 1 #固顶行数 | ||
max_entries: 1 #最大词条数 | ||
max_width: 350 #最大宽度,超过则自动换行 | ||
max_height: 400 #最大高度 | ||
min_width: 0 #最小宽度 | ||
min_height: 0 #最小高度 | ||
line_spacing: 0 #候选词的行间距(px) | ||
line_spacing_multiplier: 1 #候选词的行间距(倍数) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters