[6.7.0] change the progressbar icon
This commit is contained in:
@@ -8,6 +8,7 @@ import static com.mogo.eagle.core.utilcode.mogo.logger.scene.SceneConstant.M_MAI
|
||||
|
||||
import android.os.Bundle;
|
||||
import android.os.Process;
|
||||
import android.util.Log;
|
||||
import android.view.KeyEvent;
|
||||
|
||||
import androidx.annotation.Nullable;
|
||||
@@ -90,10 +91,12 @@ public class MainLauncherActivity extends MainActivity {
|
||||
// 兼容处理之前联想PAD及小巴车多个设备部署不同APP方案
|
||||
if (!DebugConfig.isMultiDisplay()) {
|
||||
if (AppIdentityModeUtils.isDriver(FunctionBuildConfig.appIdentityMode)) {
|
||||
Log.i("emArrow","Driver start");
|
||||
ochProvider = (IMoGoFunctionProvider) ARouter.getInstance()
|
||||
.build("/driver/api")
|
||||
.navigation(getContext());
|
||||
} else if(AppIdentityModeUtils.isPassenger(FunctionBuildConfig.appIdentityMode)){
|
||||
Log.i("emArrow","Passenger start");
|
||||
ochProvider = (IMoGoFunctionProvider) ARouter.getInstance()
|
||||
.build("/passenger/api")
|
||||
.navigation(getContext());
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 2.4 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" android:paddingLeft="@dimen/dp_0">
|
||||
<!-- 设置背景色 -->
|
||||
<item
|
||||
android:id="@android:id/background"
|
||||
@@ -7,11 +7,11 @@
|
||||
android:height="@dimen/dp_20"
|
||||
android:gravity="center_vertical">
|
||||
<shape>
|
||||
<corners android:radius="10dp" />
|
||||
<corners android:radius="@dimen/dp_10" />
|
||||
<solid android:color="@color/color_1C1C1C" />
|
||||
<stroke
|
||||
android:width="2dp"
|
||||
android:color="@color/color_161618" />
|
||||
<!-- <stroke-->
|
||||
<!-- android:width="2dp"-->
|
||||
<!-- android:color="@color/color_161618" />-->
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
@@ -33,10 +33,10 @@
|
||||
<item
|
||||
android:id="@android:id/progress"
|
||||
android:width="@dimen/dp_770"
|
||||
android:height="@dimen/dp_40"
|
||||
android:height="@dimen/dp_50"
|
||||
android:gravity="center_vertical">
|
||||
<scale
|
||||
android:drawable="@drawable/icon_progress_patch"
|
||||
android:drawable="@drawable/icon_progress_bg_patch"
|
||||
android:scaleWidth="100%" />
|
||||
</item>
|
||||
</layer-list>
|
||||
@@ -11,7 +11,6 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_19"
|
||||
android:layout_marginTop="@dimen/dp_76"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
@@ -20,7 +19,7 @@
|
||||
android:id="@+id/clBoneBiz"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_385"
|
||||
android:layout_marginTop="@dimen/dp_309"
|
||||
android:layout_marginStart="@dimen/dp_19"
|
||||
android:elevation="1dp"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
@@ -30,10 +29,9 @@
|
||||
android:id="@+id/clBoneTab"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="@dimen/dp_385"
|
||||
android:layout_marginTop="@dimen/dp_309"
|
||||
android:elevation="20dp"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
@@ -15,7 +15,7 @@
|
||||
<com.mogo.eagle.core.function.hmi.bone.tab.CarInfoTabView
|
||||
android:id="@+id/carInfoTabView"
|
||||
android:layout_width="@dimen/dp_960"
|
||||
android:layout_height="@dimen/dp_1137"
|
||||
android:layout_height="@dimen/dp_1214"
|
||||
android:layout_marginStart="@dimen/dp_40"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
@@ -25,7 +25,7 @@
|
||||
<com.mogo.eagle.core.function.hmi.bone.tab.MsgBoxTabView
|
||||
android:id="@+id/msgBoxTabView"
|
||||
android:layout_width="@dimen/dp_960"
|
||||
android:layout_height="@dimen/dp_1137"
|
||||
android:layout_height="@dimen/dp_1214"
|
||||
android:layout_marginStart="@dimen/dp_40"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
android:background="@drawable/bg_tab_item">
|
||||
|
||||
<View
|
||||
android:id="@+id/topViewPos"
|
||||
android:layout_width="@dimen/dp_856"
|
||||
android:layout_height="@dimen/dp_100"
|
||||
android:layout_marginTop="@dimen/dp_21"
|
||||
@@ -16,7 +17,6 @@
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/topViewPos"
|
||||
android:layout_width="@dimen/dp_160"
|
||||
android:layout_height="@dimen/dp_56"
|
||||
android:layout_marginStart="@dimen/dp_104"
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
<ScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_700"
|
||||
android:layout_height="@dimen/dp_900"
|
||||
app:layout_constraintTop_toBottomOf="@+id/topViewPos">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
|
||||
@@ -1049,6 +1049,7 @@
|
||||
<dimen name="dp_1170">1170dp</dimen>
|
||||
<dimen name="dp_1176">1176dp</dimen>
|
||||
<dimen name="dp_1200">1200dp</dimen>
|
||||
<dimen name="dp_1214">1214dp</dimen>
|
||||
<dimen name="dp_1241">1241dp</dimen>
|
||||
<dimen name="dp_1250">1250dp</dimen>
|
||||
<dimen name="dp_1261">1261dp</dimen>
|
||||
|
||||
Reference in New Issue
Block a user