fix(输入法): 修复光标间隙并扩大26键及明确大小写切换

这个提交包含在:
sydxky 于 2026-11-14 19:37:32 +08:00 提交
1 父节点 b95e7caae7
当前提交 100757f684
35 个文件已更改
+675 -243

没有与搜索条件相匹配的文件

+2 -2
查看文件
@@ -12,8 +12,8 @@ android {
applicationId 'com.sydxky.crabinput'
minSdk 27
targetSdk 35
versionCode 10203
versionName '1.2.3'
versionCode 10204
versionName '1.2.4'
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
}
signingConfigs {
@@ -46,7 +46,7 @@ public final class MainActivity extends Activity {
// Vendor EditText backgrounds add large vertical insets on watches.
// Explicit padding keeps both empty hints and entered text fully visible.
editor.setPadding(px(12),0,px(12),0);editor.setGravity(Gravity.CENTER_VERTICAL);
editor.setIncludeFontPadding(false);editor.setSingleLine(true);
editor.setIncludeFontPadding(false);editor.setLetterSpacing(0f);editor.setSingleLine(true);
android.graphics.drawable.GradientDrawable background=new android.graphics.drawable.GradientDrawable();background.setColor(Color.WHITE);background.setCornerRadius(px(12));editor.setBackground(background);
LinearLayout.LayoutParams layout=new LinearLayout.LayoutParams(-1,px(47));layout.topMargin=px(7);body.addView(editor,layout);bindings.add(CrabKeyboard.attach(this,editor));
}