| | |
| | | * @param color_white 白色色块 |
| | | * @return BitMap |
| | | */ |
| | | public Bitmap createQRCodeBitmap(String content, int width, int height, |
| | | String character_set, String error_correction_level, |
| | | String margin, int color_black, int color_white) { |
| | | public Bitmap createQRCodeBitmap(String content, int width, int height, String character_set, String error_correction_level, String margin, int color_black, int color_white) { |
| | | // 字符串内容判空 |
| | | if (TextUtils.isEmpty(content)) { |
| | | return null; |
| | |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 消息Fragment的tab |
| | | */ |
| | | public enum MessageFunctionTabSwitch { |
| | | all,//全部 |
| | | nascent,//进行中 |
| | | recover,//已恢复 |
| | | |
| | | } |
| | | |
| | | /** |
| | | * App的Fragment的tab |
| | | */ |
| | | public enum HomepageTitleTabSwitch { |
| | | powerstation,//电站 |
| | | message,//消息 |
| | | me,//我的 |
| | | |
| | | } |
| | | |
| | | |
| | | } |