diff options
| author | Christos Papageorgiou <root.expert.xda@gmail.com> | 2019-10-01 22:12:34 +0300 |
|---|---|---|
| committer | Julian Veit <claymore1298@gmail.com> | 2019-10-08 20:02:27 +0200 |
| commit | daf4e6f822b0a51f9bffe430875bac84caf7a2fb (patch) | |
| tree | 6f07f826196ad802b994c1b2a7aca2b10ccc557f | |
| parent | a2e454f269bfc474a0060e0fee13387e3cafef12 (diff) | |
JamesDSPManager: Change Equalizer colors.
Signed-off-by: Christos Papageorgiou <root.expert.xda@gmail.com>
Change-Id: I35ae951b54a72b018f7fc0558c2198fd282f3091
| -rw-r--r-- | app/src/main/java/james/dsp/preference/EqualizerSurface.java | 10 | ||||
| -rw-r--r-- | app/src/main/res/values/colors.xml | 11 | ||||
| -rw-r--r-- | app/src/main/res/values/styles.xml | 2 |
3 files changed, 12 insertions, 11 deletions
diff --git a/app/src/main/java/james/dsp/preference/EqualizerSurface.java b/app/src/main/java/james/dsp/preference/EqualizerSurface.java index dc444d3..4c41fc8 100644 --- a/app/src/main/java/james/dsp/preference/EqualizerSurface.java +++ b/app/src/main/java/james/dsp/preference/EqualizerSurface.java @@ -116,11 +116,11 @@ public class EqualizerSurface extends SurfaceView * holo_blue_dark < 3 */ mFrequencyResponseBg.setShader(new LinearGradient(0, 0, 0, mHeight, - new int[]{ResourcesCompat.getColor(getResources(), R.color.eq_reddark, null), - ResourcesCompat.getColor(getResources(), R.color.eq_yellowdark, null), - ResourcesCompat.getColor(getResources(), R.color.eq_holo_brightdark, null), - ResourcesCompat.getColor(getResources(), R.color.eq_holo_bluedark, null), - ResourcesCompat.getColor(getResources(), R.color.eq_holo_darkdark, null) + new int[]{ResourcesCompat.getColor(getResources(), R.color.eq_high, null), + ResourcesCompat.getColor(getResources(), R.color.eq_mid_high, null), + ResourcesCompat.getColor(getResources(), R.color.eq_mid, null), + ResourcesCompat.getColor(getResources(), R.color.eq_mid_low, null), + ResourcesCompat.getColor(getResources(), R.color.eq_low, null) }, new float[]{0, 0.2f, 0.45f, 0.6f, 1f}, Shader.TileMode.CLAMP)); diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index 8769a78..e98ca66 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -23,10 +23,11 @@ <color name="freq_hl">#2000ddff</color> <color name="freq_hl2">#4033b5e5</color> - <color name="eq_reddark">#80ffffff</color> - <color name="eq_yellowdark">#80ffff00</color> - <color name="eq_holo_brightdark">#80ff0000</color> - <color name="eq_holo_bluedark">#80ff00ff</color> - <color name="eq_holo_darkdark">#80000080</color> + + <color name="eq_high">#2B9184</color> + <color name="eq_mid_high">#C6335FA2</color> + <color name="eq_mid">#A52559</color> + <color name="eq_mid_low">#80ff00ff</color> + <color name="eq_low">#80000080</color> </resources>
\ No newline at end of file diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index ca40c7c..5b5de33 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -19,7 +19,7 @@ <style name="AppTheme" parent="@android:style/Theme.Material"> <item name="drawerArrowStyle">@style/DrawerArrowStyle</item> </style> - + <style name="DrawerArrowStyle" parent="@style/Widget.AppCompat.DrawerArrowToggle"> <item name="spinBars">true</item> <item name="color">@android:color/white</item> |
