mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-09 03:37:03 +01:00
Fix stress colors
This commit is contained in:
parent
a3e6d446d7
commit
996d176cc2
@ -438,11 +438,11 @@ public class StressChartFragment extends AbstractChartFragment<StressChartFragme
|
||||
}
|
||||
|
||||
protected enum StressType {
|
||||
UNKNOWN(R.string.unknown, R.color.chart_not_worn_light),
|
||||
RELAXED(R.string.stress_relaxed, R.color.chart_rem_sleep_dark),
|
||||
MILD(R.string.stress_mild, R.color.chart_activity_dark),
|
||||
MODERATE(R.string.stress_moderate, R.color.chart_heartrate),
|
||||
HIGH(R.string.stress_high, R.color.chart_heartrate_alternative),
|
||||
UNKNOWN(R.string.unknown, R.color.chart_stress_unknown),
|
||||
RELAXED(R.string.stress_relaxed, R.color.chart_stress_relaxed),
|
||||
MILD(R.string.stress_mild, R.color.chart_stress_mild),
|
||||
MODERATE(R.string.stress_moderate, R.color.chart_stress_moderate),
|
||||
HIGH(R.string.stress_high, R.color.chart_stress_high),
|
||||
;
|
||||
|
||||
private final int labelId;
|
||||
|
@ -37,6 +37,12 @@
|
||||
<color name="chart_not_worn_light" type="color">#545254</color>
|
||||
<color name="chart_not_worn_dark" type="color">#d8d9d8</color>
|
||||
|
||||
<color name="chart_stress_unknown" type="color">#545254</color>
|
||||
<color name="chart_stress_relaxed" type="color">#46acea</color>
|
||||
<color name="chart_stress_mild" type="color">#59b22c</color>
|
||||
<color name="chart_stress_moderate" type="color">#ffab40</color>
|
||||
<color name="chart_stress_high" type="color">#8B0000</color>
|
||||
|
||||
<color name="alternate_row_background_light">#FFEDEDED</color>
|
||||
<color name="alternate_row_background_dark">#545254</color>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user