Android: fix maxAspectRatio (should be float) (#10080)

This commit is contained in:
Maksim 2020-06-23 20:00:34 +02:00 committed by GitHub
parent f7c78993f6
commit 646af2ef5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -23,12 +23,12 @@
<meta-data <meta-data
android:name="android.max_aspect" android:name="android.max_aspect"
android:value="3" /> android:value="3.0" />
<activity <activity
android:name=".MainActivity" android:name=".MainActivity"
android:configChanges="orientation|keyboardHidden|navigation|screenSize" android:configChanges="orientation|keyboardHidden|navigation|screenSize"
android:maxAspectRatio="3" android:maxAspectRatio="3.0"
android:screenOrientation="sensorLandscape" android:screenOrientation="sensorLandscape"
android:theme="@style/AppTheme"> android:theme="@style/AppTheme">
<intent-filter> <intent-filter>
@ -42,7 +42,7 @@
android:configChanges="orientation|keyboard|keyboardHidden|navigation|screenSize|smallestScreenSize" android:configChanges="orientation|keyboard|keyboardHidden|navigation|screenSize|smallestScreenSize"
android:hardwareAccelerated="true" android:hardwareAccelerated="true"
android:launchMode="singleTask" android:launchMode="singleTask"
android:maxAspectRatio="3" android:maxAspectRatio="3.0"
android:screenOrientation="sensorLandscape" android:screenOrientation="sensorLandscape"
android:theme="@style/AppTheme"> android:theme="@style/AppTheme">
<intent-filter> <intent-filter>
@ -55,7 +55,7 @@
<activity <activity
android:name=".InputDialogActivity" android:name=".InputDialogActivity"
android:maxAspectRatio="3" android:maxAspectRatio="3.0"
android:theme="@style/InputTheme" /> android:theme="@style/InputTheme" />
<service <service