A
A
Andrey Okhotnikov2019-10-02 12:02:53
React Native
Andrey Okhotnikov, 2019-10-02 12:02:53

Problems with bangs on Android?

5d9467873f28e701340205.png
On Android, the title goes behind the bang, how to make the screen start where the bang ends?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
Roman Alexandrovich, 2019-10-02
@RomReed

If it was an iphone, then I would advise you, but this is some kind of China, most likely. Therefore, you will have to define it and for it to write the styles that suit you.

A
Adamos, 2019-10-02
@Adamos

You can start to figure it out here: https://developer.android.com/guide/topics/display...
I won't tell you how it is specifically with React - I don't know how it interacts with another system. If there is a Java wrapper there, then you just need to set LAYOUT_IN_DISPLAY_CUTOUT_MODE_NEVER in it.

L
lnked, 2019-10-03
@lnked

Try it with SafeAreaView

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question