removing some unused keyboard padding references
This commit is contained in:
parent
11c5b924b0
commit
fa62393e26
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue