mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 01:46:49 +00:00
Get the view to be used as qsb bar from the launcher directly.
This will allow more control over the qsb visuals and behaviour in GEL. Depends on ag/339203 Future changes: - revert ag/344333 since we won't need the normal qsb to support hotword anymore - Dragging icons over the Drop target bar (to remove/uninstall them or get App info) doesn't currently work in GEL. There might be future changes needed to fix that. Change-Id: Ic498f0abee5ad99ef1644ff94f174b61f8e1f5f0
This commit is contained in:
@@ -321,7 +321,7 @@ class DeviceProfile {
|
||||
searchBarSpace.setLayoutParams(lp);
|
||||
|
||||
// Layout the search bar
|
||||
View searchBar = searchBarSpace.findViewById(R.id.qsb_search_bar);
|
||||
View searchBar = launcher.getQsbBar();
|
||||
lp = (FrameLayout.LayoutParams) searchBar.getLayoutParams();
|
||||
lp.width = LayoutParams.MATCH_PARENT;
|
||||
lp.height = LayoutParams.MATCH_PARENT;
|
||||
|
||||
Reference in New Issue
Block a user