mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-09 18:48:51 -06:00
Minor color changes
This commit is contained in:
@@ -147,7 +147,7 @@ public class HabitHistoryView extends ScrollableDataView
|
||||
protected void createPaints()
|
||||
{
|
||||
pTextHeader = new Paint();
|
||||
pTextHeader.setColor(Color.LTGRAY);
|
||||
pTextHeader.setColor(Color.argb(64, 0, 0, 0));
|
||||
pTextHeader.setTextAlign(Align.LEFT);
|
||||
pTextHeader.setAntiAlias(true);
|
||||
|
||||
|
||||
@@ -100,7 +100,7 @@ public class HabitScoreView extends ScrollableDataView
|
||||
protected void createPaints()
|
||||
{
|
||||
pText = new Paint();
|
||||
pText.setColor(Color.LTGRAY);
|
||||
pText.setColor(Color.argb(64, 0, 0, 0));
|
||||
pText.setTextAlign(Paint.Align.LEFT);
|
||||
pText.setAntiAlias(true);
|
||||
|
||||
@@ -109,7 +109,7 @@ public class HabitScoreView extends ScrollableDataView
|
||||
pGraph.setAntiAlias(true);
|
||||
|
||||
pGrid = new Paint();
|
||||
pGrid.setColor(Color.LTGRAY);
|
||||
pGrid.setColor(Color.argb(64, 0, 0, 0));
|
||||
pGrid.setAntiAlias(true);
|
||||
|
||||
}
|
||||
@@ -240,7 +240,7 @@ public class HabitScoreView extends ScrollableDataView
|
||||
int nRows = 5;
|
||||
float rowHeight = rGrid.height() / nRows;
|
||||
|
||||
pGrid.setColor(Color.rgb(240, 240, 240));
|
||||
pGrid.setColor(Color.argb(20, 0, 0, 0));
|
||||
for (int i = 0; i < nRows; i++)
|
||||
{
|
||||
canvas.drawText(String.format("%d%%", (100 - i * 100 / nRows)), rGrid.left + 0.5f * em,
|
||||
|
||||
@@ -103,7 +103,7 @@ public class HabitStreakView extends ScrollableDataView
|
||||
columnWidth = baseSize;
|
||||
columnHeight = 8 * baseSize;
|
||||
headerHeight = baseSize;
|
||||
nColumns = width / baseSize;
|
||||
nColumns = width / baseSize - 1;
|
||||
|
||||
pText.setTextSize(baseSize * 0.5f);
|
||||
pBar.setTextSize(baseSize * 0.5f);
|
||||
@@ -123,7 +123,7 @@ public class HabitStreakView extends ScrollableDataView
|
||||
protected void createPaints()
|
||||
{
|
||||
pText = new Paint();
|
||||
pText.setColor(Color.LTGRAY);
|
||||
pText.setColor(Color.argb(64, 0, 0, 0));
|
||||
pText.setTextAlign(Paint.Align.CENTER);
|
||||
pText.setAntiAlias(true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user