[r] 关闭按钮图片资源替换
This commit is contained in:
@@ -343,7 +343,11 @@ class V2XEventPanelFragment : MvpFragment<V2XEventPanelFragment, EventPanelPrese
|
|||||||
0 -> {
|
0 -> {
|
||||||
try {
|
try {
|
||||||
mV2XScenarioHistoryFragment.fromVoice = true
|
mV2XScenarioHistoryFragment.fromVoice = true
|
||||||
mRbScenarioHistory?.isChecked = true
|
if (mRbScenarioHistory?.isChecked == true) {
|
||||||
|
mV2XScenarioHistoryFragment.ttsForVoiceCheckout()
|
||||||
|
} else {
|
||||||
|
mRbScenarioHistory?.isChecked = true
|
||||||
|
}
|
||||||
} catch (e: java.lang.Exception) {
|
} catch (e: java.lang.Exception) {
|
||||||
e.printStackTrace()
|
e.printStackTrace()
|
||||||
}
|
}
|
||||||
@@ -351,7 +355,11 @@ class V2XEventPanelFragment : MvpFragment<V2XEventPanelFragment, EventPanelPrese
|
|||||||
1 -> {
|
1 -> {
|
||||||
try {
|
try {
|
||||||
mV2XSurroundingFragment.fromVoice = true
|
mV2XSurroundingFragment.fromVoice = true
|
||||||
mRbSurroundingEvent?.isChecked = true
|
if (mRbSurroundingEvent?.isChecked == true) {
|
||||||
|
mV2XSurroundingFragment.ttsForVoiceCheckout()
|
||||||
|
} else {
|
||||||
|
mRbSurroundingEvent?.isChecked = true
|
||||||
|
}
|
||||||
} catch (e: java.lang.Exception) {
|
} catch (e: java.lang.Exception) {
|
||||||
e.printStackTrace()
|
e.printStackTrace()
|
||||||
}
|
}
|
||||||
@@ -359,7 +367,11 @@ class V2XEventPanelFragment : MvpFragment<V2XEventPanelFragment, EventPanelPrese
|
|||||||
2 -> {
|
2 -> {
|
||||||
try {
|
try {
|
||||||
mV2XShareEventsFragment.fromVoice = true
|
mV2XShareEventsFragment.fromVoice = true
|
||||||
mRbShareEvents?.isChecked = true
|
if (mRbShareEvents?.isChecked == true) {
|
||||||
|
mV2XShareEventsFragment.ttsForVoiceCheckout()
|
||||||
|
} else {
|
||||||
|
mRbShareEvents?.isChecked = true
|
||||||
|
}
|
||||||
} catch (e: java.lang.Exception) {
|
} catch (e: java.lang.Exception) {
|
||||||
e.printStackTrace()
|
e.printStackTrace()
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -87,7 +87,7 @@
|
|||||||
android:layout_width="@dimen/dp_79"
|
android:layout_width="@dimen/dp_79"
|
||||||
android:layout_height="@dimen/dp_79"
|
android:layout_height="@dimen/dp_79"
|
||||||
android:layout_marginRight="@dimen/dp_50"
|
android:layout_marginRight="@dimen/dp_50"
|
||||||
android:background="@drawable/v2x_selector_colse"
|
android:background="@drawable/v2x_selector_close"
|
||||||
app:layout_constraintBottom_toBottomOf="@+id/rgTabSelect"
|
app:layout_constraintBottom_toBottomOf="@+id/rgTabSelect"
|
||||||
app:layout_constraintRight_toRightOf="parent"
|
app:layout_constraintRight_toRightOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="@+id/rgTabSelect" />
|
app:layout_constraintTop_toTopOf="@+id/rgTabSelect" />
|
||||||
|
|||||||
@@ -24,9 +24,9 @@
|
|||||||
android:id="@+id/btnCloseWindow"
|
android:id="@+id/btnCloseWindow"
|
||||||
android:layout_width="@dimen/dp_88"
|
android:layout_width="@dimen/dp_88"
|
||||||
android:layout_height="@dimen/dp_88"
|
android:layout_height="@dimen/dp_88"
|
||||||
android:layout_marginEnd="@dimen/dp_28"
|
android:layout_marginEnd="@dimen/dp_32"
|
||||||
android:layout_marginBottom="@dimen/dp_40"
|
android:layout_marginBottom="@dimen/dp_40"
|
||||||
android:background="@drawable/v2x_panel_close"
|
android:background="@drawable/v2x_selector_close"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintRight_toRightOf="parent" />
|
app:layout_constraintRight_toRightOf="parent" />
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user