CountdownView icon indicating copy to clipboard operation
CountdownView copied to clipboard

Android Countdown View

Results 27 CountdownView issues
Sort by recently updated
recently updated
newest added

如题, 经过查看我发现这个问题的确是有的 在BackgroundCountdown#initStyleAttr(Context context, TypedArray ta)方法中第 51行和54行有这样的代码 ``` mTimeBgBorderSize = ta.getDimension(R.styleable.CountdownView_timeBgBorderSize, Utils.dp2px(context, DEFAULT_TIME_BG_BORDER_SIZE)); isShowTimeBgBorder = ta.getBoolean(R.styleable.CountdownView_isShowTimeBgBorder, false); ``` 但是 DEFAULT_TIME_BG_BORDER_SIZE 默认为 1dp 在 onDraw(Canvas canvas) 方法中各个Suffix的处理中,有: ``` if (mSuffixDayTextWidth >...

![image](https://user-images.githubusercontent.com/20295918/68819414-e2fee880-06c2-11ea-9034-fbe80850f16a.png) 像这种的

只显示秒的情况下,怎么设置显示三位数,例如 120秒

isHideTimeBackground 不支持动态改变??没看到DynamicConfig里有相关配置

**Thanks your library / code helped me! 😊** _So, modifications from me_

``` ``` 版本 'com.github.iwgang:countdownview:2.1.6'

秒这个文字,最右边有一点点没有显示完全,咋解决?Demo也没有显示完全,被截断了一点像素。 ![1621419286(1)](https://user-images.githubusercontent.com/14785825/118796363-2183ed80-b8ce-11eb-8f2e-e3bec2a0ccd8.jpg)

设置isConvertDaysToHours属性后,时间显示异常 带天显示时间如下 ![image](https://user-images.githubusercontent.com/18045999/35603334-de44d5b8-0677-11e8-8a0b-2b79aaa48a8e.png) 设置`isConvertDaysToHours`后,小时本应该为`167`,而且小时紧贴着冒号 ![image](https://user-images.githubusercontent.com/18045999/35603357-f4c176a2-0677-11e8-9a6a-ef0abbeae003.png) ![image](https://user-images.githubusercontent.com/18045999/35603381-0f36ffa2-0678-11e8-8053-ad3be8b93917.png)

bug

原因:updateShow时仅判断mDay的长度,没有判断mHour的值 解决方案:参考mDay方案来修改mHour的长度 验证建议: