Skip to content

Commit

Permalink
fix-- webview full screen with screen rotate
Browse files Browse the repository at this point in the history
  • Loading branch information
zobaer53 committed Sep 18, 2023
1 parent abc2795 commit a4ab7cf
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
Binary file modified .gradle/buildOutputCleanup/buildOutputCleanup.lock
Binary file not shown.
2 changes: 1 addition & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<activity
android:name=".ui.webview.WebViewActivity"
android:exported="false"
android:theme="@style/Theme.zedMovies"
android:theme="@style/Theme.NoActionbar.FullScreen.zedMovies"
android:configChanges="orientation|screenSize|keyboardHidden|keyboard"
android:windowSoftInputMode="adjustPan"/>
<activity
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ class WebViewActivity : ComponentActivity() {
}

}

}
}
}
Expand Down
7 changes: 7 additions & 0 deletions app/src/main/res/values/themes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
<item name="android:windowLightNavigationBar" tools:targetApi="27">true</item>
<item name="android:dialogTheme">@style/Theme.zedMovies.Dialog</item>
</style>
<style name="Theme.NoActionbar.FullScreen.zedMovies" parent="android:Theme.Material.Light.NoActionBar.Fullscreen">
<item name="android:statusBarColor">@color/primaryLight</item>
<item name="android:navigationBarColor">@color/primaryLight</item>
<item name="android:windowLightStatusBar" >true</item>
<item name="android:windowLightNavigationBar" tools:targetApi="27">true</item>
<item name="android:dialogTheme">@style/Theme.zedMovies.Dialog</item>
</style>

<style name="Theme.zedMovies.Splash">
<item name="android:windowSplashScreenBackground">@color/primaryDark</item>
Expand Down

0 comments on commit a4ab7cf

Please sign in to comment.