diff --git a/OCH/mogo-och-taxi-passenger/src/main/java/com/mogo/och/taxi/passenger/constant/TaxiPassengerConst.kt b/OCH/mogo-och-taxi-passenger/src/main/java/com/mogo/och/taxi/passenger/constant/TaxiPassengerConst.kt index 1b3594e480..b44508e49c 100644 --- a/OCH/mogo-och-taxi-passenger/src/main/java/com/mogo/och/taxi/passenger/constant/TaxiPassengerConst.kt +++ b/OCH/mogo-och-taxi-passenger/src/main/java/com/mogo/och/taxi/passenger/constant/TaxiPassengerConst.kt @@ -9,8 +9,7 @@ class TaxiPassengerConst { companion object { private const val BASE_URL_OCH_DEV = "http://tech-dev.zhidaohulian.com" -// private const val BASE_URL_OCH_QA = "https://tech-qa.zhidaohulian.com" - private const val BASE_URL_OCH_QA = "http://tech-dev.zhidaohulian.com" + private const val BASE_URL_OCH_QA = "https://tech-qa.zhidaohulian.com" private const val BASE_URL_OCH_RELEASE = "https://tech.zhidaohulian.com" @JvmStatic diff --git a/OCH/mogo-och-taxi/src/main/java/com/mogo/och/taxi/bean/DriverStatusQueryRespBean.java b/OCH/mogo-och-taxi/src/main/java/com/mogo/och/taxi/bean/DriverStatusQueryRespBean.java index dfa3976d62..d40b1222f2 100644 --- a/OCH/mogo-och-taxi/src/main/java/com/mogo/och/taxi/bean/DriverStatusQueryRespBean.java +++ b/OCH/mogo-och-taxi/src/main/java/com/mogo/och/taxi/bean/DriverStatusQueryRespBean.java @@ -13,6 +13,6 @@ public class DriverStatusQueryRespBean extends BaseData { public static class Result { public int serviceStatus; //0收车,1出车 public String orderNo; - public int purpose; // 1 运营 2 测试 3演示 + public int purpose; // 1 运营, 2 测试, 3演示 } } diff --git a/OCH/mogo-och-taxi/src/main/java/com/mogo/och/taxi/callback/IOCHTaxiCarStatusCallback.java b/OCH/mogo-och-taxi/src/main/java/com/mogo/och/taxi/callback/IOCHTaxiCarStatusCallback.java index 2244131a50..9763d6414d 100644 --- a/OCH/mogo-och-taxi/src/main/java/com/mogo/och/taxi/callback/IOCHTaxiCarStatusCallback.java +++ b/OCH/mogo-och-taxi/src/main/java/com/mogo/och/taxi/callback/IOCHTaxiCarStatusCallback.java @@ -6,7 +6,7 @@ package com.mogo.och.taxi.callback; * Model->Presenter回调:出车/收车状态变更 */ public interface IOCHTaxiCarStatusCallback { - void onCarStatusChanged(boolean inOperation); + void onCarStatusChanged(boolean inOperation,String role); void onServiceDataUpdate(long dailyTimeDuration, long dailyOrderNum); } diff --git a/OCH/mogo-och-taxi/src/main/java/com/mogo/och/taxi/constant/DriverRoleEnum.kt b/OCH/mogo-och-taxi/src/main/java/com/mogo/och/taxi/constant/DriverRoleEnum.kt new file mode 100644 index 0000000000..3f81dba2fc --- /dev/null +++ b/OCH/mogo-och-taxi/src/main/java/com/mogo/och/taxi/constant/DriverRoleEnum.kt @@ -0,0 +1,11 @@ +package com.mogo.och.taxi.constant + +/** + * Created on 2021/12/7 + * 1 运营, 2 测试, 3演示 + */ +enum class DriverRoleEnum(val code: Int) { + OPERATION( 1), + TEST( 2), + DEMO( 3); +} \ No newline at end of file diff --git a/OCH/mogo-och-taxi/src/main/java/com/mogo/och/taxi/constant/OCHTaxiConst.kt b/OCH/mogo-och-taxi/src/main/java/com/mogo/och/taxi/constant/OCHTaxiConst.kt index 0d61d6ba33..3d5facede1 100644 --- a/OCH/mogo-och-taxi/src/main/java/com/mogo/och/taxi/constant/OCHTaxiConst.kt +++ b/OCH/mogo-och-taxi/src/main/java/com/mogo/och/taxi/constant/OCHTaxiConst.kt @@ -9,8 +9,7 @@ class OCHTaxiConst { companion object { private const val BASE_URL_OCH_DEV = "http://tech-dev.zhidaohulian.com" -// private const val BASE_URL_OCH_QA = "https://tech-qa.zhidaohulian.com" - private const val BASE_URL_OCH_QA = "http://tech-dev.zhidaohulian.com" + private const val BASE_URL_OCH_QA = "https://tech-qa.zhidaohulian.com" private const val BASE_URL_OCH_RELEASE = "https://tech.zhidaohulian.com" @JvmStatic @@ -42,8 +41,12 @@ class OCHTaxiConst { const val SP_KEY_OCH_TAXI_ORDER = "SP_KEY_OCH_TAXI_ORDER" //起点UUID - const val TAXI_START_MAP_MAKER = "taxi_start_map_maker"; + const val TAXI_START_MAP_MAKER = "taxi_start_map_maker" //终点UUID - const val TAXI_END_MAP_MAKER = "taxi_end_map_maker"; + const val TAXI_END_MAP_MAKER = "taxi_end_map_maker" + + //演示:V 测试:内测 + const val DEMO_USER = "V" + const val TEST_USER = "内测" } } \ No newline at end of file diff --git a/OCH/mogo-och-taxi/src/main/java/com/mogo/och/taxi/model/MogoOCHTaxiModelNew.java b/OCH/mogo-och-taxi/src/main/java/com/mogo/och/taxi/model/MogoOCHTaxiModelNew.java index 3f5b3b0f55..7c635f3341 100644 --- a/OCH/mogo-och-taxi/src/main/java/com/mogo/och/taxi/model/MogoOCHTaxiModelNew.java +++ b/OCH/mogo-och-taxi/src/main/java/com/mogo/och/taxi/model/MogoOCHTaxiModelNew.java @@ -45,6 +45,7 @@ import com.mogo.och.taxi.callback.IOCHTaxiADASStatusCallback; import com.mogo.och.taxi.callback.IOCHTaxiCarStatusCallback; import com.mogo.och.taxi.callback.IOCHTaxiControllerStatusCallback; import com.mogo.och.taxi.callback.IOCHTaxiOrderStatusCallback; +import com.mogo.och.taxi.constant.DriverRoleEnum; import com.mogo.och.taxi.constant.OCHTaxiConst; import com.mogo.och.taxi.constant.OrderStatusEnum; import com.mogo.och.taxi.constant.OrderTypeEnum; @@ -262,10 +263,18 @@ public class MogoOCHTaxiModelNew { if (null != data && 0 == data.code) { mOCHCarStatus = data.data.serviceStatus == 1 ? 1 : 0; //更新view + CallerLogger.INSTANCE.d(M_TAXI + TAG, "changeCarStatus:" + mOCHCarStatus); startOrStopOrderLoop(mOCHCarStatus == 1); - if (mCarStatusCallback != null) { - mCarStatusCallback.onCarStatusChanged(mOCHCarStatus == 1); + String role = ""; + if (DriverRoleEnum.DEMO.getCode() == data.data.purpose){ + role = OCHTaxiConst.DEMO_USER; + }else if (DriverRoleEnum.TEST.getCode() == data.data.purpose){ + role = OCHTaxiConst.TEST_USER; } + if (mCarStatusCallback != null) { + mCarStatusCallback.onCarStatusChanged(mOCHCarStatus == 1 , role); + } + } } @@ -295,11 +304,7 @@ public class MogoOCHTaxiModelNew { public void onSuccess(BaseData data) { if (null != data && 0 == data.code) { mOCHCarStatus = status; - startOrStopOrderLoop(mOCHCarStatus == 1); - if (mCarStatusCallback != null) { - mCarStatusCallback.onCarStatusChanged(mOCHCarStatus == 1); - } - CallerLogger.INSTANCE.d(M_TAXI + TAG, "changeCarStatus:" + status); + queryCarStatus(); } } diff --git a/OCH/mogo-och-taxi/src/main/java/com/mogo/och/taxi/presenter/OCHTaxiPresenter.java b/OCH/mogo-och-taxi/src/main/java/com/mogo/och/taxi/presenter/OCHTaxiPresenter.java index e79ff157df..399a72513d 100644 --- a/OCH/mogo-och-taxi/src/main/java/com/mogo/och/taxi/presenter/OCHTaxiPresenter.java +++ b/OCH/mogo-och-taxi/src/main/java/com/mogo/och/taxi/presenter/OCHTaxiPresenter.java @@ -163,8 +163,8 @@ public class OCHTaxiPresenter extends Presenter implements IOCH } @Override - public void onCarStatusChanged(boolean inOperation) { - mView.updateOperationStatus(inOperation); + public void onCarStatusChanged(boolean inOperation, String role) { + mView.updateOperationStatus(inOperation,role); } @Override diff --git a/OCH/mogo-och-taxi/src/main/java/com/mogo/och/taxi/ui/BaseOchTaxiTabFragment.java b/OCH/mogo-och-taxi/src/main/java/com/mogo/och/taxi/ui/BaseOchTaxiTabFragment.java index dcbf3438c1..df823a11d3 100644 --- a/OCH/mogo-och-taxi/src/main/java/com/mogo/och/taxi/ui/BaseOchTaxiTabFragment.java +++ b/OCH/mogo-och-taxi/src/main/java/com/mogo/och/taxi/ui/BaseOchTaxiTabFragment.java @@ -62,6 +62,7 @@ public abstract class BaseOchTaxiTabFragment + + + + \ No newline at end of file diff --git a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_autopilot_status_bg.xml b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_autopilot_status_bg.xml new file mode 100644 index 0000000000..9350652b43 --- /dev/null +++ b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_autopilot_status_bg.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_back_btn.png b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_back_btn.png new file mode 100644 index 0000000000..35e13ff68c Binary files /dev/null and b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_back_btn.png differ diff --git a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_badcase_btn_bg.png b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_badcase_btn_bg.png new file mode 100644 index 0000000000..89a6eaa5dc Binary files /dev/null and b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_badcase_btn_bg.png differ diff --git a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_base_icon_not_in_autopilot.png b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_base_icon_not_in_autopilot.png new file mode 100644 index 0000000000..927296d690 Binary files /dev/null and b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_base_icon_not_in_autopilot.png differ diff --git a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_close_navi_icon.png b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_close_navi_icon.png new file mode 100644 index 0000000000..56525e7ed2 Binary files /dev/null and b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_close_navi_icon.png differ diff --git a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_dot_line.png b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_dot_line.png new file mode 100644 index 0000000000..a720a532ea Binary files /dev/null and b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_dot_line.png differ diff --git a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_ic_autopilot.png b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_ic_autopilot.png new file mode 100644 index 0000000000..539e106058 Binary files /dev/null and b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_ic_autopilot.png differ diff --git a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_ic_autopilot_bg.png b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_ic_autopilot_bg.png new file mode 100644 index 0000000000..ef5a5ea880 Binary files /dev/null and b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_ic_autopilot_bg.png differ diff --git a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_ic_autopilot_bg_pressed.png b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_ic_autopilot_bg_pressed.png new file mode 100644 index 0000000000..39194f8e55 Binary files /dev/null and b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_ic_autopilot_bg_pressed.png differ diff --git a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_ic_autopilot_disable.png b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_ic_autopilot_disable.png new file mode 100644 index 0000000000..695515a366 Binary files /dev/null and b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_ic_autopilot_disable.png differ diff --git a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_ic_autopilot_failed.png b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_ic_autopilot_failed.png new file mode 100644 index 0000000000..3347b2bfc2 Binary files /dev/null and b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_ic_autopilot_failed.png differ diff --git a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_ic_autopilot_loading.png b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_ic_autopilot_loading.png new file mode 100644 index 0000000000..a71cf9a4f9 Binary files /dev/null and b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_ic_autopilot_loading.png differ diff --git a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_ic_autopilot_success.png b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_ic_autopilot_success.png new file mode 100644 index 0000000000..dd7dc2d6b2 Binary files /dev/null and b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_ic_autopilot_success.png differ diff --git a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_icon_arrived_station.png b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_icon_arrived_station.png new file mode 100644 index 0000000000..8a065b66dd Binary files /dev/null and b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_icon_arrived_station.png differ diff --git a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_icon_arriving_station.png b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_icon_arriving_station.png new file mode 100644 index 0000000000..4ed57a0e30 Binary files /dev/null and b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_icon_arriving_station.png differ diff --git a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_masking.png b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_masking.png new file mode 100644 index 0000000000..b33738106e Binary files /dev/null and b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_masking.png differ diff --git a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_navi_arrow_icon.png b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_navi_arrow_icon.png new file mode 100644 index 0000000000..a83b7c9e74 Binary files /dev/null and b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_navi_arrow_icon.png differ diff --git a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_navi_direction_icon.png b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_navi_direction_icon.png new file mode 100755 index 0000000000..1b96799531 Binary files /dev/null and b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_navi_direction_icon.png differ diff --git a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_navi_icon.png b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_navi_icon.png new file mode 100644 index 0000000000..bd4e6ccde4 Binary files /dev/null and b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_navi_icon.png differ diff --git a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_navi_line_icon.png b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_navi_line_icon.png new file mode 100644 index 0000000000..7f758d5999 Binary files /dev/null and b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_navi_line_icon.png differ diff --git a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_out_btn.png b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_out_btn.png new file mode 100644 index 0000000000..a3a771d686 Binary files /dev/null and b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_out_btn.png differ diff --git a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_personal_btn.png b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_personal_btn.png new file mode 100644 index 0000000000..0cb863cecb Binary files /dev/null and b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_personal_btn.png differ diff --git a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_setting_btn_bg.png b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_setting_btn_bg.png new file mode 100644 index 0000000000..a21f54cc53 Binary files /dev/null and b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_setting_btn_bg.png differ diff --git a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_speed_bg.png b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_speed_bg.png new file mode 100644 index 0000000000..62942a7a42 Binary files /dev/null and b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_speed_bg.png differ diff --git a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_speed_selector.xml b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_speed_selector.xml new file mode 100644 index 0000000000..aaf1d9add3 --- /dev/null +++ b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_speed_selector.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_switch_map_bg.png b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_switch_map_bg.png new file mode 100644 index 0000000000..f4ab3deb31 Binary files /dev/null and b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi-2560x1600/taxi_switch_map_bg.png differ diff --git a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/end_maker_icon.png b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/end_maker_icon.png new file mode 100755 index 0000000000..8acf113151 Binary files /dev/null and b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/end_maker_icon.png differ diff --git a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/icon_station_start_end.png b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/icon_station_start_end.png new file mode 100644 index 0000000000..04580a8f0d Binary files /dev/null and b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/icon_station_start_end.png differ diff --git a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/start_maker_icon.png b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/start_maker_icon.png new file mode 100644 index 0000000000..9eca61e199 Binary files /dev/null and b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/start_maker_icon.png differ diff --git a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_autopilot_bg_selector.xml b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_autopilot_bg_selector.xml new file mode 100644 index 0000000000..e01265811f --- /dev/null +++ b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_autopilot_bg_selector.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_autopilot_status_bg.xml b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_autopilot_status_bg.xml new file mode 100644 index 0000000000..9350652b43 --- /dev/null +++ b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_autopilot_status_bg.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_back_btn.png b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_back_btn.png new file mode 100644 index 0000000000..35e13ff68c Binary files /dev/null and b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_back_btn.png differ diff --git a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_badcase_btn_bg.png b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_badcase_btn_bg.png new file mode 100644 index 0000000000..89a6eaa5dc Binary files /dev/null and b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_badcase_btn_bg.png differ diff --git a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_base_icon_not_in_autopilot.png b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_base_icon_not_in_autopilot.png index 21dc719ec9..927296d690 100644 Binary files a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_base_icon_not_in_autopilot.png and b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_base_icon_not_in_autopilot.png differ diff --git a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_dot_line.png b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_dot_line.png index 186001352c..a720a532ea 100644 Binary files a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_dot_line.png and b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_dot_line.png differ diff --git a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_ic_autopilot.png b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_ic_autopilot.png index be978145dc..539e106058 100644 Binary files a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_ic_autopilot.png and b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_ic_autopilot.png differ diff --git a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_ic_autopilot_bg.png b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_ic_autopilot_bg.png new file mode 100644 index 0000000000..ef5a5ea880 Binary files /dev/null and b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_ic_autopilot_bg.png differ diff --git a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_ic_autopilot_bg_pressed.png b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_ic_autopilot_bg_pressed.png new file mode 100644 index 0000000000..39194f8e55 Binary files /dev/null and b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_ic_autopilot_bg_pressed.png differ diff --git a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_ic_autopilot_failed.png b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_ic_autopilot_failed.png new file mode 100644 index 0000000000..3347b2bfc2 Binary files /dev/null and b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_ic_autopilot_failed.png differ diff --git a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_ic_autopilot_loading.png b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_ic_autopilot_loading.png new file mode 100644 index 0000000000..a71cf9a4f9 Binary files /dev/null and b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_ic_autopilot_loading.png differ diff --git a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_ic_autopilot_success.png b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_ic_autopilot_success.png new file mode 100644 index 0000000000..dd7dc2d6b2 Binary files /dev/null and b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_ic_autopilot_success.png differ diff --git a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_icon_arrived_station.png b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_icon_arrived_station.png index a676a789c3..8a065b66dd 100644 Binary files a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_icon_arrived_station.png and b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_icon_arrived_station.png differ diff --git a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_icon_arriving_station.png b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_icon_arriving_station.png index e1fd463963..4ed57a0e30 100644 Binary files a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_icon_arriving_station.png and b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_icon_arriving_station.png differ diff --git a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_masking.png b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_masking.png new file mode 100644 index 0000000000..b33738106e Binary files /dev/null and b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_masking.png differ diff --git a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_out_btn.png b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_out_btn.png new file mode 100644 index 0000000000..a3a771d686 Binary files /dev/null and b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_out_btn.png differ diff --git a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_personal_btn.png b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_personal_btn.png new file mode 100644 index 0000000000..0cb863cecb Binary files /dev/null and b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_personal_btn.png differ diff --git a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_setting_btn_bg.png b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_setting_btn_bg.png new file mode 100644 index 0000000000..a21f54cc53 Binary files /dev/null and b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_setting_btn_bg.png differ diff --git a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_speed_bg.png b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_speed_bg.png new file mode 100644 index 0000000000..62942a7a42 Binary files /dev/null and b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_speed_bg.png differ diff --git a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_speed_selector.xml b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_speed_selector.xml new file mode 100644 index 0000000000..aaf1d9add3 --- /dev/null +++ b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_speed_selector.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_switch_map_bg.png b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_switch_map_bg.png new file mode 100644 index 0000000000..f4ab3deb31 Binary files /dev/null and b/OCH/mogo-och-taxi/src/main/res/drawable-xhdpi/taxi_switch_map_bg.png differ diff --git a/OCH/mogo-och-taxi/src/main/res/layout/taxi_base_fragment.xml b/OCH/mogo-och-taxi/src/main/res/layout/taxi_base_fragment.xml index c4c1309001..5d606924e8 100644 --- a/OCH/mogo-och-taxi/src/main/res/layout/taxi_base_fragment.xml +++ b/OCH/mogo-och-taxi/src/main/res/layout/taxi_base_fragment.xml @@ -103,6 +103,16 @@ app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="parent" /> + + 40px + 40px + 46px + 24px + + 530px + 492px + + 20px + 20px + 70px + 130px + 93px + 150px + 70px + + 24px + 460px + 140px + + 102px + 102px + + 83px + + 40px + 466px + 414px + + + + 46px + 13px + 12px + 350px + + 460px + 30px + + 15px + 25px + 25px + 32px + 1px + 20px + 20px + 20px + 140px + 20px + 41px + 17px + 41px + 42px + 32px + 32px + 84px + 3px + 20px + 32px + 36px + 17px + 31.5px + 560px 910px 800px @@ -23,4 +86,6 @@ 220px 420px 220px + + 16px \ No newline at end of file diff --git a/OCH/mogo-och-taxi/src/main/res/values-xhdpi-2560x1440/dimens.xml b/OCH/mogo-och-taxi/src/main/res/values-xhdpi-2560x1440/dimens.xml index 5e917d8425..57d4a93749 100644 --- a/OCH/mogo-och-taxi/src/main/res/values-xhdpi-2560x1440/dimens.xml +++ b/OCH/mogo-och-taxi/src/main/res/values-xhdpi-2560x1440/dimens.xml @@ -87,4 +87,6 @@ 420px 220px + 16px + \ No newline at end of file diff --git a/OCH/mogo-och-taxi/src/main/res/values/colors.xml b/OCH/mogo-och-taxi/src/main/res/values/colors.xml index 318fd9a653..da629efd4c 100644 --- a/OCH/mogo-och-taxi/src/main/res/values/colors.xml +++ b/OCH/mogo-och-taxi/src/main/res/values/colors.xml @@ -13,4 +13,6 @@ #FFFFFF #99FFFFFF #FF52BBFF + + #4DFFFFFF \ No newline at end of file diff --git a/OCH/mogo-och-taxi/src/main/res/values/dimens.xml b/OCH/mogo-och-taxi/src/main/res/values/dimens.xml index 30312ffaab..bfbb7d9072 100644 --- a/OCH/mogo-och-taxi/src/main/res/values/dimens.xml +++ b/OCH/mogo-och-taxi/src/main/res/values/dimens.xml @@ -84,4 +84,7 @@ 220px 40px + + 16px + \ No newline at end of file