show/hide app dock

Post your questions and help other users.

Moderator: Martin

Post Reply
postaletter
Posts: 13
Joined: 28 Oct 2014 09:20

show/hide app dock

Post by postaletter » 28 Oct 2014 09:27

Hi clever persons.
I would really like to be able to toggle the app dock as part of one of my flows.
This seems to be a feature on many launchers and can be associated with a gesture but I have not been able to find a simple way to do it from an action.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: show/hide app dock

Post by Martin » 29 Oct 2014 17:24

Hi,

What exactly do you mean by app dock? The app drawer used to start apps or the recents screen to switch between recently used apps or something else?
Depending on launcher you could open the app drawer with action Control UI and a script like home();sleep(1000);click("Apps"); (the script only works for the default Android launcher on a Nexus 5). You can open the recents screen with action Control UI: recents(); or Execute Root Command: input keyevent APP_SWITCH.

Regards,
Martin

User avatar
Bushmills
Posts: 286
Joined: 23 Sep 2014 21:56

Re: show/hide app dock

Post by Bushmills » 29 Oct 2014 17:32

Nova launcher allows toggling the dock from Automagic with action "start shortcut", with shortcut selected from "Nova Action" -> "Toggle Dock". Same could be true for Apex, given that these are rather similar.
Lightning launcher (possibly only in its LLX incarnation) acts as tasker plugin, thereby being rather controllable through Automagic. Toggling dock should be quite possible with that one too, as consequence. I found, again under "start shortcut": "Lightning Action" -> "Show/Hide app menu", and also under "Plugin" -> "Lightning Launcher" -> "Toggle app menu". I suppose the Lightning Launcher plugin action is preferable here.

postaletter
Posts: 13
Joined: 28 Oct 2014 09:20

Re: show/hide app dock

Post by postaletter » 29 Oct 2014 20:27

Martin wrote:
What exactly do you mean by app dock?
Yes, this was one of the problems I had while trying to find the solution.
I am referring to the icons (generally 5) at the bottom of the launcher home screens. The left most is generally the dialer app, the middle, accesses the app draw.

postaletter
Posts: 13
Joined: 28 Oct 2014 09:20

Re: show/hide app dock

Post by postaletter » 29 Oct 2014 20:41

Bushmills wrote:Nova launcher allows toggling the dock from Automagic with action "start shortcut", with shortcut selected from "Nova Action" -> "Toggle Dock". Same could be true for Apex, given that these are rather similar.
Lightning launcher (possibly only in its LLX incarnation) acts as tasker plugin, thereby being rather controllable through Automagic. Toggling dock should be quite possible with that one too, as consequence. I found, again under "start shortcut": "Lightning Action" -> "Show/Hide app menu", and also under "Plugin" -> "Lightning Launcher" -> "Toggle app menu". I suppose the Lightning Launcher plugin action is preferable here.
Thanks for the suggestions. I was hoping to do this with the default Google Launcher. I am using the Xposed GEL settings module and can toggle the dock from there but would really like to automate it within a flow.

User avatar
Bushmills
Posts: 286
Joined: 23 Sep 2014 21:56

Re: show/hide app dock

Post by Bushmills » 29 Oct 2014 20:57

If your reason for sticking to GEL is the "Ok Google" voice integration from home screen, Nova does that too. Other than that, I can't really think of anything in favour of GEL (other that it comes with your device). Needing an Xposed module just for toggling the dock isn't something what gives me a different idea about that neither :)

postaletter
Posts: 13
Joined: 28 Oct 2014 09:20

Re: show/hide app dock

Post by postaletter » 02 Nov 2014 10:34

Bushmills wrote:If your reason for sticking to GEL is the "Ok Google" voice integration from home screen, Nova does that too. Other than that, I can't really think of anything in favour of GEL (other that it comes with your device). Needing an Xposed module just for toggling the dock isn't something what gives me a different idea about that neither :)
Yep, I have used Nova before, currently trying epic launcher. When I found Xposed GEL settings i realized could do most of the customization I wanted just running the Google Now Launcher. Just needed modify an existing flow to show/hide the app dock.

Post Reply