Merge pull request #4565 from osmandapp/favourites_fix

Add default color to change color dialog
This commit is contained in:
vshcherb 2017-10-13 10:46:56 +02:00 committed by GitHub
commit 81f6059dc5
2 changed files with 4 additions and 0 deletions

View file

@ -700,6 +700,7 @@
<string name="rendering_attr_currentTrackColor_description">GPX color</string>
<string name="rendering_attr_currentTrackWidth_name">GPX width</string>
<string name="rendering_attr_currentTrackWidth_description">GPX width</string>
<string name="rendering_value_darkyellow_name">Dark yellow</string>
<string name="rendering_value_red_name">Red</string>
<string name="rendering_value_translucent_red_name">Translucent red</string>
<string name="rendering_value_orange_name">Orange</string>

View file

@ -28,6 +28,7 @@ import static android.util.TypedValue.COMPLEX_UNIT_DIP;
public class ColorDialogs {
public static int[] paletteColors = new int[] {
R.string.rendering_value_darkyellow_name,
R.string.rendering_value_red_name,
R.string.rendering_value_orange_name,
R.string.rendering_value_yellow_name,
@ -41,6 +42,7 @@ public class ColorDialogs {
};
public static int[] pallette = new int[] {
0xb4eecc22,
0xb4d00d0d,
0xb4ff5020,
0xb4eeee10,
@ -54,6 +56,7 @@ public class ColorDialogs {
};
public static String[] paletteColorTags = new String[] {
"darkyellow",
"red",
"orange",
"yellow",