Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
switch graph color to Android 4.0 blue
  • Loading branch information
Xlythe committed Feb 5, 2013
1 parent 53a7e6e commit 64f1a8b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions res/values/colors.xml
Expand Up @@ -22,4 +22,5 @@
<color name="history_result">#999999</color>
<color name="background">#FF000000</color>
<color name="grey">#474747</color>
<color name="graph_color">#31B6E7</color>
</resources>
2 changes: 1 addition & 1 deletion src/com/android2/calculator3/Graph.java
Expand Up @@ -139,7 +139,7 @@ private XYMultipleSeriesRenderer buildRenderer(Context context) {
renderer.setZoomButtonsVisible(false);
renderer.setExternalZoomEnabled(true);
XYSeriesRenderer r = new XYSeriesRenderer();
r.setColor(Color.CYAN);
r.setColor(context.getResources().getColor(R.color.graph_color));
r.setPointStyle(PointStyle.POINT);
r.setLineWidth(4f);
renderer.addSeriesRenderer(r);
Expand Down

0 comments on commit 64f1a8b

Please sign in to comment.