removing some unused keyboard padding references

This commit is contained in:
tibbi 2022-01-16 12:19:28 +01:00
parent 11c5b924b0
commit fa62393e26
2 changed files with 2 additions and 2 deletions

View File

@ -418,7 +418,7 @@ class MyKeyboard {
* @param characters the list of characters to display on the keyboard. One key will be created
* for each character.
*/
constructor(context: Context, layoutTemplateResId: Int, characters: CharSequence, horizontalPadding: Int) :
constructor(context: Context, layoutTemplateResId: Int, characters: CharSequence) :
this(context, layoutTemplateResId) {
var x = 0
var y = 0

View File

@ -1008,7 +1008,7 @@ class MyKeyboardView @JvmOverloads constructor(context: Context, attrs: Attribut
//mInputView.setSuggest(mSuggest);
val keyboard = if (popupKey.popupCharacters != null) {
MyKeyboard(context, popupKeyboardId, popupKey.popupCharacters!!, paddingLeft + paddingRight)
MyKeyboard(context, popupKeyboardId, popupKey.popupCharacters!!)
} else {
MyKeyboard(context, popupKeyboardId)
}