|
|
|
@ -33,6 +33,7 @@ public class ResourceParser {
|
|
|
|
|
public static final int WHITE = 2;
|
|
|
|
|
public static final int GREEN = 3;
|
|
|
|
|
public static final int RED = 4;
|
|
|
|
|
public static final int ORANGE = 5;
|
|
|
|
|
|
|
|
|
|
public static final int BG_DEFAULT_COLOR = YELLOW;
|
|
|
|
|
|
|
|
|
@ -49,7 +50,8 @@ public class ResourceParser {
|
|
|
|
|
R.drawable.edit_blue,
|
|
|
|
|
R.drawable.edit_white,
|
|
|
|
|
R.drawable.edit_green,
|
|
|
|
|
R.drawable.edit_red
|
|
|
|
|
R.drawable.edit_red,
|
|
|
|
|
R.drawable.edit_orange
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
private final static int[] BG_EDIT_TITLE_RESOURCES = new int[]{
|
|
|
|
@ -57,7 +59,8 @@ public class ResourceParser {
|
|
|
|
|
R.drawable.edit_title_blue,
|
|
|
|
|
R.drawable.edit_title_white,
|
|
|
|
|
R.drawable.edit_title_green,
|
|
|
|
|
R.drawable.edit_title_red
|
|
|
|
|
R.drawable.edit_title_red,
|
|
|
|
|
R.drawable.edit_title_orange
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
public static int getNoteBgResource(int id) {
|
|
|
|
@ -84,7 +87,8 @@ public class ResourceParser {
|
|
|
|
|
R.drawable.list_blue_up,
|
|
|
|
|
R.drawable.list_white_up,
|
|
|
|
|
R.drawable.list_green_up,
|
|
|
|
|
R.drawable.list_red_up
|
|
|
|
|
R.drawable.list_red_up,
|
|
|
|
|
R.drawable.list_orange_up
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
private final static int[] BG_NORMAL_RESOURCES = new int[]{
|
|
|
|
@ -92,7 +96,8 @@ public class ResourceParser {
|
|
|
|
|
R.drawable.list_blue_middle,
|
|
|
|
|
R.drawable.list_white_middle,
|
|
|
|
|
R.drawable.list_green_middle,
|
|
|
|
|
R.drawable.list_red_middle
|
|
|
|
|
R.drawable.list_red_middle,
|
|
|
|
|
R.drawable.list_orange_middle
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
private final static int[] BG_LAST_RESOURCES = new int[]{
|
|
|
|
@ -101,6 +106,7 @@ public class ResourceParser {
|
|
|
|
|
R.drawable.list_white_down,
|
|
|
|
|
R.drawable.list_green_down,
|
|
|
|
|
R.drawable.list_red_down,
|
|
|
|
|
R.drawable.list_orange_down
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
private final static int[] BG_SINGLE_RESOURCES = new int[]{
|
|
|
|
@ -108,7 +114,8 @@ public class ResourceParser {
|
|
|
|
|
R.drawable.list_blue_single,
|
|
|
|
|
R.drawable.list_white_single,
|
|
|
|
|
R.drawable.list_green_single,
|
|
|
|
|
R.drawable.list_red_single
|
|
|
|
|
R.drawable.list_red_single,
|
|
|
|
|
R.drawable.list_orange_single
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
public static int getNoteBgFirstRes(int id) {
|
|
|
|
@ -139,6 +146,7 @@ public class ResourceParser {
|
|
|
|
|
R.drawable.widget_2x_white,
|
|
|
|
|
R.drawable.widget_2x_green,
|
|
|
|
|
R.drawable.widget_2x_red,
|
|
|
|
|
R.drawable.widget_2x_orange
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
public static int getWidget2xBgResource(int id) {
|
|
|
|
@ -150,7 +158,8 @@ public class ResourceParser {
|
|
|
|
|
R.drawable.widget_4x_blue,
|
|
|
|
|
R.drawable.widget_4x_white,
|
|
|
|
|
R.drawable.widget_4x_green,
|
|
|
|
|
R.drawable.widget_4x_red
|
|
|
|
|
R.drawable.widget_4x_red,
|
|
|
|
|
R.drawable.widget_4x_orange
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
public static int getWidget4xBgResource(int id) {
|
|
|
|
|