1. ui opt
This commit is contained in:
@@ -77,7 +77,7 @@ public class NaviClient implements IMogoNavi {
|
||||
private boolean mAimlessStatus;
|
||||
|
||||
private NaviClient( Context context ) {
|
||||
mContext = context;
|
||||
mContext = context.getApplicationContext();
|
||||
if ( DebugConfig.isUseCustomNavi() ) {
|
||||
// 按需初始化导航组件
|
||||
initAMapNavi();
|
||||
|
||||
@@ -3,17 +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:layout_height="wrap_content"
|
||||
android:background="@drawable/module_widgets_app_entrance_root_bkg"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_height="wrap_content">
|
||||
android:padding="@dimen/module_widgets_app_entrance_root_padding">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/module_widgets_app_handler_container"
|
||||
android:layout_width="@dimen/module_widgets_app_handler_width"
|
||||
android:background="@drawable/module_widgets_app_handler_bkg"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@drawable/module_widgets_app_handler_bkg"
|
||||
android:gravity="center">
|
||||
|
||||
<ImageView
|
||||
@@ -26,11 +26,13 @@
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/module_widgets_app_entrance"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:maxLines="1"
|
||||
android:paddingLeft="@dimen/module_widgets_app_entrance_paddingLeft"
|
||||
android:paddingTop="@dimen/module_widgets_app_entrance_paddingTop"
|
||||
android:paddingRight="@dimen/module_widgets_app_entrance_paddingLeft"
|
||||
@@ -51,6 +53,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:maxLines="1"
|
||||
android:paddingLeft="@dimen/module_widgets_app_entrance_paddingLeft"
|
||||
android:paddingTop="@dimen/module_widgets_app_entrance_paddingTop"
|
||||
android:paddingRight="@dimen/module_widgets_app_entrance_paddingLeft"
|
||||
|
||||
Reference in New Issue
Block a user