Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

为什么设置了isShowDay="true",天数小于0的时候,不隐藏"00天"呢? #141

Open
roybill opened this issue Jan 28, 2021 · 2 comments

Comments

@roybill
Copy link

roybill commented Jan 28, 2021

<cn.iwgang.countdownview.CountdownView
android:id="@+id/cv_countdownViewTest1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:isHideTimeBackground="true"
app:isShowDay="true"
app:isShowHour="true"
app:isShowMinute="true"
app:isShowSecond="true"
app:isTimeTextBold="true"
app:suffixGravity="bottom"
app:suffixDay="天"
app:suffixHour="时"
app:suffixMinute="分"
app:suffixSecond="秒"
app:suffixTextColor="#000000"
app:suffixTextSize="12sp"
app:timeTextColor="#000000"
app:timeTextSize="22sp" />

@chinesebobo
Copy link

默认不设置isShowDay 超过一天的也会显示天数 小于一天的就不会展示00天了

@Paridel
Copy link

Paridel commented Jul 5, 2023

默认不设置isShowDay 超过一天的也会显示天数 小于一天的就不会展示00天了

At my level, it always displays 00 days. It's quite annoying to have this display.
Isn't there a way of conditioning this display with Java code ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants