Initial changes to Material 3

This commit is contained in:
Jarne Demeulemeester 2022-02-13 14:46:31 +01:00
parent 1ddfe0bebe
commit 4f61d0bac4
No known key found for this signature in database
GPG key ID: 65C6006F2032DD14
3 changed files with 6 additions and 6 deletions

View file

@ -1,14 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="ShapeAppearance.Findroid.SmallComponent" parent="ShapeAppearance.MaterialComponents.SmallComponent">
<style name="ShapeAppearance.Findroid.SmallComponent" parent="ShapeAppearance.Material3.SmallComponent">
<item name="cornerSize">10dp</item>
</style>
<style name="ShapeAppearance.Findroid.MediumComponent" parent="ShapeAppearance.MaterialComponents.MediumComponent">
<style name="ShapeAppearance.Findroid.MediumComponent" parent="ShapeAppearance.Material3.MediumComponent">
<item name="cornerSize">10dp</item>
</style>
<style name="ShapeAppearance.Findroid.LargeComponent" parent="ShapeAppearance.MaterialComponents.LargeComponent">
<style name="ShapeAppearance.Findroid.LargeComponent" parent="ShapeAppearance.Material3.LargeComponent">
<item name="cornerSize">10dp</item>
</style>

View file

@ -1,11 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="ErrorDialogStyle" parent="MaterialAlertDialog.MaterialComponents">
<style name="ErrorDialogStyle" parent="MaterialAlertDialog.Material3">
<item name="materialAlertDialogBodyTextStyle">@style/AlertDialogBodyText</item>
</style>
<style name="AlertDialogBodyText" parent="MaterialAlertDialog.MaterialComponents.Body.Text">
<style name="AlertDialogBodyText" parent="MaterialAlertDialog.Material3.Body.Text">
<item name="android:fontFamily">monospace</item>
</style>

View file

@ -2,7 +2,7 @@
<!-- Base application theme. -->
<style name="Theme.Findroid" parent="Base.Theme.Findroid" />
<style name="Base.Theme.Findroid" parent="Theme.MaterialComponents.DayNight.NoActionBar">
<style name="Base.Theme.Findroid" parent="Theme.Material3.DayNight.NoActionBar">
<!-- Main colors -->
<item name="colorPrimary">@color/blue_600</item>
<item name="colorPrimaryVariant">@color/blue_800</item>