Android Chromium handle show/hide toolbar menu.

57 views
Skip to first unread message

Duy

unread,
Jun 30, 2015, 11:06:32 PM6/30/15
to chromi...@chromium.org
Hi all,
I build chromium android. i want to listen to event show/hide toolbar menu ( toolbar.xml).

Could anyone tell me some hint to do it?

Thanks!

Сева Рачис

unread,
Jul 2, 2015, 7:41:53 AM7/2/15
to du...@toivui.com, chromi...@chromium.org
01.07.2015 11:07 пользователь "Duy" <du...@toivui.com> написал:
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev

To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.

Anton Vayvod

unread,
Jul 2, 2015, 9:04:59 AM7/2/15
to men....@gmail.com, du...@toivui.com, chromium-dev, ted...@chromium.org
I'm not sure if there's such an event but you could potentially detect when Toolbar becomes invisible or maybe hook into ChromeFullscreenManager.update() method (the page basically goes into transient fullscreen mode when user scrolls down and the controls are hidden).

Thiago Farina

unread,
Jul 2, 2015, 9:06:29 AM7/2/15
to du...@toivui.com, chromi...@chromium.org


On Wednesday, July 1, 2015, Duy <du...@toivui.com> wrote:
Hi all,
I build chromium android. i want to listen to event show/hide toolbar menu ( toolbar.xml).

 cs.chromium.org could help you. Look for the Java classes under chrome/.


--
Thiago Farina

Reply all
Reply to author
Forward
0 new messages