[sweeper-cloud]弹窗左右间距修改

This commit is contained in:
bxb
2023-05-17 17:11:26 +08:00
parent d1e4df16d1
commit e96ae72097
3 changed files with 10 additions and 9 deletions

View File

@@ -544,7 +544,7 @@ public class SweeperTaskModel implements IMoGoSweeperFutianCloudTaskListener, IM
@Override
public void onAutopilotStatusResponse(@NonNull AutopilotStatusInfo autoPilotStatusInfo) {
CallerLogger.INSTANCE.d(M_SWEEPER + TAG, "onAutopilotStatusResponse state:" + autoPilotStatusInfo.getState());
//CallerLogger.INSTANCE.d(M_SWEEPER + TAG, "onAutopilotStatusResponse state:" + autoPilotStatusInfo.getState());
this.mAutopilotState = autoPilotStatusInfo.getState();
switch (autoPilotStatusInfo.getState()) {
case IMoGoAutopilotStatusListener.STATUS_AUTOPILOT_DISABLE://不可自动驾驶

View File

@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
<gradient android:startColor="#2A537F" android:endColor="#263A5B" android:angle="315"/>
<corners android:radius="@dimen/dp_45"/>
</shape>

View File

@@ -12,11 +12,13 @@
app:shadow_position="outer"
app:xOffset="0dp"
app:yOffset="0dp">
<androidx.constraintlayout.widget.ConstraintLayout
<com.mogo.och.common.module.wigets.OCHRoundConstraintLayout
android:layout_width="@dimen/dp_800"
android:layout_height="@dimen/dp_560"
android:layout_gravity="center"
android:background="@drawable/bg_shape_dialog_cloud_view">
android:background="@drawable/bg_shape_dialog_cloud_view"
app:roundLayoutRadius="@dimen/dp_45"
>
<ImageView
android:id="@+id/sweeper_cloud_imageview"
android:layout_width="@dimen/dp_84"
@@ -67,8 +69,8 @@
android:id="@+id/sweeper_cloud_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/dp_30"
android:layout_marginEnd="@dimen/dp_30"
android:layout_marginStart="@dimen/dp_60"
android:layout_marginEnd="@dimen/dp_60"
android:gravity="center"
android:textColor="#FFFFFFFF"
android:textSize="@dimen/dp_50"
@@ -78,9 +80,9 @@
android:id="@+id/sweeper_cloud_tip"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/dp_30"
android:layout_marginStart="@dimen/dp_60"
android:layout_marginTop="@dimen/dp_10"
android:layout_marginEnd="@dimen/dp_30"
android:layout_marginEnd="@dimen/dp_60"
android:gravity="center"
android:textColor="#A6CEFF"
android:textSize="@dimen/dp_40"
@@ -129,5 +131,5 @@
android:textSize="@dimen/dp_50"
tools:text="拒绝" />
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
</com.mogo.och.common.module.wigets.OCHRoundConstraintLayout>
</com.mogo.och.common.module.wigets.OCHBorderShadowLayout>