hanjing 6 vuotta sitten
vanhempi
commit
efea5c2add

+ 2 - 2
app/src/main/AndroidManifest.xml

@@ -189,7 +189,7 @@
 
         <activity
             android:name="com.sheep.gamegroup.view.activity.PersonalInfoAct"
-            android:screenOrientation="portrait"
+            android:screenOrientation="behind"
             android:theme="@style/AppActionTheme" />
         <activity
             android:name="com.sheep.gamegroup.view.activity.SplashAct"
@@ -244,7 +244,7 @@
             android:exported="true"
             android:hardwareAccelerated="true"
             android:launchMode="singleInstance"
-            android:screenOrientation="portrait"
+            android:screenOrientation="behind"
             android:theme="@style/AppThemeTransparent"
             android:windowSoftInputMode="adjustPan|stateHidden">
             <intent-filter android:autoVerify="true">

+ 3 - 1
app/src/main/res/values-v26/style_theme.xml

@@ -32,8 +32,9 @@
         <item name="btn_color">@color/btn_color_main</item>
 
         <item name="android:windowTranslucentStatus">true</item>
-        <item name="android:windowIsTranslucent">true</item>
+        <item name="android:windowIsTranslucent">false</item>
         <item name="android:statusBarColor">@android:color/transparent</item>
+        <item name="android:windowDisablePreview">true</item>
     </style>
 
     <style name="AppThemeMain" parent="AppTheme">
@@ -77,6 +78,7 @@
 
         <item name="android:windowTranslucentStatus">true</item>
         <item name="android:windowIsTranslucent">false</item>
+        <item name="android:windowDisablePreview">true</item>
         <item name="android:windowBackground">@android:color/transparent</item>
     </style>
 </resources>