Start with dark mode

This commit is contained in:
Sylvia van Os
2019-12-02 15:05:19 +01:00
parent 7cb5eba18f
commit 9b5a731d48
3 changed files with 6 additions and 7 deletions

View File

@@ -38,7 +38,7 @@
android:layout_width="match_parent"
android:background="@color/inputBorder" />
<TableRow
android:background="@color/inputBackground"
android:background="?android:attr/colorBackground"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<View
@@ -90,7 +90,7 @@
android:layout_width="match_parent"
android:background="@color/inputBorder" />
<TableRow
android:background="@color/inputBackground"
android:background="?android:attr/colorBackground"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<View
@@ -142,7 +142,7 @@
android:layout_width="match_parent"
android:background="@color/inputBorder" />
<TableRow
android:background="@color/inputBackground"
android:background="?android:attr/colorBackground"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<View
@@ -214,7 +214,7 @@
android:layout_width="match_parent"
android:background="@color/inputBorder" />
<TableRow
android:background="@color/inputBackground"
android:background="?android:attr/colorBackground"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<View
@@ -288,7 +288,7 @@
android:background="@color/inputBorder" />
<TableRow
android:id="@+id/cardIdTableRow"
android:background="@color/inputBackground"
android:background="?android:attr/colorBackground"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<View

View File

@@ -11,7 +11,6 @@
<color name="colorSecondaryText">#000000</color>
<color name="inputContrastBackground">#F8F8F8</color>
<color name="inputBackground">#FFFFFF</color>
<color name="inputBorder">#DDDDDD</color>
<color name="inputDividerBorder">#AAAAAA</color>
</resources>

View File

@@ -1,7 +1,7 @@
<resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<style name="AppTheme" parent="Theme.AppCompat.DayNight.DarkActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>