Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17086

Android bottom inset

$
0
0

@DanielRossler wrote:

How do I get,
for android phones that has rounded corners on the bottom,
Samsung Galaxy S10, for example,
the bottom margin size that I should exclude from my display ?

There is a Java method of the class DisplayCutout (api level 28),
named getSafeInsetBottom() that should return this.

Is there support for this in 3.17 ?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 17086

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>