Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiselect header glitch #1434

Closed
jancborchardt opened this issue Jan 12, 2016 · 19 comments
Closed

Multiselect header glitch #1434

jancborchardt opened this issue Jan 12, 2016 · 19 comments
Labels

Comments

@jancborchardt
Copy link
Member

The multiselect header has a strange horizontal blue line in there.

Also, when multiselecting one file and then going to »Details«, the header is still in multiselect mode. Should be normal though, since in that view there is no multiselection.

@AndyScherzinger
Copy link
Contributor

the details part is a duplicate of #1412 which shouldn't be a bug in case #1275 gets merged sometime.

@tobiasKaminsky
Copy link
Contributor

@AndyScherzinger can you help me with the blue horizontal line?
I suspect this comes from the "account update progress bar"?

@AndyScherzinger
Copy link
Contributor

I can have a look, sure. The glitch should be in part because of the progress bar, but for some reason there is also a part visible from the action bar... Which is weird.

@AndyScherzinger
Copy link
Contributor

I fixed the coloring bug regarding the light blue line, but of course the dark blue one is still there since that is the progress bar as Tobias mentioned already. In order to properly fix this we would need to move to the toolbar implementation since that one can be customized with additional UI elements been added, but never got it to work properly for drawer/back/home navigation since the fragments seemed to fire two events which irritated the navigation bar's state. So to move to the toolbar which I would love we would need a collaboration with @davivel / @masensio and I am unaware of the time they could spent on tracking toolbar issues regarding fragments.

For review - changes on the multi select branch can be found here: 2396355

So is this fine for now @jancborchardt ? - Please also let me know if the grey color is fine with you :)
actionmode

@AndyScherzinger
Copy link
Contributor

@jancborchardt please ignore the checkboxes, they will be in the new design whenever the branch gets updated to latest master.

@AndyScherzinger
Copy link
Contributor

I moved from the dark grey to a lighter grey since the dark grey for the action bar coloring since the dark grey would be rather Holo style (Android 4.x) while the light grey is more common in material styleed app, like Gmail.

@AndyScherzinger
Copy link
Contributor

Screenshot with change merged to the beta branch, running on Android 4.0.x
device-2016-01-20-004758

@AndyScherzinger
Copy link
Contributor

So for explanation: The action mode hasn't been themed (before my last commit) and the style was Holo based and is now Material style based. So it should be fine, that dark blue line (as in progress bar) should be postponed as mentioned before.

Sorry for all the comments...

@jancborchardt
Copy link
Member Author

@AndyScherzinger it seems to be a different grey color than before though, a lighter one?

@AndyScherzinger
Copy link
Contributor

@jancborchardt exactly! Like I said I have chosen a light one, which seems typical for material design apps (see e.g. Gmail). I will change the coloring a bit and post a new screenshot but would suggest to stay with a light grey instead of a dark one to have a contrasting color for the standard, dark blue.

@jancborchardt
Copy link
Member Author

I’m not sure, for several reasons:

  • seems too much of a contrast to the default dark color
  • too much of a contrast to the system bar above it
  • too little contrast to the text

Also, there is still this dark line (loading bar?) below the bar which still makes it look strange. Can we get rid of that?

@AndyScherzinger
Copy link
Contributor

@jancborchardt small optimization I just added for Lollipop and up, also greying out the system bar 😄
device-2016-01-20-154127

Unfortunately getting rid of the progress bar like I said would only be possible when we integrate it into the bar itself and in order to do that we would need to migrate to the toolbar implementation, which I yet failed to get to work properly :(

@AndyScherzinger
Copy link
Contributor

So, simply said, we cannot get rid of the dark blue line except for one solution I can think of right now which would be to use the dark blue color (system bar and progress bar) when the multi select mode gets activated, so the progress bar then has the same color 😉

@AndyScherzinger
Copy link
Contributor

One more thing, the progress bar actually gets animated in some situations (!), when y sync is running and you trigger the mulstiselect at that moment... So still showing the progress (bar) makes sense to me.

@jancborchardt
Copy link
Member Author

Looks much better now! :) 👍

@AndyScherzinger
Copy link
Contributor

W00t! So can I commit and close the ticket then 😃 Beware though that the grey system bar is Lollipop and up, since 4.x doesn't support coloring the system bar...

So 4.x would look like this:
device-2016-01-20-164547

@AndyScherzinger
Copy link
Contributor

commit for the grey system bar coloring: 8b22a06 - also pushed to the beta branch

@jancborchardt
Copy link
Member Author

Yup, that’s fine. Good work!

@AndyScherzinger
Copy link
Contributor

Fixed in #1176
related commits:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants