Skip to content

Commit

Permalink
Change default window background for the application
Browse files Browse the repository at this point in the history
  • Loading branch information
msasikanth committed Oct 17, 2023
1 parent 2795a00 commit 4f0b346
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
2 changes: 1 addition & 1 deletion androidApp/src/androidMain/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/Theme.AppCompat.NoActionBar"
android:theme="@style/Theme.Twine.App"
android:allowBackup="false"
android:fullBackupContent="false"
android:dataExtractionRules="@xml/data_extraction_rules"
Expand Down
1 change: 1 addition & 0 deletions androidApp/src/androidMain/res/values/colors.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#212121</color>
<color name="window_background_color">#0B0F0D</color>
</resources>
21 changes: 21 additions & 0 deletions androidApp/src/androidMain/res/values/theme.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?><!--
~ Copyright 2023 Sasikanth Miriyampalli
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<resources>
<style name="Theme.Twine.App" parent="Theme.AppCompat.NoActionBar">
<item name="android:windowBackground">@color/window_background_color</item>
</style>
</resources>

0 comments on commit 4f0b346

Please sign in to comment.