thunder icon indicating copy to clipboard operation
thunder copied to clipboard

Navigation Bar on Android - Burn-in

Open TigerCraneStyle opened this issue 3 years ago • 12 comments

The navigation bar is pure black. Can it be changed to use the app color or Material You coloring like most Android apps.

The navigation bar is one of the areas of the screen that's at most risk for burn-in as it's static. Android has remedied this by giving app devs the ability to change the color.

Granted, burn-in happens over long periods of time, but this app is so smooth that I plan on using it for the long haul.

Screenshot_20230625-120657

TigerCraneStyle avatar Jun 25 '23 19:06 TigerCraneStyle

I believe it is technically possible to set up the space around the nav bar itself to show actual app content, isn't it? I think either that or it can be made to "fake it" somehow... unless the color it's changed to is dynamic in some way I think you'd be equally susceptible to burn-in (unless I'm misunderstanding), but I do think it would make sense for that area to theme itself to match the setting of the app - in your case, a black bar on a white background I think?

machinaeZER0 avatar Jun 26 '23 02:06 machinaeZER0

You're right on both counts. First being that yes, there is a way to make the navigation bar transparent to where text can be seen being it when scrolling. I temporarily reinstalled the Reddit app Sync Dev and took a screenshot that I've attached below.

Screenshot_20230625-215129~2

Second count... yes the navigation bar being the same color of the app would also help with burn-in. When using the dark or pure black theme in the Thunder app, the navigation bar underneath the drawer is still lighter than the navigation bar itself. I've attached a picture of the navigation bar while using the pure black theme below.

Screenshot_20230625-232041

Thx for replying, MZ. I'm really digging the app.

TigerCraneStyle avatar Jun 26 '23 06:06 TigerCraneStyle

Yup, I think this is definitely possible, I just need to take a closer look at it!

In fact, for some reason, on iOS, it already fills the bottom gap with the colour but it doesn't do the same on Android

simulator_screenshot_5787451A-D46C-4E41-B308-F5C2EB329CAB

hjiangsu avatar Jun 26 '23 06:06 hjiangsu

Yup, I think this is definitely possible, I just need to take a closer look at it!

In fact, for some reason, on iOS, it already fills the bottom gap with the colour but it doesn't do the same on Android

The layout in your screenshot is perfect. Thanks for being willing to look into it on the Android version, hjiangsu.

TigerCraneStyle avatar Jun 26 '23 07:06 TigerCraneStyle

Ahh, @TigerCraneStyle you were right - I was looking at the AMOLED theme for reference, but I happened to be looking at a part of the app where the nav bar was hidden at the bottom! You're right that the color can change depending on not only the theme, but on the fly as elements are (or are not) displayed. Good catch!

machinaeZER0 avatar Jun 26 '23 11:06 machinaeZER0

Ahh, @TigerCraneStyle you were right - I was looking at the AMOLED theme for reference, but I happened to be looking at a part of the app where the nav bar was hidden at the bottom! You're right that the color can change depending on not only the theme, but on the fly as elements are (or are not) displayed. Good catch!

Thx, MZ.

TigerCraneStyle avatar Jun 26 '23 13:06 TigerCraneStyle

Update on this, I think I managed to get it to work, but I dont have a physical Android device to test with. It'll be released in the next version!

For now, this is how it looks like on the android simulator: image

hjiangsu avatar Jun 26 '23 14:06 hjiangsu

Update on this, I think I managed to get it to work, but I dont have a physical Android device to test with. It'll be released in the next version!

For now, this is how it looks like on the android simulator: image

Wow... you're quick! Looking forward to the next release and thanks for getting it done. ✌️

Cheers!

TigerCraneStyle avatar Jun 26 '23 15:06 TigerCraneStyle

I'll test different themes on my Pixel once the update is out! :)

machinaeZER0 avatar Jun 26 '23 21:06 machinaeZER0

Closing issue - fixed in release v0.2.1+8!

hjiangsu avatar Jun 27 '23 16:06 hjiangsu

Closing issue - fixed in release v0.2.1+8!

Thanks again for fixing this. The layout even fills out the whole screen on the Pixel Fold!

Screenshot_20230627-193649

Seriously, this is the most polished Lemmy app out there. Will it eventually make it's way to the Playstore? Until then, maybe a donate option in the app?

TigerCraneStyle avatar Jun 28 '23 02:06 TigerCraneStyle

Thanks so much! I don't feel comfortable yet to ask for any donations since I feel like the app still has a bit of ways to go until I'd consider it an early "beta" if you can say that

I'll consider a donate button once I have most of the main core features implemented and released to the community 😄

hjiangsu avatar Jun 28 '23 14:06 hjiangsu