|
|
|
@ -30,6 +30,8 @@ public class ResourceParser {
|
|
|
|
|
public static final int GREEN = 3;
|
|
|
|
|
public static final int RED = 4;
|
|
|
|
|
|
|
|
|
|
public static final int DUCK = 5;
|
|
|
|
|
|
|
|
|
|
public static final int BG_DEFAULT_COLOR = YELLOW;
|
|
|
|
|
|
|
|
|
|
public static final int TEXT_SMALL = 0;
|
|
|
|
@ -45,7 +47,10 @@ 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.note_bg_photo_wangyi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
private final static int [] BG_EDIT_TITLE_RESOURCES = new int [] {
|
|
|
|
@ -53,7 +58,9 @@ 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.note_bg_photo_wangyi
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
public static int getNoteBgResource(int id) {
|
|
|
|
@ -80,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.note_bg_photo_wangyi
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
private final static int [] BG_NORMAL_RESOURCES = new int [] {
|
|
|
|
@ -88,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.note_bg_photo_wangyi
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
private final static int [] BG_LAST_RESOURCES = new int [] {
|
|
|
|
@ -97,6 +106,7 @@ public class ResourceParser {
|
|
|
|
|
R.drawable.list_white_down,
|
|
|
|
|
R.drawable.list_green_down,
|
|
|
|
|
R.drawable.list_red_down,
|
|
|
|
|
R.drawable.note_bg_photo_wangyi
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
private final static int [] BG_SINGLE_RESOURCES = new int [] {
|
|
|
|
@ -104,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.note_bg_photo_wangyi
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
public static int getNoteBgFirstRes(int id) {
|
|
|
|
|