diff options
author | Jyotiraditya <jyotiraditya@aospa.co> | 2020-05-19 16:55:28 +0200 |
---|---|---|
committer | alk3pInjection <webmaster@raspii.tech> | 2022-05-06 14:30:30 +0800 |
commit | 0b5863708318d1f85b357022f85d4bd2fe0baee8 (patch) | |
tree | 303f17c56f160b4cf609d91851155b4e295e7c45 | |
parent | 4e15aaf576d416fb7d39d8d9bcc72401ffb15993 (diff) |
Launcher3: Add Smartspace Widget
Since we removed QSB on top it looks empty at the fist glance after boot.
So, add "At a glance" widget provided by Google to the default workspace,
this allows the user to move it around or remove it as per their choice.
Change-Id: I4c2d7007595ceedca454e31ed751e75b06093c8d
-rw-r--r-- | res/xml/default_workspace_4x4.xml | 10 | ||||
-rw-r--r-- | res/xml/default_workspace_5x5.xml | 10 |
2 files changed, 20 insertions, 0 deletions
diff --git a/res/xml/default_workspace_4x4.xml b/res/xml/default_workspace_4x4.xml index bf3c62c77d..dfde7de186 100644 --- a/res/xml/default_workspace_4x4.xml +++ b/res/xml/default_workspace_4x4.xml @@ -16,6 +16,16 @@ <favorites xmlns:launcher="http://schemas.android.com/apk/res-auto/com.android.launcher3"> + <!-- Smartspace Widget --> + <appwidget + launcher:screen="0" + launcher:x="0" + launcher:y="0" + launcher:spanX="4" + launcher:spanY="1" + launcher:packageName="com.google.android.googlequicksearchbox" + launcher:className="com.google.android.apps.gsa.staticplugins.smartspace.widget.SmartspaceWidgetProvider" /> + <!-- Hotseat (We use the screen as the position of the item in the hotseat) --> <!-- Dialer, Messaging, Browser, Camera --> <resolve diff --git a/res/xml/default_workspace_5x5.xml b/res/xml/default_workspace_5x5.xml index e612cebf92..7cba7ac335 100644 --- a/res/xml/default_workspace_5x5.xml +++ b/res/xml/default_workspace_5x5.xml @@ -16,6 +16,16 @@ <favorites xmlns:launcher="http://schemas.android.com/apk/res-auto/com.android.launcher3"> + <!-- Smartspace Widget --> + <appwidget + launcher:screen="0" + launcher:x="0" + launcher:y="0" + launcher:spanX="5" + launcher:spanY="1" + launcher:packageName="com.google.android.googlequicksearchbox" + launcher:className="com.google.android.apps.gsa.staticplugins.smartspace.widget.SmartspaceWidgetProvider" /> + <!-- Hotseat (We use the screen as the position of the item in the hotseat) --> <!-- Dialer, Messaging, [Maps/Music/Settings], Browser, Camera --> <resolve |