HI - I wonder if anyone can shed light on what im doing wrong please?
I have a new device to port my existing B4A application to. The apk has been in use for 5 years now without issue.
The APK mainly is used on rectangular format screens, however, previous round devices (Android 7) have worked well as they allowed a screen the full width of the display to be created and then using locators re-organise to fit within the circular format.
This device is Android 8.1 and round screen. The APK itself runs correctly apart from the display.
This device only allows me to access and draw on a rectangular surface within the circular display - IF I run a simple program (vanilla B4A apk panel plus single button) then below is a screen shot from the debugger (I added the black circle to represent the display edges., blue is the activity panel (Full screen - no Title), grey the test button, orange the area I can't draw in and green the area I had expected the panel to actually cover):
WYSIWYG designer also doesnt show items outside the rectangular blue area either.
In previous round devices I set the width and height to the screen full width resolution and therefore I have the whole area to utilise and literally just reorganise the screen items to fit in the displayable circular area.
I tried the solutions for wear and similar to see if there was something in the setup, but all report the same width, height, DPI and shape as undefined. I updated the manifest to exclude dark mode and related items but to no effect.
Interestingly, if I set the phonewakestate.keepalive to true the area outside the B4A panel is white, if I dont then its black.
I could live with this if only I could set the background OUTSIDE the B4A panel to a colour but as it is it make the whole apk look strange.
I have probably missed something important but I thought I would reach out to save me having to redesign the whole front end.
TIA
Harry
B4A 12.80 64bit - apk level set 28
I have a new device to port my existing B4A application to. The apk has been in use for 5 years now without issue.
The APK mainly is used on rectangular format screens, however, previous round devices (Android 7) have worked well as they allowed a screen the full width of the display to be created and then using locators re-organise to fit within the circular format.
This device is Android 8.1 and round screen. The APK itself runs correctly apart from the display.
This device only allows me to access and draw on a rectangular surface within the circular display - IF I run a simple program (vanilla B4A apk panel plus single button) then below is a screen shot from the debugger (I added the black circle to represent the display edges., blue is the activity panel (Full screen - no Title), grey the test button, orange the area I can't draw in and green the area I had expected the panel to actually cover):
WYSIWYG designer also doesnt show items outside the rectangular blue area either.
In previous round devices I set the width and height to the screen full width resolution and therefore I have the whole area to utilise and literally just reorganise the screen items to fit in the displayable circular area.
I tried the solutions for wear and similar to see if there was something in the setup, but all report the same width, height, DPI and shape as undefined. I updated the manifest to exclude dark mode and related items but to no effect.
Interestingly, if I set the phonewakestate.keepalive to true the area outside the B4A panel is white, if I dont then its black.
I could live with this if only I could set the background OUTSIDE the B4A panel to a colour but as it is it make the whole apk look strange.
I have probably missed something important but I thought I would reach out to save me having to redesign the whole front end.
TIA
Harry
B4A 12.80 64bit - apk level set 28