This commit is contained in:
zhongchao
2021-04-15 12:24:10 +08:00
parent c4d239ed54
commit a023219e05
5 changed files with 8 additions and 6 deletions

View File

@@ -67,9 +67,7 @@ public class V2XPushLiveCarWindow extends V2XBasWindow implements IV2XWindow<V2X
mV2XLiveGSYVideoView = findViewById(R.id.videoPlayer);
mIvReportHead = findViewById(R.id.ivReportHead);
ImageView pushVideoClose = findViewById(R.id.pushVideoClose);
pushVideoClose.setOnClickListener(v -> {
close();
});
pushVideoClose.setOnClickListener(v -> close());
}
/**

View File

@@ -65,9 +65,7 @@ public class V2XVoiceCallLiveCarWindow extends V2XBasWindow
stopCountDown();
}
});
ivLiveVideoClose.setOnClickListener(v -> {
close();
});
ivLiveVideoClose.setOnClickListener(v -> close());
}
@Override

View File

@@ -17,5 +17,7 @@
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/dp_20"
android:layout_marginTop="@dimen/dp_20"
android:clickable="true"
android:focusable="true"
android:src="@drawable/module_common_close_selector" />
</RelativeLayout>

View File

@@ -19,5 +19,7 @@
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/dp_20"
android:layout_marginTop="@dimen/dp_20"
android:clickable="true"
android:focusable="true"
android:src="@drawable/module_v2x_vr_close" />
</RelativeLayout>

View File

@@ -18,6 +18,8 @@
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/dp_20"
android:layout_marginTop="@dimen/dp_20"
android:clickable="true"
android:focusable="true"
android:src="@drawable/module_v2x_vr_close" />
</RelativeLayout>