Commit 88a14cdd authored by 张释方's avatar 张释方

优化VR界面

parent 160a85c1
......@@ -109,7 +109,7 @@ class VRFragment : BaseFragment<FragmentVrBinding, VRViewModel>() {
//未选中颜色
normalColor = Color.BLACK
//选中颜色
selectedColor = ContextCompat.getColor(context, R.color.main_color)
selectedColor = ContextCompat.getColor(context, R.color.main_blue_lower)
//点击事件
setOnClickListener {
viewPager.currentItem = index
......@@ -129,7 +129,7 @@ class VRFragment : BaseFragment<FragmentVrBinding, VRViewModel>() {
startInterpolator = AccelerateInterpolator()
endInterpolator = DecelerateInterpolator(2.0f)
//线条的颜色
setColors(ContextCompat.getColor(context, R.color.main_color))
setColors(ContextCompat.getColor(context, R.color.main_blue_lower))
}
}
}
......
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