Files
yenharvey 2726f34210 feat(android): Android 输入法
Kotlin 的 InputMethodService 壳 + Rust 的 libqingjian_android.so(Engine 装配、Session、JNI),功能与 PC 对齐:
- 键盘:拼音 26 键、九宫格、双拼、五笔、注音大千、英文、日语罗马音(测试版);数字键盘、符号与表情面板、功能面板、中英键换语言、长按空格挪光标
- 候选条用 Rust 渲染器出位图,长按看译词与删除,展开全部候选,邮箱后缀补全
- 输入设置:模糊音、标点全半角、中英混输、分次选词留在组句里、学习开关与私密输入、繁体字形、导入词库与领域词库、算式与日期
- 剪贴板与常用语(拆词、代码高亮、图片)、快捷翻译、系统文字选择菜单里的「青简翻译」、释义兜底、云联想与整句补全
- 学习语言可选,生词本筛选、等级、搜索与标认识,输入统计看板
- 外观:PC 全部内置主题、深浅色、候选字号,键盘配色由渲染器按主题推出
- 语音输入(火山引擎识别,长按空格说话)与滑行输入(拼音全键盘与英文键盘,缺省关)
- App:首页、生词本、我的,键盘设置、外观、语音识别、高级(导出与清空学习数据)
2026-10-20 20:35:18 +08:00

8 lines
464 B
Bash
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/usr/bin/env bash
# 应用图标前景层:assets/icon/logo.png 缩进自适应图标的安全区(108dp 画布中间 66dp),xxxhdpi 一档,生成物随仓库提交。
# 用法:apps/android/scripts/render-icon.sh(要 ImageMagick)
set -euo pipefail
cd "$(dirname "$0")/../../.."
magick assets/icon/logo.png -resize 268x268 -background none -gravity center -extent 432x432 \
apps/android/app/src/main/res/drawable-xxxhdpi/ic_launcher_foreground.png