Use AppTheme.Dark.NoActionBar.Translucent for GalleryActivity
This commit is contained in:
1 parent
702376979a
commit
310c510e33
3 files changed
+10
-1
No files matched your search
@@ -44,7 +44,7 @@
|
||||
<activity
|
||||
android:name="com.hippo.ehviewer.ui.GalleryActivity"
|
||||
android:configChanges="screenSize|uiMode"
|
||||
android:theme="@style/AppTheme.Dark.NoActionBar"
|
||||
android:theme="@style/AppTheme.Dark.NoActionBar.Translucent"
|
||||
android:windowSoftInputMode="stateAlwaysHidden">
|
||||
|
||||
</activity>
|
||||
|
||||
@@ -20,6 +20,11 @@
|
||||
<item name="android:windowTranslucentNavigation">true</item>
|
||||
</style>
|
||||
|
||||
<style name="AppTheme.Dark.NoActionBar.Translucent">
|
||||
<item name="android:windowTranslucentStatus">true</item>
|
||||
<item name="android:windowTranslucentNavigation">true</item>
|
||||
</style>
|
||||
|
||||
<style name="AppTheme.Content" parent="AppTheme.NoActionBar">
|
||||
<item name="android:windowBackground">@color/theme_primary_dark</item>
|
||||
|
||||
|
||||
@@ -41,6 +41,10 @@
|
||||
<!-- Only avalible on API 19 and above -->
|
||||
</style>
|
||||
|
||||
<style name="AppTheme.Dark.NoActionBar.Translucent">
|
||||
<!-- Only avalible on API 19 and above -->
|
||||
</style>
|
||||
|
||||
<style name="AppTheme.Content" parent="AppTheme.NoActionBar">
|
||||
<item name="android:windowBackground">@null</item>
|
||||
</style>
|
||||
|
||||
Reference in new issue
Block a user