1.平分布局
https://stackoverflow.com/questions/4961355/percentage-width-in-a-relativelayouthtml
2.
Timer 的 schedule()方法
https://blog.csdn.net/tiancizhenai/article/details/7050302java
3.Android 定时任务的多种实现方式
https://blog.csdn.net/u014492609/article/details/51475254android
Android计时器,实现隔几秒执行一次需求
https://blog.csdn.net/qq_31450487/article/details/73614251app
4.Android 控件显示在最上层的方法
https://blog.csdn.net/qq_36773157/article/details/73565018oop
崩溃:
08-23 03:28:40.462 27785 27785 D AndroidRuntime: Shutting down VM
--------- beginning of crash
08-23 03:28:40.465 27785 27785 E AndroidRuntime: FATAL EXCEPTION: main
08-23 03:28:40.465 27785 27785 E AndroidRuntime: Process: com.example.fake_hago_2, PID: 27785
08-23 03:28:40.465 27785 27785 E AndroidRuntime: java.lang.IllegalStateException: Timer already cancelled.
08-23 03:28:40.465 27785 27785 E AndroidRuntime: at java.util.Timer.sched(Timer.java:397)
08-23 03:28:40.465 27785 27785 E AndroidRuntime: at java.util.Timer.scheduleAtFixedRate(Timer.java:328)
08-23 03:28:40.465 27785 27785 E AndroidRuntime: at com.example.fake_hago_2.view.FlashAvaterView$2.onClick(FlashAvaterView.java:81)
08-23 03:28:40.465 27785 27785 E AndroidRuntime: at android.view.View.performClick(View.java:6256)
08-23 03:28:40.465 27785 27785 E AndroidRuntime: at android.view.View$PerformClick.run(View.java:24697)
08-23 03:28:40.465 27785 27785 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:789)
08-23 03:28:40.465 27785 27785 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:98)
08-23 03:28:40.465 27785 27785 E AndroidRuntime: at android.os.Looper.loop(Looper.java:164)
08-23 03:28:40.465 27785 27785 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6541)布局
Timer类中的"Timer already cancelled."
说一个能够排查的点,就是timer在执行任务的过程当中若是抛出了RuntimeException,而且接着又去执行另外一个新任务时,会认定定时器已经取消,产生这个异常,因此能够在定时任务之间排查是否有异常抛出。spa
一篇博客理解Recyclerview的使用 - CSDN博客
https://blog.csdn.net/u012124438/article/details/53495951.net
防止错乱!!!!
https://www.2cto.com/kf/201607/522038.htmlorm
使用recyclerview实现倒计时htm
使用recyclerview错乱
https://blog.csdn.net/lichongya/article/details/51484863
https://www.2cto.com/kf/201607/522038.html
https://www.zhihu.com/question/38161013