Coder Social home page Coder Social logo

Comments (7)

Tunous avatar Tunous commented on July 17, 2024

Interesting, I must admit I didn't test this on API 25 but on API 28. Perhaps it has some issues with calculating fitsSystemWindows insets. I'll try to find what's wrong.

from dawn.

Tunous avatar Tunous commented on July 17, 2024

I did not manage to reproduce this entirely here. Initially everything looked correctly and these buttons were above navigation bar, but that broke when rotating device. I've pushed additional commit that fixes this to a separate branch here: 552f89d

I have found another bug. Not sure how to fix that:
screenshot_1547309254

The status bar is now partially visible. I was using WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS so that the translucent bar also gets removed.

Personally I found this to be a good side effect 😁. It improves readability of status bar icons, which can be always hidden by entering full-screen mode when needed. But I removed that flag because it was breaking fitsSystemWindows insets.

from dawn.

mvietri avatar mvietri commented on July 17, 2024

I'm on API 27 but my phone has hw buttons and I can't test this on the emulator since is so damn slow to even try to use it.

from dawn.

saket avatar saket commented on July 17, 2024

I have found another bug. Not sure how to fix that:

Whoops. I don't think this can be fixed letting the layout extend behind the status bar. The dark gradient has to start from the bottom.

Personally I found this to be a good side effect 😁. It improves readability of status bar icons,

I see where you're coming from, but I wanted to give the content image/video a higher priority than the status bar icons in the media viewer screen.

We could… dim the status bar so that the icons don't interfere with the media.

from dawn.

saket avatar saket commented on July 17, 2024

@Esselans the emulator has become quite fast now. What are your computer specs?

from dawn.

mvietri avatar mvietri commented on July 17, 2024

@saket i5 4210, 8gb ram (w10 w/ ssd disk). The emulator takes 10 minutes to start and then it has like a 1.5 - 2 seconds lag.

from dawn.

saket avatar saket commented on July 17, 2024

@Esselans that does not sound too bad. Make sure you have hardware acceleration enabled (Intel HAXM) and you're using an x86 image for your emulator. It takes a few seconds on my machine to start.

from dawn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.