测试配置页面
This commit is contained in:
parent
2488046089
commit
c277d73277
|
|
@ -11,7 +11,6 @@ import com.gamedog.vididin.beans.RecordGold
|
|||
import com.gamedog.vididin.core.login.login.AccountManager
|
||||
import com.viddin.videos.free.R
|
||||
import com.gamedog.vididin.main.interfaces.OnTabStyleListener
|
||||
import com.remax.notification.BuildConfig
|
||||
import dagger.hilt.android.AndroidEntryPoint
|
||||
import kotlin.getValue
|
||||
import com.viddin.videos.free.databinding.ActivityVersionBinding as ViewBinding
|
||||
|
|
@ -36,8 +35,9 @@ class VersionActivity : AppViewsActivity<ViewBinding, UiState, ViewModel>(), OnT
|
|||
|
||||
|
||||
// For Testing
|
||||
llTesting.isVisible = BuildConfig.DEBUG
|
||||
if (BuildConfig.DEBUG) {
|
||||
val shouldShowDebug = true//BuildConfig.DEBUG
|
||||
llTesting.isVisible = shouldShowDebug
|
||||
if (shouldShowDebug) {
|
||||
butCash.setOnClickListener {
|
||||
try {
|
||||
val cashNum: Double = evCash.text.toString().toDouble()
|
||||
|
|
|
|||
|
|
@ -102,6 +102,33 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:text="确定" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<!-- ad -->
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginHorizontal="16dp"
|
||||
android:layout_marginTop="50dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<CheckBox
|
||||
android:id="@+id/checker_reward_ad"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="插屏广告"
|
||||
/>
|
||||
|
||||
|
||||
<CheckBox
|
||||
android:id="@+id/checker_normal_ad"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="激励广告"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
|
|
|||
Loading…
Reference in New Issue