Are you planning on updating your extension with this? Sure a lot of people including me would be interested and thankful
Still working on it. Some parts work OK, others not quite as I would like. Android Developers documentation is generally terse, and without examples (especially for us), it therefore is a bit hit and miss for the uneducated (like me). Watch this space.
I certainly will be checking in, thank you very much. I'd like to just minimize the navigation bar and keep the status bar. For now I made a fake status bar
Unfortunately, the thing I have the biggest problem with is the Nav bar. I can hide it, but would have to remove the colour from the status bar.
You might have more success with adjusting the margins of your arrangements ( I have included a method for this)
I tried your hidebar extension and it worked, I used taifun tools hide SUI block since it was already added to the project and it worked also. I prefer a black status and navigation bar so I'm not concerned with setting their coloring, more concerned with being forced to have them colored
I can do both black (with white icons and text)
More info here:
Hey,
I was reading all the post carefully but what I still don't understand:
When I have for exampel 3 arrangements below each other on my screen and I set all arrangement heights to "fill parent" or "automatic" there is no issue with the navigation bar.
But as soon I size one of these arrangement heights via a percentage the navigation bar overlapps the arrangment. (please see pictures on my first post)
It happens consitently also on other projects and just appeared after the update to 2.76
I saw in several post and articles this topic with the latest google change (API35) which is made responsible for that. But somehow this doesnt make sense to me since when all arrangements are set to automatic/fill parent everything is properly shown. (so the companion app does the right thing with the nav bar and screen height)
So, is there may be a small bug in the latest update? Or if not what is the explanation for this behavior?
Best regards
I had to use percentages with my arrangements, every row of buttons is an arrangement, 15 of them. Them. I needed them all the same size and yet needed the title buttons bigger. I don't think automatic would work for me. That's interesting that it works fine if you used all automatic arrangements.
I'm still trying to reproduce this problem. Would you be willing to send me an aia file of an app where the bottom us under the navbar?
It should put some of arrangement c behind the nav bar. (In my case it completely covers arrangement c)
If you change arrangement b to fill parent, then everything fits.
If we have a method to find the heights of the status, navigation and title bars, then we can calculate the available screen height. Or if screen height is automatically calculated depending on which bars are visible/invisible.
You appear to have your navigation set to swipe which hides the navigation bar. Set your phone's navigation to three button and see if it's still works.
Just wondering if you are using swipe or three-button navigation? I'm using three button navigation. Swipe navigation might not have the problem
I am aware we can do some/most/all of that using extensions, but hoping, beyond hope, that if MIT have something to fix on this, then they can fix this too
We shouldn't have to use an extension to handle a fundamental display issue as raised by the OP.
Thanks. This helped a lot. Now I see the problem.
A strongly educated guess is that the formula used to calculate the available screen space when all are percentages is not taking the new insets calculation into account.
I can work with that.
It looks like the workaround is to set at least one arrangement height to fill parent.
Does that cover the stretching reported by the OP?
ETA: Actually, I think it might.
Yes, as I showed, but it would be helpful if you could provide the bar heights and "usable" screen height (which could change depending on which bars are visible).
As it stands, there is no logic to setting % arrangement heights that add up to 100% if they do not completely show on screen.