feat: material3 (#1862)

This commit is contained in:
James Rich 2025-05-17 11:39:53 -05:00 committed by GitHub
parent 8db9665ff3
commit 4cba13ea14
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
99 changed files with 2134 additions and 1606 deletions

View file

@ -580,7 +580,8 @@
<string name="long_name">Long name</string>
<string name="short_name">Short name</string>
<string name="hardware_model">Hardware model</string>
<string name="licensed_amateur_radio">Licensed amateur radio</string>
<string name="licensed_amateur_radio">Licensed amateur radio (HAM)</string>
<string name="licensed_amateur_radio_text">Enabling this option disables encryption and is not compatible with the default Meshtastic network.</string>
<string name="dew_point">Dew Point</string>
<string name="pressure">Pressure</string>
<string name="gas_resistance">Gas Resistance</string>
@ -607,4 +608,5 @@
<string name="alt">Alt</string>
<string name="set_region">Set Region</string>
<string name="unmute">Unmute</string>
<string name="dynamic">Dynamic</string>
</resources>

View file

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
<?xml version="1.0" encoding="utf-8"?><!--
Copyright (c) 2025 Meshtastic LLC
This program is free software: you can redistribute it and/or modify
@ -19,7 +18,11 @@
<resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.MaterialComponents.DayNight.NoActionBar"/>
<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>
<style name="Theme.App.Starting" parent="Theme.SplashScreen">
// Set the splash screen background, animated icon, and animation duration.
@ -28,11 +31,13 @@
// Use windowSplashScreenAnimatedIcon to add either a drawable or an
// animated drawable. One of these is required.
<item name="windowSplashScreenAnimatedIcon">@drawable/ic_launcher2_foreground</item>
<item name="windowSplashScreenAnimationDuration">1000</item> # Required for
<item name="windowSplashScreenAnimationDuration">1000</item>
# Required for
# animated icons
// Set the theme of the Activity that directly follows your splash screen.
<item name="postSplashScreenTheme">@style/AppTheme</item> # Required.
<item name="postSplashScreenTheme">@style/AppTheme</item>
# Required.
</style>
</resources>