pull/69/head
FongMi 3 years ago
parent 4326eafac3
commit d7a31b4eda
  1. 4
      app/src/main/java/com/github/catvod/spider/Notice.java
  2. BIN
      jar/custom_spider.jar
  3. 2
      jar/custom_spider.jar.md5

@ -26,7 +26,7 @@ public class Notice extends Spider {
for (int i = 0; i < 3; i++) sb.append(extend).append(" ");
view = new MarqueeView(Init.context());
view.setText(sb.toString());
view.setBackgroundColor(Color.parseColor("#CCFFFFFF"));
view.setBackgroundColor(Color.argb(200, 255, 255, 255));
FrameLayout.LayoutParams params = new FrameLayout.LayoutParams(FrameLayout.LayoutParams.MATCH_PARENT, Utils.dp2px(56));
params.gravity = Gravity.TOP;
Utils.addView(view, params);
@ -39,7 +39,7 @@ public class Notice extends Spider {
}
private void updateColor() {
Init.run(runnable, 250);
Init.run(runnable, 500);
}
private final Runnable runnable = new Runnable() {

Binary file not shown.

@ -1 +1 @@
4fc27bf2f140902e9d7a5bad4e051946
8cb598596c187e9b24ff1fe92523f43c

Loading…
Cancel
Save