Moved from MaterialComponents to Material3

This commit is contained in:
CappielloAntonio 2022-01-07 09:37:15 +01:00
parent 25d7e9c447
commit 5fbbf4b0c2
11 changed files with 19 additions and 19 deletions

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<com.google.android.material.chip.Chip xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
style="@style/Widget.MaterialComponents.Chip.Choice"
style="@style/Widget.Material3.Chip.Suggestion"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:checkable="true"

View file

@ -5,7 +5,7 @@
android:orientation="vertical">
<com.google.android.material.textfield.TextInputLayout
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
style="@style/Widget.Material3.TextInputLayout.OutlinedBox"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="24dp"

View file

@ -5,7 +5,7 @@
android:orientation="vertical">
<com.google.android.material.textfield.TextInputLayout
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
style="@style/Widget.Material3.TextInputLayout.OutlinedBox"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="24dp"
@ -30,7 +30,7 @@
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
style="@style/Widget.Material3.TextInputLayout.OutlinedBox"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="24dp"
@ -54,7 +54,7 @@
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
style="@style/Widget.Material3.TextInputLayout.OutlinedBox"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="24dp"
@ -80,7 +80,7 @@
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
style="@style/Widget.Material3.TextInputLayout.OutlinedBox"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="24dp"

View file

@ -11,7 +11,7 @@
android:layout_height="?attr/actionBarSize"
app:layout_collapseMode="pin"
app:navigationIcon="@drawable/ic_arrow_back"
app:popupTheme="@style/ThemeOverlay.MaterialComponents.Light"
app:popupTheme="@style/ThemeOverlay.Material3.Light"
app:titleTextColor="@color/titleTextColor" />
<androidx.core.widget.NestedScrollView

View file

@ -10,7 +10,7 @@
android:layout_width="match_parent"
android:layout_height="@dimen/appbar_header_height"
android:fitsSystemWindows="true"
android:theme="@style/ThemeOverlay.MaterialComponents.Dark.ActionBar">
android:theme="@style/ThemeOverlay.Material3.Dark.ActionBar">
<com.google.android.material.appbar.CollapsingToolbarLayout
android:id="@+id/collapsing_toolbar"
@ -40,7 +40,7 @@
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
app:layout_collapseMode="pin"
app:popupTheme="@style/ThemeOverlay.MaterialComponents.Light"
app:popupTheme="@style/ThemeOverlay.Material3.Light"
app:titleTextColor="@color/titleTextColor" />
</com.google.android.material.appbar.CollapsingToolbarLayout>

View file

@ -8,7 +8,7 @@
android:id="@+id/appbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:theme="@style/ThemeOverlay.MaterialComponents.Dark.ActionBar"
android:theme="@style/ThemeOverlay.Material3.Dark.ActionBar"
app:elevation="0dp">
<androidx.appcompat.widget.Toolbar
@ -17,7 +17,7 @@
android:layout_height="wrap_content"
android:background="@color/colorPrimary"
app:layout_scrollFlags="scroll|enterAlways|snap"
app:popupTheme="@style/ThemeOverlay.MaterialComponents.Light">
app:popupTheme="@style/ThemeOverlay.Material3.Light">
<LinearLayout
android:layout_width="match_parent"

View file

@ -8,7 +8,7 @@
android:id="@+id/appbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:theme="@style/ThemeOverlay.MaterialComponents.Dark.ActionBar"
android:theme="@style/ThemeOverlay.Material3.Dark.ActionBar"
app:elevation="0dp">
<androidx.appcompat.widget.Toolbar
@ -17,7 +17,7 @@
android:layout_height="wrap_content"
android:background="@color/colorPrimary"
app:layout_scrollFlags="scroll|enterAlways|snap"
app:popupTheme="@style/ThemeOverlay.MaterialComponents.Light">
app:popupTheme="@style/ThemeOverlay.Material3.Light">
<LinearLayout
android:layout_width="match_parent"

View file

@ -8,7 +8,7 @@
android:id="@+id/appbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:theme="@style/ThemeOverlay.MaterialComponents.Dark.ActionBar"
android:theme="@style/ThemeOverlay.Material3.Dark.ActionBar"
app:elevation="0dp">
<androidx.appcompat.widget.Toolbar
@ -17,7 +17,7 @@
android:layout_height="wrap_content"
android:background="@color/colorPrimary"
app:layout_scrollFlags="scroll|enterAlways|snap"
app:popupTheme="@style/ThemeOverlay.MaterialComponents.Light">
app:popupTheme="@style/ThemeOverlay.Material3.Light">
<LinearLayout
android:layout_width="match_parent"

View file

@ -11,7 +11,7 @@
android:layout_height="?attr/actionBarSize"
app:layout_collapseMode="pin"
app:navigationIcon="@drawable/ic_arrow_back"
app:popupTheme="@style/ThemeOverlay.MaterialComponents.Light"
app:popupTheme="@style/ThemeOverlay.Material3.Light"
app:titleTextColor="@color/titleTextColor" />
<androidx.core.widget.NestedScrollView

View file

@ -9,7 +9,7 @@
android:id="@+id/appbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:theme="@style/ThemeOverlay.MaterialComponents.Dark.ActionBar"
android:theme="@style/ThemeOverlay.Material3.Dark.ActionBar"
app:elevation="0dp"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintStart_toStartOf="parent"
@ -20,7 +20,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/colorPrimary"
app:popupTheme="@style/ThemeOverlay.MaterialComponents.Light">
app:popupTheme="@style/ThemeOverlay.Material3.Light">
<LinearLayout
android:layout_width="match_parent"

View file

@ -93,7 +93,7 @@
</style>
<!-- Font dei pulsanti vari presenti nell'applicazione -->
<style name="MainButton" parent="Widget.MaterialComponents.Button.UnelevatedButton">
<style name="MainButton" parent="Widget.Material3.Button.UnelevatedButton">
<item name="android:fontFamily">@font/inter</item>
<item name="android:textSize">14sp</item>
<item name="android:textFontWeight">700</item>