Meshtastic-Android/app/src/main/res/values/styles.xml

44 lines
1.8 KiB
XML
Raw Normal View History

2025-05-17 11:39:53 -05:00
<?xml version="1.0" encoding="utf-8"?><!--
2025-01-02 06:50:26 -03:00
Copyright (c) 2025 Meshtastic LLC
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
-->
2020-01-20 15:53:22 -08:00
<resources>
<!-- Base application theme. -->
2025-05-17 11:39:53 -05:00
<style name="AppTheme" parent="Theme.Material3.DynamicColors.DayNight.NoActionBar">
<!-- Customize your theme here. -->
<item name="android:windowTranslucentStatus">true</item>
<item name="android:windowTranslucentNavigation">true</item>
</style>
2022-02-04 00:57:27 -03:00
<style name="Theme.App.Starting" parent="Theme.SplashScreen">
// Set the splash screen background, animated icon, and animation duration.
<item name="windowSplashScreenBackground">@color/selectedColor</item>
// Use windowSplashScreenAnimatedIcon to add either a drawable or an
// animated drawable. One of these is required.
<item name="windowSplashScreenAnimatedIcon">@drawable/ic_launcher2_foreground</item>
2025-05-17 11:39:53 -05:00
<item name="windowSplashScreenAnimationDuration">1000</item>
# Required for
2022-02-04 00:57:27 -03:00
# animated icons
// Set the theme of the Activity that directly follows your splash screen.
2025-05-17 11:39:53 -05:00
<item name="postSplashScreenTheme">@style/AppTheme</item>
# Required.
2022-02-04 00:57:27 -03:00
</style>
2020-01-20 15:53:22 -08:00
</resources>