Android: Don't set QtWindow layout to MATCH_PARENT when adding top level
The top level might have a non-fullscreen geometry set, and we should respect that. Pick-to: 6.8 Change-Id: I9717d185a3fe008f4d23a02c527e1a9739aea1d6 Reviewed-by: Tinja Paavoseppä <tinja.paavoseppa@qt.io>
This commit is contained in:
parent
6e52d01053
commit
aa45280d97
@ -355,10 +355,6 @@ class QtActivityDelegate extends QtActivityDelegateBase
|
||||
}
|
||||
}
|
||||
|
||||
window.setLayoutParams(new ViewGroup.LayoutParams(
|
||||
ViewGroup.LayoutParams.MATCH_PARENT,
|
||||
ViewGroup.LayoutParams.MATCH_PARENT));
|
||||
|
||||
m_layout.addView(window, m_topLevelWindows.size());
|
||||
m_topLevelWindows.put(window.getId(), window);
|
||||
if (!m_splashScreenSticky)
|
||||
|
Loading…
x
Reference in New Issue
Block a user