Skip to content

Commit a148480

Browse files
committed
Fix edge-to-edge behaviour for portrait WebView alerts
NOTE: WebView alerts are still broken in landscape mode. Is this a bug with how `fitsSystemWindows` is implemented for `AlertDialog`?
1 parent be7b0b7 commit a148480

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

app/src/main/res/values/styles.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
<item name="android:padding">@dimen/padding__dialog_button</item>
4949
</style>
5050
<style name="StrokeInputAlert" parent="Theme.StrokeInput">
51+
<item name="android:fitsSystemWindows">true</item>
5152
<item name="android:windowBackground">@color/very_dark_grey</item>
5253
<item name="android:backgroundDimEnabled">true</item>
5354
</style>

0 commit comments

Comments
 (0)