Commit cd9887a
Fix doubled top inset gap on Insights toolbar
The navigation-bar overlap fix in #558 added fitsSystemWindows="true"
to the Insights CoordinatorLayout. Because Insights uses the theme's
window-decor action bar (not an in-layout AppBarLayout), the status
bar inset was effectively counted twice and a large empty gap appeared
between the toolbar and the hero card.
Mirror the approach already used for Settings/Timeline in c50bea9:
drop fitsSystemWindows from the layout root and instead apply only
the bottom system-bar inset to the ScrollView so the original nav-bar
overlap fix still holds.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent f70e9ca commit cd9887a
2 files changed
Lines changed: 15 additions & 1 deletion
File tree
- app/src/main
- java/net/kollnig/missioncontrol
- res/layout
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
43 | 47 | | |
44 | 48 | | |
45 | 49 | | |
| |||
111 | 115 | | |
112 | 116 | | |
113 | 117 | | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
114 | 128 | | |
115 | 129 | | |
116 | 130 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
0 commit comments