add dotline color
This commit is contained in:
parent
8b709e2b2a
commit
76a8187fd3
|
@ -201,7 +201,7 @@ class GraphData(
|
|||
paint.style = Paint.Style.STROKE
|
||||
paint.strokeWidth = 2f
|
||||
paint.pathEffect = DashPathEffect(floatArrayOf(10f, 20f), 0f)
|
||||
paint.color = Color.WHITE
|
||||
paint.color = rh.gac(graph.context, R.attr.dotLineColor)
|
||||
})
|
||||
})
|
||||
}
|
||||
|
|
|
@ -230,6 +230,7 @@
|
|||
<item name="ratioColor">@color/ratio</item>
|
||||
<item name="activityColor">@color/activity</item>
|
||||
<item name="basebasalColor">@color/basebasal</item>
|
||||
<item name="dotLineColor">@color/white</item>
|
||||
<!---Popupmenu TextColor -->
|
||||
<item name="menuTextColor">@color/black</item>
|
||||
<item name="menuTextColorInverse">@color/black</item>
|
||||
|
|
|
@ -207,6 +207,7 @@
|
|||
<attr name="ratioColor" format="reference|color" />
|
||||
<attr name="activityColor" format="reference|color" />
|
||||
<attr name="basebasalColor" format="reference|color" />
|
||||
<attr name="dotLineColor" format="reference|color" />
|
||||
<!---Popupmenu TextColor -->
|
||||
<attr name="menuTextColor" format="reference|color" />
|
||||
<attr name="menuTextColorInverse" format="reference|color" />
|
||||
|
|
|
@ -233,6 +233,7 @@
|
|||
<item name="ratioColor">@color/ratio</item>
|
||||
<item name="activityColor">@color/activity</item>
|
||||
<item name="basebasalColor">@color/basebasal</item>
|
||||
<item name="dotLineColor">@color/black</item>
|
||||
<!---Popupmenu TextColor -->
|
||||
<item name="menuTextColor">@color/black</item>
|
||||
<item name="menuTextColorInverse">@color/white</item>
|
||||
|
|
Loading…
Reference in a new issue