flutter-unity-view-widget icon indicating copy to clipboard operation
flutter-unity-view-widget copied to clipboard

AppBar is behind the status bar on Android

Open EskAere opened this issue 3 years ago • 2 comments

Describe the bug Once the UnityWidget is added to the tree, the AppBar goes behind the status bar on Android. The screenshots of the demo do not have the issue. If I install the demo, it happens though.

To Reproduce Steps to reproduce the behavior:

  1. Install demo
  2. Notice the missing height padding

Unity (please complete the following information):

  • OS: Android
  • Version 20.3.25f1

Smartphone (please complete the following information):

  • Device: Samsung Gs7
  • OS: 8.0

EskAere avatar Jan 19 '22 14:01 EskAere

I have the same issue too

LeeSzeYuan avatar Jan 26 '22 05:01 LeeSzeYuan

I have the same issue too

fish89757 avatar Mar 16 '22 03:03 fish89757

Probably all old Android before 11 have same issue.

niusounds avatar Jan 10 '23 11:01 niusounds

Can you add a screenshot?

I see the opposite, where the appbar becomes too tall. A unity setting resolves this though. Player settings > Resolution and Presentation > Render outside safe area.

(screenshot from a Galaxy S20FE which has a cutout camera hole) appbar

timbotimbo avatar Jan 10 '23 11:01 timbotimbo