Android reserves the space on top implicitly unlike iOS so you shouldn't 
need anything. The safe area API should work for the noches there too. 
Including information about round corners of the device etc. We probably 
need more representative skins to cover various edge cases here...

On Thursday, March 11, 2021 at 4:39:21 PM UTC+2 [email protected] wrote:

> Thanks P5, that will be an interesting way to test this
>
> On Thu, 11 Mar 2021 at 10:16, 'P5music' via CodenameOne Discussions <
> [email protected]> wrote:
>
>> Many phone producers allow you to download the skin of their devices from 
>> their website, you can create an AVD in AndroidStudio with that, then test 
>> your app on the emulator about the UI and the notch.
>> I hope this help you, if I understand what you need.
>> Regards
>>
>> Il giorno giovedì 11 marzo 2021 alle 10:59:28 UTC+1 [email protected] 
>> ha scritto:
>>
>>> Hi,
>>>
>>> I just finished adjusting and testing for iPhone notches (
>>> https://www.codenameone.com/blog/safe-areas.html)
>>>
>>> I did a quick search online and found that there are multiple Android 
>>> phones with notches now too (
>>> https://www.cnet.com/pictures/phones-with-notches/10/). Has anyone been 
>>> able to test a CN1 app on them? Does a standard CN1 toolbar need extra 
>>> padding as in the case of iOS?
>>>
>>> Many thanks
>>>
>>> Javier
>>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "CodenameOne Discussions" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/codenameone-discussions/93045ee3-b26c-4116-b4bd-0bd417042c5dn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/codenameone-discussions/93045ee3-b26c-4116-b4bd-0bd417042c5dn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/f056e461-2ae6-45b6-bd8a-3278d797bb72n%40googlegroups.com.

Reply via email to