add start for layout edit dialog

This commit is contained in:
Helium314 2025-02-02 13:38:55 +01:00
parent 33e03cedd0
commit e2ebd32f25
5 changed files with 80 additions and 11 deletions

View file

@ -79,7 +79,7 @@ fun loadCustomLayout(layoutContent: String, layoutName: String, languageTag: Str
.show()
}
private fun checkLayout(layoutContent: String, context: Context): Boolean {
fun checkLayout(layoutContent: String, context: Context): Boolean {
val params = KeyboardParams()
params.mId = KeyboardLayoutSet.getFakeKeyboardId(KeyboardId.ELEMENT_ALPHABET)
params.mPopupKeyTypes.add(POPUP_KEYS_LAYOUT)