Skip to content

Commit 94509d8

Browse files
authored
Merge pull request #155 from corenting/fixes/theming-issues
fix theming issues
2 parents 1c124e1 + 4353cab commit 94509d8

File tree

9 files changed

+6
-5
lines changed

9 files changed

+6
-5
lines changed

app/src/main/res/layout/activity_converter.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
android:background="?attr/colorPrimary"
1515
android:theme="@style/ThemeOverlay.Material3.Dark.ActionBar"
1616
app:menu="@menu/converter"
17-
app:popupTheme="@style/ThemeOverlay.Material3.Light"
17+
app:popupTheme="@style/AppTheme"
1818
app:title="@string/appName" />
1919

2020
</com.google.android.material.appbar.AppBarLayout>
@@ -115,6 +115,7 @@
115115
android:layout_below="@+id/yearOfResultInput"
116116
android:layout_centerHorizontal="true"
117117
android:layout_marginTop="24dp"
118+
android:textColor="@android:color/white"
118119
android:text="@string/convertButton" />
119120

120121
<com.google.android.material.textfield.TextInputLayout

app/src/main/res/values/colors.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1+
12
<resources>
2-
<color name="md_theme_light_primary">#03A9F4</color>
3+
<color name="md_theme_light_primary">#03A8F2</color>
34
<color name="md_theme_dark_primary">#006493</color>
45
</resources>

app/src/main/res/values/themes.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@
22
<resources>
33
<style name="AppTheme" parent="Theme.Material3.Light.NoActionBar">
44
<item name="colorPrimary">@color/md_theme_light_primary</item>
5-
65
</style>
76
</resources>
1.94 KB
Loading
1.95 KB
Loading
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Inflation Calculator (USA, UK and France)
1+
Inflation Calculator
-1.57 KB
Loading
-895 Bytes
Loading
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Calculateur d'inflation (France, USA, UK)
1+
Calculateur d'inflation

0 commit comments

Comments
 (0)