[5.2.9]
[charter_p] [灯态改为动作]
This commit is contained in:
@@ -383,11 +383,11 @@ class SoftControlView : ConstraintLayout, SoftControlViewModel.SoftControlCallba
|
||||
override fun setLightTop1View(leftLight: Boolean, isFirst: Boolean) {
|
||||
tv_light_top_01?.let {
|
||||
if (leftLight) {
|
||||
tv_light_top_01.text = context.getString(R.string.charter_p_close_light1)
|
||||
tv_light_top_01.text = context.getString(R.string.charter_p_open_light1)
|
||||
tv_light_top_01.isChecked = true
|
||||
if (!isFirst) ToastCharterUtils.showToastShort("打开顶灯1")
|
||||
} else {
|
||||
tv_light_top_01.text = context.getString(R.string.charter_p_open_light1)
|
||||
tv_light_top_01.text = context.getString(R.string.charter_p_close_light1)
|
||||
tv_light_top_01.isChecked = false
|
||||
if (!isFirst) ToastCharterUtils.showToastShort("关闭顶灯1")
|
||||
}
|
||||
@@ -397,11 +397,11 @@ class SoftControlView : ConstraintLayout, SoftControlViewModel.SoftControlCallba
|
||||
override fun setLightTop2View(rightLight: Boolean, isFirst: Boolean) {
|
||||
tv_light_top_02?.let {
|
||||
if (rightLight) {
|
||||
tv_light_top_02.text = context.getString(R.string.charter_p__close_light2)
|
||||
tv_light_top_02.text = context.getString(R.string.charter_p_open_light2)
|
||||
tv_light_top_02.isChecked = true
|
||||
if (!isFirst) ToastCharterUtils.showToastShort("打开顶灯2")
|
||||
} else {
|
||||
tv_light_top_02.text = context.getString(R.string.charter_p_open_light2)
|
||||
tv_light_top_02.text = context.getString(R.string.charter_p__close_light2)
|
||||
tv_light_top_02.isChecked = false
|
||||
if (!isFirst) ToastCharterUtils.showToastShort("关闭顶灯2")
|
||||
}
|
||||
@@ -411,12 +411,12 @@ class SoftControlView : ConstraintLayout, SoftControlViewModel.SoftControlCallba
|
||||
override fun setLightAtmosphereView(atmosphereLight: Boolean, isFirst: Boolean) {
|
||||
tv_light_atmosphere?.let {
|
||||
if (atmosphereLight) {
|
||||
tv_light_atmosphere.text = context.getString(R.string.charter_p_close_atmosphere)
|
||||
tv_light_atmosphere.text = context.getString(R.string.charter_p_open_atmosphere)
|
||||
tv_light_atmosphere.isChecked = true
|
||||
iv_bottom_light_setting.setImageResource(R.drawable.charter_p_function_atmosphere_select)
|
||||
if (!isFirst) ToastCharterUtils.showToastShort("打开氛围灯")
|
||||
} else {
|
||||
tv_light_atmosphere.text = context.getString(R.string.charter_p_open_atmosphere)
|
||||
tv_light_atmosphere.text = context.getString(R.string.charter_p_close_atmosphere)
|
||||
tv_light_atmosphere.isChecked = false
|
||||
iv_bottom_light_setting.setImageResource(R.drawable.charter_p_function_atmosphere_nor)
|
||||
if (!isFirst) ToastCharterUtils.showToastShort("关闭氛围灯")
|
||||
|
||||
@@ -13,13 +13,13 @@
|
||||
<string name="charter_p_wind_speed_high">高</string>
|
||||
|
||||
|
||||
<string name="charter_p_close_light1">关闭顶灯1</string>
|
||||
<string name="charter_p__close_light2">关闭顶灯2</string>
|
||||
<string name="charter_p_close_atmosphere">关闭氛围灯</string>
|
||||
<string name="charter_p_close_light1">开启顶灯1</string>
|
||||
<string name="charter_p__close_light2">开启顶灯2</string>
|
||||
<string name="charter_p_close_atmosphere">开启氛围灯</string>
|
||||
|
||||
<string name="charter_p_open_light1">开启顶灯1</string>
|
||||
<string name="charter_p_open_light2">开启顶灯2</string>
|
||||
<string name="charter_p_open_atmosphere">开启氛围灯</string>
|
||||
<string name="charter_p_open_light1">关闭顶灯1</string>
|
||||
<string name="charter_p_open_light2">关闭顶灯2</string>
|
||||
<string name="charter_p_open_atmosphere">关闭氛围灯</string>
|
||||
|
||||
<string name="charter_p_speed_unit">KM/h</string>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user