new#Vr模式极端路况事件特效展示

This commit is contained in:
wujifei
2021-03-31 11:15:52 +08:00
parent 39374d51d2
commit 4eae682220
19 changed files with 302 additions and 117 deletions

View File

@@ -8,7 +8,6 @@ import android.os.Bundle;
import android.os.Handler;
import android.os.SystemClock;
import android.text.TextUtils;
import android.util.Log;
import android.util.TypedValue;
import android.view.LayoutInflater;
import android.view.MotionEvent;
@@ -37,8 +36,6 @@ import com.mogo.commons.voice.AIAssist;
import com.mogo.map.MogoLatLng;
import com.mogo.map.listener.IMogoMapListener;
import com.mogo.map.location.IMogoLocationClient;
import com.mogo.map.location.IMogoLocationListener;
import com.mogo.map.location.MogoLocation;
import com.mogo.map.marker.IMogoMarkerManager;
import com.mogo.map.navi.IMogoAimlessModeListener;
import com.mogo.map.navi.IMogoCarLocationChangedListener2;
@@ -204,7 +201,6 @@ public class EntranceFragment extends MvpFragment<EntranceView, EntrancePresente
private TextView tvYellow;
private TextView tvRed;
private TextView tvGreen;
private ImageView ivBg;
@@ -365,14 +361,13 @@ public class EntranceFragment extends MvpFragment<EntranceView, EntrancePresente
// 根据本地配置设置自车图标
MyLocationUtil.setMyLocationIconUrl(getContext());
flSpeed = (FrameLayout) findViewById(R.id.fl_speed);
mouduleArc = (ArcView) findViewById(R.id.moudule_arc);
clTrafficLight = (ConstraintLayout) findViewById(R.id.cl_traffic_light);
tvYellow = (TextView) findViewById(R.id.tv_yellow);
tvRed = (TextView) findViewById(R.id.tv_red);
tvGreen = (TextView) findViewById(R.id.tv_green);
ivBg = (ImageView) findViewById(R.id.iv_bg);
// GlideApp.with(getContext()).load(R.drawable.yun_bg).into(ivBg);
}
private int debugPanelClickCount = 0;

View File

@@ -5,10 +5,9 @@
android:id="@+id/module_entrance_id_top_motion_layout"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
android:id="@+id/iv_bg"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<include
layout="@layout/module_ext_layout_extensions"
android:layout_width="match_parent"
@@ -33,9 +32,9 @@
android:layout_height="@dimen/dp_300"
android:layout_marginLeft="@dimen/dp_10"
android:layout_marginTop="@dimen/dp_10"
android:padding="@dimen/dp_20"
android:background="@drawable/yi_biao_pan_bg_nor"
android:elevation="@dimen/dp_20"
android:padding="@dimen/dp_20"
android:visibility="gone"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toTopOf="parent">