victordiaz / PHONK

PHONK is a coding playground for new and old Android devices
https://phonk.app
GNU General Public License v3.0
460 stars 25 forks source link

title in buttons is not displayed #21

Closed boriskohen closed 4 years ago

boriskohen commented 4 years ago

it's appears only on devices with kitkat (android 4.4). affected 1.2.0 and 1.2.2 versions. affected installation wizard and projects view. Screenshot_2020-06-29-15-57-47

victordiaz commented 4 years ago

Oh! thats interesting, I will have a look today. What is the screen size? I will try to replicate it with an emulator

boriskohen commented 4 years ago

apperars: 1 device - 320x480px 3" size
2 device - 320x480px 3,2" size

not apperas: 720x1280px 5"

victordiaz commented 4 years ago

Hi @boriskohen

I think I fixed it, it seems that Android 4.4 didn't pick the "backgroundTint" property, so I changed to the standard "background" I will do a new release this week with the changes

I will let you know when the new version is online so you can double check and close the issue

Thanks for pointing it out!

tinkercnc commented 4 years ago

Same behavior on: device type: phone manufacturer: OnePlus model name: A0001

screen brightness: 93 screen: true orientation: portrait screen dpi: 480 screen resolution: 1080 x 1920

Cyanogen OS Android 4.4.4

Just FYI.

garydion commented 4 years ago

I can also confirm it occurs on an Alcatel OneTouch running 4.4.4. Additionally, the proceed buttons during installation were invisible. These were the ones which were to say "Let's Go", "Ask Permissions", and "Install Examples". But thanks to your "Getting Started" guide on the website, I knew where to tap. Despite the bug, I'm already having a blast!

victordiaz commented 4 years ago

I just uploaded a new version, cand you check if buttons appear now? thanks :)

tinkercnc commented 4 years ago

I just uploaded a new version, cand you check if buttons appear now? thanks :)

Nope, for instance the 


 Phonk Example Device info shows this:

Screenshot_2020-07-03-15-03-08

garydion commented 4 years ago

I can confirm that the buttons now display correctly during install. Though like tinkercnc, my application buttons are still all white like in his screen shot.

victordiaz commented 4 years ago

Ok, it seems that there is something wrong :) I have a device with 4.2 and dont get that problem :/ I'll have a deeper look tonight with the emulator

Thanks for checking

victordiaz commented 4 years ago

I think I found the problem. Apparently devices < 5.0 don't like background with transparencies. So I made a small hack to use a color shader on Androids lower than 5.0

I uploaded a version here https://github.com/victordiaz/PHONK/releases/tag/1.2.4

Could you check it? Thanks :)

tinkercnc commented 4 years ago

Yeah! Yes it's working! Great piece of software!

Thanks a lot!

boriskohen commented 4 years ago

Thank you. It's working now. Great piece of software!

garydion commented 4 years ago

Yep, fixed on my phone too. The buttons looks great. Thanks!