Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit da2014c1 authored by nobunobuta's avatar nobunobuta
Browse files

Change Style themes

parent 4f1876c5
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -15,6 +15,7 @@

        <activity android:name="DeskClock"
                android:label="@string/app_label"
                android:theme="@style/Theme.Wallpaper.NoTitleBar"
                android:icon="@drawable/ic_widget_analog_clock"
                android:launchMode="singleInstance"
                android:configChanges="orientation|keyboardHidden|keyboard|navigation">
@@ -67,6 +68,7 @@
             with the wallpaper background. -->
        <activity android:name="AlarmAlertFullScreen"
                android:excludeFromRecents="true"
                android:theme="@style/Theme.Wallpaper.NoTitleBar"
                android:launchMode="singleInstance"
                android:taskAffinity=""
                android:configChanges="orientation|keyboardHidden|keyboard|navigation"/>

res/values/themes.xml

0 → 100644
+26 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>

<resources>
    <!-- Default theme for windows that want to have the user's selected
    	 wallpaper appear behind them.  -->
    <style name="Theme.Wallpaper" parent="android:Theme">
        <item name="android:windowBackground">@android:color/transparent</item>
<!--
        <item name="android:colorBackgroundCacheHint">@null</item>
        <item name="android:windowShowWallpaper">true</item>
-->
    </style>

    <!-- Variant of the translucent theme with no title bar -->
    <style name="Theme.Wallpaper.NoTitleBar">
        <item name="android:windowNoTitle">true</item>
    </style>

    <!-- Variant of the translucent theme that has no title bar and
         fills the entire screen -->
    <style name="Theme.Wallpaper.NoTitleBar.Fullscreen">
        <item name="android:windowFullscreen">true</item>
        <item name="android:windowContentOverlay">@null</item>
    </style>
</resources>