激励视频 提示 UI
This commit is contained in:
parent
c90b15a7a2
commit
70cac6cd49
|
|
@ -126,7 +126,7 @@ class WatchAdActivity : AppViewsEmptyViewModelActivity<ViewBinding>(), OnTabStyl
|
|||
mCountDownTimer = object : CountDownTimer(50* 1000, 1000) {
|
||||
override fun onTick(millisUntilFinished: Long) {
|
||||
val secondsRemaining = millisUntilFinished / 1000
|
||||
binding.tvAdCounter.text = "${secondsRemaining}"
|
||||
//binding.tvAdCounter.text = "${secondsRemaining}"
|
||||
}
|
||||
|
||||
override fun onFinish() {
|
||||
|
|
|
|||
|
|
@ -11,6 +11,20 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:id="@+id/tv_watch_full_hint"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginHorizontal="60dp"
|
||||
android:padding="10dp"
|
||||
android:layout_gravity="center"
|
||||
android:gravity="center"
|
||||
android:background="@mipmap/withdraw_watch_ad_cahs_bg"
|
||||
android:textSize="18sp"
|
||||
android:textColor="@color/gray3"
|
||||
android:text="@string/watch_full_reward_ad_hint"
|
||||
/>
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/ad_container"
|
||||
android:layout_width="match_parent"
|
||||
|
|
@ -18,15 +32,6 @@
|
|||
android:layout_gravity="center_vertical"
|
||||
/>
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:id="@+id/tv_ad_counter"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:textSize="18sp"
|
||||
android:textColor="@color/gray3"
|
||||
android:text="ad showing"
|
||||
/>
|
||||
</FrameLayout>
|
||||
|
||||
</FrameLayout>
|
||||
|
|
|
|||
|
|
@ -152,5 +152,6 @@
|
|||
<string name="guide_hint_gold">Clique no botão para converter todas \nas “Moedas” em “Dinheiro”.</string>
|
||||
<string name="guide_hint_cash">Clique aqui para ir para o saque.</string>
|
||||
<string name="guide_hint_zero">Montes de recompensas em dinheiro \nte aguardam. Boa sorte!</string>
|
||||
<string name="watch_full_reward_ad_hint">"Watch the full video to get rewards! "</string>
|
||||
|
||||
</resources>
|
||||
Loading…
Reference in New Issue