Skip to content

Commit

Permalink
💄 Migrate example app to Material Design 3
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxr1998 committed Jun 11, 2022
1 parent 43b76b3 commit de27325
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 13 deletions.
1 change: 0 additions & 1 deletion testapp/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

<com.google.android.material.appbar.MaterialToolbar
android:id="@+id/toolbar"
style="@style/Widget.MaterialComponents.Toolbar.Primary"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
app:title="@string/app_name" />
Expand Down
6 changes: 0 additions & 6 deletions testapp/src/main/res/values/colors.xml

This file was deleted.

8 changes: 2 additions & 6 deletions testapp/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
<resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.MaterialComponents.DayNight.NoActionBar">
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryVariant">@color/colorPrimaryVariant</item>
<item name="colorOnPrimary">@android:color/white</item>
<item name="colorSecondary">@color/colorSecondary</item>
<item name="android:statusBarColor">?attr/colorPrimaryVariant</item>
<style name="AppTheme" parent="Theme.Material3.DayNight.NoActionBar">
<item name="android:statusBarColor">@android:color/transparent</item>
</style>
</resources>

0 comments on commit de27325

Please sign in to comment.