diff --git a/easykeyboard/src/main/java/com/jay/easykeyboard/SystemKeyboard.java b/easykeyboard/src/main/java/com/jay/easykeyboard/SystemKeyboard.java index ad87de9..f58751d 100644 --- a/easykeyboard/src/main/java/com/jay/easykeyboard/SystemKeyboard.java +++ b/easykeyboard/src/main/java/com/jay/easykeyboard/SystemKeyboard.java @@ -9,12 +9,10 @@ import android.inputmethodservice.KeyboardView; import android.support.annotation.Nullable; import android.util.AttributeSet; -import android.util.Log; import android.view.LayoutInflater; import android.widget.EditText; import android.widget.FrameLayout; -import com.jay.easykeyboard.constant.KeyboardConfig; import com.jay.easykeyboard.constant.Util; import com.jay.easykeyboard.function.SystemOnKeyboardActionListener; import com.jay.easykeyboard.keyboard.MyKeyboardView; @@ -170,10 +168,4 @@ public void recycle() { keyboardView = null; mKeyboard = null; } - - private void Log(String value) { - if (KeyboardConfig.openLog) { - Log.i(TAG, value); - } - } } diff --git a/easykeyboard/src/main/java/com/jay/easykeyboard/constant/KeyboardConfig.java b/easykeyboard/src/main/java/com/jay/easykeyboard/constant/KeyboardConfig.java deleted file mode 100644 index a44ead7..0000000 --- a/easykeyboard/src/main/java/com/jay/easykeyboard/constant/KeyboardConfig.java +++ /dev/null @@ -1,11 +0,0 @@ -package com.jay.easykeyboard.constant; - -/** - * Created by huangjie on 2018/2/3. - * 类名: - * 说明:键盘通用配置设置 - */ - -public final class KeyboardConfig { - public static boolean openLog; -} diff --git a/easykeyboard/src/main/java/com/jay/easykeyboard/keyboard/KeyModel.java b/easykeyboard/src/main/java/com/jay/easykeyboard/keyboard/KeyModel.java deleted file mode 100644 index a37d6c9..0000000 --- a/easykeyboard/src/main/java/com/jay/easykeyboard/keyboard/KeyModel.java +++ /dev/null @@ -1,33 +0,0 @@ -package com.jay.easykeyboard.keyboard; - -/** - * Created by huangjie on 2018/2/3. - * 类名: - * 说明: - */ - -public class KeyModel { - private Integer code; - private String label; - - public KeyModel(Integer code, String lable) { - this.code = code; - this.label = lable; - } - - public Integer getCode() { - return code; - } - - public void setCode(Integer code) { - this.code = code; - } - - public String getLable() { - return label; - } - - public void setLabel(String lable) { - this.label = lable; - } -}