auto hide/show lower nav bar. - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93) +---- Forum: Android Development (https://forum.kodi.tv/forumdisplay.php?fid=184) +---- Thread: auto hide/show lower nav bar. (/showthread.php?tid=152232) |
RE: auto hide/show lower nav bar. - mikrohard - 2013-01-18 Did anyone have a look at this? http://forum.xbmc.org/showthread.php?tid=137269 https://github.com/jamiejones85/xbmc/commits/master RE: auto hide/show lower nav bar. - kemonine96 - 2013-01-18 (2013-01-18, 00:39)mikrohard Wrote: Did anyone have a look at this? I have now. The code you linked is the exact direction I thought I had to head in with what I posted earlier in the thread. Looks like I just lost a night's worth of sleep. Thank you (not sarcasm) RE: auto hide/show lower nav bar. - davilla - 2013-01-18 now that's what I'm talking about. coded 5 months ago and we never knew about it HAHAHAH. RE: auto hide/show lower nav bar. - kemonine96 - 2013-01-18 (2013-01-18, 01:26)davilla Wrote: now that's what I'm talking about. coded 5 months ago and we never knew about it HAHAHAH. Yeah, go figure. I am in the process of bringing the code changes into the work I did previously. Should have a proof of concept up "tonight". Going to focus on just hiding for now and then the implementation of show/hide that is in a later commit. RE: auto hide/show lower nav bar. - kemonine96 - 2013-01-18 Bingo! Teaser below. Screen caps taken on Nexus 7 running CyanogenMod 10.1 (Android 4.2) Adapted the linked code and got the following. One more commit to integrate (audo/hide show on tap), some mild cleanup and the code will be ready. I'll be posting back with a feature branch, pull request, etc. Home Screen of XBMC Video Playback RE: auto hide/show lower nav bar. - davilla - 2013-01-18 oh that space looks soo empty now, would be real nice to expand to fill RE: auto hide/show lower nav bar. - kemonine96 - 2013-01-18 (2013-01-18, 04:09)davilla Wrote: oh that space looks soo empty now, would be real nice to expand to fillFrom what I've read the action bar cannot be hidden without low level root/rom trickery on 4.0+. The code used to generate the above screen caps is using the standard API methods. On the plus side: I'm running my 1st build with the auto-hide / auto-un-hide changes. RE: auto hide/show lower nav bar. - Ned Scott - 2013-01-18 That's just dimmed :( RE: auto hide/show lower nav bar. - kemonine96 - 2013-01-18 (2013-01-18, 04:57)Ned Scott Wrote: That's just dimmed Not dimmed "low profile mode". The best the NDK/SDK will allow (from what I can tell) without root trickery like HideBar is doing... RE: auto hide/show lower nav bar. - slhpss - 2013-01-18 http://forum.xbmc.org/showthread.php?tid=151114&pid=1302264#pid1302264 hopefully you devs can use the sample code provided by google to get to where is needed RE: auto hide/show lower nav bar. - kemonine96 - 2013-01-18 (2013-01-18, 05:37)slhpss Wrote: http://forum.xbmc.org/showthread.php?tid=151114&pid=1302264#pid1302264 Thanks for the code sample RE: auto hide/show lower nav bar. - kemonine96 - 2013-01-18 Current code: https://github.com/mcrosson/xbmc/tree/android-feature-auto-hide-nav-bar Must build above with platform=android-14. Should run on 2.3 but I have not tested that part yet. Working on getting the auto-hide feature nailed down from the original git sources posted. I'll also be taking a closer look at the code sample from @slhpss and doing a bit of a refactor along the way. Once everything is situated I'll be posting a PR, link to final branch, apk for testing, screencaps. RE: auto hide/show lower nav bar. - davilla - 2013-01-18 nice RE: auto hide/show lower nav bar. - Memphiz - 2013-01-18 invite him ftw! RE: auto hide/show lower nav bar. - kemonine96 - 2013-01-18 (2013-01-18, 12:28)Memphiz Wrote: invite him ftw!I'm not sure I follow this one. |