-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from myadzel/issue/11
App appearance in night mode
- Loading branch information
Showing
12 changed files
with
84 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<color name="primary">#999999</color> | ||
<color name="secondary">#980b0b</color> | ||
<color name="error_text_bg">@color/red</color> | ||
<color name="ok_text_bg">@color/green</color> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,9 @@ | ||
<resources xmlns:tools="http://schemas.android.com/tools"> | ||
<!-- Base application theme. --> | ||
<resources> | ||
<style name="Theme.SportiduinoApp" parent="Theme.MaterialComponents.DayNight.DarkActionBar"> | ||
<!-- Primary brand color. --> | ||
<item name="colorPrimary">@color/primary_light</item> | ||
<item name="colorPrimaryVariant">@color/primary_dark</item> | ||
<item name="colorOnPrimary">@color/black</item> | ||
<!-- Secondary brand color. --> | ||
<item name="colorSecondary">@color/teal_200</item> | ||
<item name="colorSecondaryVariant">@color/teal_200</item> | ||
<item name="colorOnSecondary">@color/black</item> | ||
<!-- Status bar color. --> | ||
<item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item> | ||
<!-- Customize your theme here. --> | ||
<item name="colorPrimary">@color/primary</item> | ||
<item name="colorSecondary">@color/secondary</item> | ||
</style> | ||
|
||
<style name="Theme.SportiduinoApp.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark" /> | ||
<style name="Theme.SportiduinoApp.PopupOverlay" parent="ThemeOverlay.AppCompat.Dark" /> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,14 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<color name="purple_200">#FFBB86FC</color> | ||
<color name="purple_500">#FF6200EE</color> | ||
<color name="purple_700">#FF3700B3</color> | ||
<color name="primary">#343b9f</color> | ||
<color name="primary_light">#6a65d1</color> | ||
<color name="primary_dark">#001570</color> | ||
<color name="teal_200">#FF03DAC5</color> | ||
<color name="teal_700">#FF018786</color> | ||
<color name="black">#FF000000</color> | ||
<color name="white">#FFFFFFFF</color> | ||
<color name="gray">#FF808080</color> | ||
<color name="error_text_bg">#FFF6C0C0</color> | ||
<color name="ok_text_bg">#FFC5E1B0</color> | ||
<color name="primary">#333333</color> | ||
<color name="secondary">#980b0b</color> | ||
<color name="black">#ff000000</color> | ||
<color name="white">#ffffffff</color> | ||
<color name="gray">#ff808080</color> | ||
<color name="red">#ff0000</color> | ||
<color name="green">#008000</color> | ||
<color name="yellow">#ffc300</color> | ||
<color name="error_text_bg">#fff6c0c0</color> | ||
<color name="ok_text_bg">#ffc5E1b0</color> | ||
<color name="border_color">@color/gray</color> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,15 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<androidx.preference.PreferenceScreen | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:app="http://schemas.android.com/apk/res-auto"> | ||
xmlns:android="http://schemas.android.com/apk/res/android"> | ||
|
||
<org.sportiduino.app.PasswordPreference | ||
android:key="password" | ||
android:title="@string/password" | ||
android:summary="" /> | ||
|
||
<!-- | ||
<SwitchPreferenceCompat | ||
android:defaultValue="false" | ||
android:key="night_mode" | ||
android:defaultValue="false" | ||
android:title="@string/night_mode" /> | ||
--> | ||
|
||
</androidx.preference.PreferenceScreen> |