Commit 07cc725
committed
Prevent too frequent resizing
This reverts commit 1d3dc6d
and implements another solution
Keyboards push up the bottom of app.
- If skkPrefs.candidatesMinHeight is false,
push up all the height of candidatesView too
and this resizes the app too often (old behavior)
- If true, push up only the minimum height of it (fixed value)
and place the rest of the candidates *over* the app1 parent 527b050 commit 07cc725
5 files changed
Lines changed: 21 additions & 24 deletions
File tree
- app/src/main
- java/jp/deadend/noname/skk
- res
- values
- xml
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
169 | 170 | | |
170 | 171 | | |
171 | 172 | | |
172 | | - | |
173 | | - | |
174 | | - | |
| 173 | + | |
| 174 | + | |
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
| 32 | + | |
| 33 | + | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
841 | 841 | | |
842 | 842 | | |
843 | 843 | | |
| 844 | + | |
844 | 845 | | |
845 | | - | |
846 | | - | |
847 | | - | |
848 | | - | |
849 | | - | |
850 | | - | |
851 | | - | |
852 | | - | |
853 | | - | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
854 | 851 | | |
| 852 | + | |
| 853 | + | |
855 | 854 | | |
856 | 855 | | |
857 | 856 | | |
| |||
1325 | 1324 | | |
1326 | 1325 | | |
1327 | 1326 | | |
1328 | | - | |
| 1327 | + | |
1329 | 1328 | | |
1330 | 1329 | | |
1331 | 1330 | | |
| |||
1336 | 1335 | | |
1337 | 1336 | | |
1338 | 1337 | | |
1339 | | - | |
1340 | | - | |
1341 | | - | |
| 1338 | + | |
1342 | 1339 | | |
1343 | 1340 | | |
1344 | 1341 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
0 commit comments