Skip to content

Commit ea02b17

Browse files
committed
fix: Android Bottom Screen Space
1 parent f724f94 commit ea02b17

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/app/ApplicationTemplate.Mobile/Android/AndroidManifest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
android:required="false" />
2020

2121
<!-- This is to properly support widescreen devices. -->
22+
<!-- This requires the activity to be resizable. -->
2223
<!-- See https://android-developers.googleblog.com/2017/03/update-your-app-to-take-advantage-of.html for more details. -->
2324
<meta-data android:name="android.max_aspect" android:value="2.1" />
2425

src/app/ApplicationTemplate.Mobile/Android/MainActivity.Android.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace ApplicationTemplate;
1010
ConfigurationChanges = global::Uno.UI.ActivityHelper.AllConfigChanges,
1111
WindowSoftInputMode = SoftInput.AdjustNothing | SoftInput.StateHidden,
1212
ScreenOrientation = ScreenOrientation.Portrait,
13-
ResizeableActivity = false,
13+
ResizeableActivity = true,
1414
LaunchMode = LaunchMode.SingleTask
1515
)]
1616
public sealed class MainActivity : Microsoft.UI.Xaml.ApplicationActivity

0 commit comments

Comments
 (0)