We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87d402e commit c2b8f58Copy full SHA for c2b8f58
1 file changed
app/src/main/java/io/github/yawnoc/strokeinput/Keyboard.java
@@ -44,7 +44,7 @@ public class Keyboard {
44
45
private static final float KEYBOARD_HEIGHT_MAX_FRACTION = 0.5f;
46
47
- private static final float DEFAULT_KEY_WIDTH_PROPORTION = 0.1f;
+ private static final float DEFAULT_KEY_WIDTH_FRACTION = 0.1f;
48
private static final int DEFAULT_KEY_HEIGHT_DP = 64;
49
private final int defaultKeyHeightPx;
50
@@ -249,7 +249,7 @@ private void parseKeyboardAttributes(
249
attributesArray,
250
R.styleable.Keyboard_keyWidth,
251
screenWidth,
252
- (int) (DEFAULT_KEY_WIDTH_PROPORTION * screenWidth)
+ (int) (DEFAULT_KEY_WIDTH_FRACTION * screenWidth)
253
);
254
keyHeight =
255
Valuey.getDimensionOrFraction(
0 commit comments