1. UI 走查修改

2. 其他修复。
This commit is contained in:
wangcongtao
2020-09-28 20:11:29 +08:00
parent a5f7e7d910
commit 0d84238be4
41 changed files with 221 additions and 19 deletions

View File

@@ -14,6 +14,7 @@ import android.widget.TextView;
import com.alibaba.android.arouter.launcher.ARouter;
import com.mogo.commons.AbsMogoApplication;
import com.mogo.commons.debug.DebugConfig;
import com.mogo.commons.storage.SpStorage;
import com.mogo.commons.voice.AIAssist;
import com.mogo.commons.voice.IMogoVoiceCmdCallBack;
import com.mogo.module.common.MogoApisHandler;
@@ -94,8 +95,9 @@ class AutoNaviIntentHandler implements IMogoVoiceCmdCallBack {
case 3: // 前台
syncAutoNaviNavingStatus( context );
break;
case 4: // 后台
case 9: // 非导航
SpStorage.setNavigationTarget( "" );
case 4: // 后台
closeEntrance();
break;
case 8: // 导航
@@ -183,7 +185,7 @@ class AutoNaviIntentHandler implements IMogoVoiceCmdCallBack {
}
/**
* 咨询用户
* 目的地车友
*
* @param context
*/

Binary file not shown.

After

Width:  |  Height:  |  Size: 711 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 711 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 711 B

View File

@@ -3,7 +3,7 @@
<item>
<shape>
<corners android:bottomLeftRadius="@dimen/module_widgets_app_bkg_corner" android:bottomRightRadius="0px" android:topLeftRadius="@dimen/module_widgets_app_bkg_corner" android:topRightRadius="0px" />
<solid android:color="#3D3F44" />
<solid android:color="#4C4E51" />
</shape>
</item>
</selector>

View File

@@ -3,14 +3,17 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/module_widgets_app_entrance_root"
android:background="@drawable/module_widgets_app_entrance_root_bkg"
android:layout_width="wrap_content"
android:padding="@dimen/module_widgets_app_entrance_root_padding"
android:gravity="center_vertical"
android:layout_height="wrap_content">
<LinearLayout
android:id="@+id/module_widgets_app_handler_container"
android:layout_width="@dimen/module_widgets_app_handler_width"
android:layout_height="match_parent"
android:background="@drawable/module_widgets_app_handler_bkg"
android:layout_height="match_parent"
android:gravity="center">
<ImageView
@@ -22,8 +25,7 @@
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/module_widgets_app_body_bkg">
android:layout_height="wrap_content">
<TextView
android:id="@+id/module_widgets_app_entrance"
android:layout_width="wrap_content"

View File

@@ -11,4 +11,5 @@
<dimen name="module_widgets_app_bkg_corner">4px</dimen>
<dimen name="module_widgets_app_handler_width">56px</dimen>
<dimen name="module_widgets_app_handler_height">40px</dimen>
<dimen name="module_widgets_app_entrance_root_padding">7px</dimen>
</resources>

View File

@@ -11,4 +11,5 @@
<dimen name="module_widgets_app_bkg_corner">4px</dimen>
<dimen name="module_widgets_app_handler_width">56px</dimen>
<dimen name="module_widgets_app_handler_height">40px</dimen>
<dimen name="module_widgets_app_entrance_root_padding">7px</dimen>
</resources>

View File

@@ -11,4 +11,5 @@
<dimen name="module_widgets_app_bkg_corner">8px</dimen>
<dimen name="module_widgets_app_handler_width">100px</dimen>
<dimen name="module_widgets_app_handler_height">85px</dimen>
<dimen name="module_widgets_app_entrance_root_padding">8px</dimen>
</resources>

View File

@@ -11,4 +11,5 @@
<dimen name="module_widgets_app_bkg_corner">8px</dimen>
<dimen name="module_widgets_app_handler_width">100px</dimen>
<dimen name="module_widgets_app_handler_height">85px</dimen>
<dimen name="module_widgets_app_entrance_root_padding">8px</dimen>
</resources>

View File

@@ -11,4 +11,5 @@
<dimen name="module_widgets_app_bkg_corner">4px</dimen>
<dimen name="module_widgets_app_handler_width">56px</dimen>
<dimen name="module_widgets_app_handler_height">40px</dimen>
<dimen name="module_widgets_app_entrance_root_padding">7px</dimen>
</resources>