Skip to content

Commit ad5e36e

Browse files
committed
Fix InputContainer background not transparent
1 parent 88fe795 commit ad5e36e

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
- Updated keyboard font to [Stroke Input Keyboard v1.3.1]
77
(adds glyphs for qwerty symbols etc.)
88
- Reduced key label font sizes
9+
- Fixed InputContainer background not transparent
910

1011

1112
## [v0.5.0] Implemented qwerty (2021-07-12)

app/src/main/java/io/github/yawnoc/strokeinput/InputContainer.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
import android.annotation.SuppressLint;
2424
import android.content.Context;
2525
import android.graphics.Canvas;
26+
import android.graphics.Color;
2627
import android.graphics.Paint;
2728
import android.graphics.Rect;
2829
import android.os.Handler;
@@ -120,6 +121,8 @@ public void handleMessage(Message message) {
120121
}
121122
};
122123

124+
this.setBackgroundColor(Color.TRANSPARENT);
125+
123126
keyRectangle = new Rect();
124127

125128
keyFillPaint = new Paint(Paint.ANTI_ALIAS_FLAG);

0 commit comments

Comments
 (0)