Skip to content

Commit

Permalink
fix a darkmode problem
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr-TSNG committed May 1, 2021
1 parent a62d49f commit 3d38f05
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion app/src/main/res/layout/toolbar.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="@color/colorBackground"
android:theme="@style/ThemeOverlay.AppCompat.ActionBar"
app:popupTheme="@style/ThemeOverlay.AppCompat.Light" />
1 change: 0 additions & 1 deletion app/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@
<color name="teal">#009688</color>
<color name="colorPrimary">#3F51B5</color>
<color name="colorPrimaryDark">#303F9F</color>
<color name="colorBackground">#F5F5F5</color>
</resources>
3 changes: 0 additions & 3 deletions app/src/main/res/values/themes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<style name="AppTheme" parent="Theme.MaterialComponents.DayNight.NoActionBar">
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="android:colorBackground">@color/colorBackground</item>
<item name="android:statusBarColor">@android:color/transparent</item>
<item name="android:windowLightStatusBar">?attr/isLightTheme</item>
</style>
Expand All @@ -25,7 +24,6 @@
<item name="android:layout_marginTop">10dp</item>
<item name="android:layout_marginStart">18dp</item>
<item name="android:layout_marginEnd">18dp</item>
<item name="cardBackgroundColor">@color/colorBackground</item>
<item name="cardCornerRadius">10dp</item>
</style>

Expand All @@ -52,7 +50,6 @@
<item name="android:layout_marginBottom">10dp</item>
<item name="android:layout_marginStart">60dp</item>
<item name="android:layout_marginEnd">60dp</item>
<item name="cardBackgroundColor">@color/colorBackground</item>
<item name="cardCornerRadius">10dp</item>
</style>
</resources>

0 comments on commit 3d38f05

Please sign in to comment.