Comments (4)
謝謝你,我找了一個下午,為了將新鍵盤layout加到你說的鍵盤型式選單(應是fragment_dialog_keyboard),但始終找不到怎麼加入自定義的lime_colemak.xml到db的keyboard table裡,所以在getKeyboardObj()
的時候cursor會找不到我自己定義的keyboard 而出錯(因為根本沒加入)。 我最後放棄(還有更重要的事等著我做),用最下流的方法:把lime.xml內容直接替換成lime_colemak.xml!還是謝謝你的建議啊!
最後附上colemak layout,有興趣的人可以下載後改名為lime.xml,放到LimeStudio/app/src/main/res/xml/ , 記得在APP設定內把數字列英文鍵盤取消(因為我只有畫4行的)
lime_colemak.txt
from sweetlime.
@hsieh123
看起來還蠻有趣的。我其實也沒有開發 input method 的經驗,所以只是東改改西改改。
對於不同鍵盤的 layout,我找了一下,它們都設定在 LimeStudio/app/src/main/res/xml/ 下面,你可以先參考怎麼樣依照這些檔案生成 colemak 型式所需要的 layout;
然後再找一下這些 layout xml 被指定的地方,加上你新增的 layout 選項。
可能的地方會是 kobj.getEngkb()
或是找找 getKeyboardXMLID
被呼叫的地方。
from sweetlime.
當你利用匯入字根表,新增輸入法後,在萊姆輸入法 app 的畫面,可以點左上角的 三,點選你的無蝦米輸入法;它會跳出新的畫面讓你可以選擇你要的鍵盤型式。如果上面你有成功加入新鍵盤 layout 的話,就可以利用這方式去切換成 colemak layout。
from sweetlime.
原來是在 db 啊~ 那可能要用 tool 去修改一下 db :D
之後我有時間的話,再把你這個鍵盤 layout 也放進去囉,感謝~
from sweetlime.
Related Issues (20)
- 擴充自訂詞庫 HOT 1
- 實體鍵盤滑出時介面有問題 HOT 4
- 無法振動
- 使用自建輸出入法時,可以讓建盤顯示為還大寫嗎? HOT 3
- 候選字太少 HOT 2
- 可否增加選字數量選項 HOT 3
- 請問,可以加回內置的倉頡輸入法嗎? HOT 1
- 用emoji時會跳出
- Android 13 still cannot use text-to-speech, which is supposed has been fixed in version 6.8 HOT 7
- 反向字根查詢不能運作 HOT 3
- 新增輸入法,可以多加大易嗎? HOT 10
- 如何用注音反查嘸蝦米字根? HOT 1
- 請問backup的zip檔我用sql改了lime.db的內容為什麼還原的時候還是舊的詞庫?
- 嘸蝦米輸入法 選第二個字 及 第三個字 HOT 1
- LIME HD 升級Android 13 HOT 1
- 在Work Profolio的LimeHD及SweetLime內安裝輸入法都會跳出 HOT 3
- 無法振動 HOT 1
- 鍵盤位置會跑到下方三鍵位置,如果設定到震動強度,震動就會永久失效 HOT 4
- 中文輸入可以支援多種嗎?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sweetlime.