File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
app/src/main/java/io/github/yawnoc/strokeinput Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 55
66- Upgraded Android SDK to Level 35
77 - Implemented keyboard edge-to-edge padding (bottom spacer)
8- - Opted out of Main Activity edge-to-edge
8+ - Opted out of Main Activity edge-to-edge (screw you Google)
99- Fixed buggy key preview initialisation in landscape mode
1010- Changed Help/About link colour to blue
1111
Original file line number Diff line number Diff line change 3131 - Candidates view
3232 - Keyboard view
3333 (b) Key preview plane (overlaid)
34- 2. Bottom spacer (needed in API level 35+ due to edge-to-edge)
34+ 2. Bottom spacer (needed in API level 35+ for edge-to-edge bottom padding )
3535*/
3636public class InputContainer
3737 extends LinearLayout
@@ -49,7 +49,7 @@ public WindowInsets onApplyWindowInsets(WindowInsets insets)
4949 {
5050 super .onApplyWindowInsets (insets );
5151
52- if (Build .VERSION .SDK_INT >= 35 ) // bottom spacing for edge-to-edge
52+ if (Build .VERSION .SDK_INT >= 35 ) // needed in API level 35+ for edge-to-edge bottom padding
5353 {
5454 final Insets systemBars = insets .getInsets (WindowInsetsCompat .Type .systemBars ());
5555 ViewGroup .LayoutParams layoutParameters = bottomSpacer .getLayoutParams ();
You can’t perform that action at this time.
0 commit comments