Commit 673a7ea4 authored by jyx's avatar jyx

更新问题样式

parent 18392995
......@@ -7,12 +7,12 @@ import android.os.Bundle
import android.text.TextUtils
import android.view.View
import android.widget.FrameLayout
import androidx.core.content.ContextCompat
import com.mints.cleaner.ui.activitys.appswitch.AppSwitchUtil
import com.mints.fiveworld.R
import com.mints.fiveworld.ad.AdReportManager
import com.mints.fiveworld.ad.express.ExpressAdCallback
import com.mints.fiveworld.ad.express.ExpressManager
import com.mints.fiveworld.ad.express.InHomeWifiExpress
import com.mints.fiveworld.ad.half.NewInSceneFull
import com.mints.fiveworld.common.AppConfig
import com.mints.fiveworld.common.Constant
......@@ -116,14 +116,13 @@ class MainFragment : BaseFragment(), View.OnClickListener {
.setFontSize(BubbleUtils.sp2px(12))
.setForegroundColor(Color.WHITE)
.append("" + appWhite.size + "个")
.setForegroundColor(Color.WHITE)
// .setForegroundColor(Color.RED)
.setForegroundColor(ContextCompat.getColor(requireContext(),R.color.color_FE3B77))
.setFontSize(BubbleUtils.sp2px(12))
.create()
} else {
tvSark.text = SpanUtils()
.append("保险柜")
.setForegroundColor(Color.RED)
.setForegroundColor(ContextCompat.getColor(requireContext(),R.color.color_FE3B77))
.create()
}
......@@ -134,15 +133,14 @@ class MainFragment : BaseFragment(), View.OnClickListener {
.setForegroundColor(Color.WHITE)
.setFontSize(BubbleUtils.sp2px(12))
.append(AppConfig.lastSpeedData)
.setForegroundColor(Color.WHITE)
// .setForegroundColor(Color.RED)
.setForegroundColor(ContextCompat.getColor(requireContext(),R.color.color_FE3B77))
.setFontSize(BubbleUtils.sp2px(12))
.create()
}
} else {
tvSpeedTest.text = SpanUtils()
.append("待测速")
.setForegroundColor(Color.RED)
.setForegroundColor(ContextCompat.getColor(requireContext(),R.color.color_FE3B77))
.create()
}
......@@ -153,22 +151,21 @@ class MainFragment : BaseFragment(), View.OnClickListener {
.setForegroundColor(Color.WHITE)
.setFontSize(BubbleUtils.sp2px(12))
.append("${AppConfig.lastCoolData}℃")
.setForegroundColor(Color.WHITE)
// .setForegroundColor(Color.RED)
.setForegroundColor(ContextCompat.getColor(requireContext(),R.color.color_FE3B77))
.setFontSize(BubbleUtils.sp2px(12))
.create()
}
} else {
tvCool.text = SpanUtils()
.append("待降温")
.setForegroundColor(Color.RED)
.setForegroundColor(ContextCompat.getColor(requireContext(),R.color.color_FE3B77))
.create()
}
if (TimeRender.isOverspedMin2(WifiDataManager.getFakeSaveCheckTime(), 3)) {
tvSafeCheck.text = SpanUtils()
.append("待检测")
.setForegroundColor(Color.RED)
.setForegroundColor(ContextCompat.getColor(requireContext(),R.color.color_FE3B77))
.create()
} else {
tvSafeCheck.text = SpanUtils()
......
......@@ -39,6 +39,7 @@
<color name="black_15">#2D000000</color>
<color name="color_00072D">#00072D</color>
<color name="color_1E283C">#1E283C</color>
<color name="color_FE3B77">#FE3B77</color>
<color name="dd_win_bg">#8000</color>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment