mirror of
https://github.com/vanitasvitae/Spherical
synced 2024-11-22 04:12:07 +01:00
Lock rotation, make app fullscreen
This commit is contained in:
parent
d48f161e3a
commit
9fed3dabd5
2 changed files with 7 additions and 9 deletions
|
@ -10,7 +10,8 @@
|
||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
android:roundIcon="@mipmap/ic_launcher_round"
|
android:roundIcon="@mipmap/ic_launcher_round"
|
||||||
android:supportsRtl="true"
|
android:supportsRtl="true"
|
||||||
android:theme="@style/AppTheme">
|
android:screenOrientation="portrait"
|
||||||
|
android:theme="@style/Theme.AppCompat.Light.NoActionBar.FullScreen">
|
||||||
<activity android:name=".MainActivity">
|
<activity android:name=".MainActivity">
|
||||||
<!-- Launcher -->
|
<!-- Launcher -->
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
|
|
|
@ -1,11 +1,8 @@
|
||||||
<resources>
|
<resources>
|
||||||
|
<style name="Theme.AppCompat.Light.NoActionBar.FullScreen" parent="@style/Theme.AppCompat.Light">
|
||||||
<!-- Base application theme. -->
|
<item name="windowNoTitle">true</item>
|
||||||
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
|
<item name="windowActionBar">false</item>
|
||||||
<!-- Customize your theme here. -->
|
<item name="android:windowFullscreen">true</item>
|
||||||
<item name="colorPrimary">@color/colorPrimary</item>
|
<item name="android:windowContentOverlay">@null</item>
|
||||||
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
|
||||||
<item name="colorAccent">@color/colorAccent</item>
|
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|
Loading…
Reference in a new issue