1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-25 03:16:51 +01:00

Use colors that are easier on the eyes

Changed the colors of the Deep-/Light Sleep and Activity datasets.
* Deep sleep has been used as basic color,
* Light sleep is a color that is monochromatically analogous
* Activity is a color triadic to the basic one
This commit is contained in:
Daniele Gobbetti 2015-06-12 11:17:44 +02:00
parent 8aef92026c
commit 75de3b21e1

View File

@ -341,7 +341,7 @@ public class SleepChartActivity extends Activity {
// set1.setFillColor(ColorTemplate.getHoloBlue()); // set1.setFillColor(ColorTemplate.getHoloBlue());
set1.setDrawValues(false); set1.setDrawValues(false);
// set1.setHighLightColor(Color.rgb(128, 0, 255)); // set1.setHighLightColor(Color.rgb(128, 0, 255));
set1.setColor(Color.rgb(128, 0, 255)); set1.setColor(Color.rgb(89, 178, 44));
set1.setValueTextColor(Color.WHITE); set1.setValueTextColor(Color.WHITE);
return set1; return set1;
} }
@ -357,7 +357,7 @@ public class SleepChartActivity extends Activity {
// set1.setFillColor(ColorTemplate.getHoloBlue()); // set1.setFillColor(ColorTemplate.getHoloBlue());
set1.setDrawValues(false); set1.setDrawValues(false);
// set1.setHighLightColor(Color.rgb(244, 117, 117)); // set1.setHighLightColor(Color.rgb(244, 117, 117));
set1.setColor(Color.rgb(255, 64, 0)); set1.setColor(Color.rgb(76, 90, 255));
set1.setValueTextColor(Color.WHITE); set1.setValueTextColor(Color.WHITE);
return set1; return set1;
} }
@ -374,7 +374,7 @@ public class SleepChartActivity extends Activity {
// set1.setFillColor(ColorTemplate.getHoloBlue()); // set1.setFillColor(ColorTemplate.getHoloBlue());
set1.setDrawValues(false); set1.setDrawValues(false);
// set1.setHighLightColor(Color.rgb(244, 117, 117)); // set1.setHighLightColor(Color.rgb(244, 117, 117));
set1.setColor(Color.rgb(255, 199, 0)); set1.setColor(Color.rgb(152, 161, 255));
set1.setValueTextColor(Color.WHITE); set1.setValueTextColor(Color.WHITE);
// set1.setColor(Color.CYAN); // set1.setColor(Color.CYAN);
return set1; return set1;