布局调整
This commit is contained in:
@@ -138,6 +138,8 @@ public class TopViewAnimHelper {
|
||||
});
|
||||
|
||||
cameraMode = rootView.findViewById(R.id.module_ext_id_north);
|
||||
// 初始化默认隐藏导航
|
||||
hideNaviView();
|
||||
}
|
||||
|
||||
private boolean isTopViewOut = true;
|
||||
@@ -309,7 +311,8 @@ public class TopViewAnimHelper {
|
||||
constraintSet.clear(tvNextDistance.getId(), ConstraintSet.BOTTOM);
|
||||
constraintSet.clear(tvNextRoad.getId(), ConstraintSet.BASELINE);
|
||||
constraintSet.connect(tvNextRoad.getId(), ConstraintSet.BOTTOM,
|
||||
ivTurnIcon.getId(), ConstraintSet.BOTTOM);
|
||||
ivTurnIcon.getId(), ConstraintSet.BOTTOM,
|
||||
(int) getDimen(R.dimen.module_map_id_navi_next_info_road_marginBottom));
|
||||
constraintSet.connect(tvNextRoad.getId(), ConstraintSet.LEFT,
|
||||
tvNextDistance.getId(), ConstraintSet.LEFT,
|
||||
0);
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
<com.mogo.module.extensions.navi.TopView
|
||||
android:id="@+id/module_entrance_id_top_container"
|
||||
android:layout_width="@dimen/module_ext_navi_info_panel_width"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:focusable="true"
|
||||
android:clickable="true"
|
||||
@@ -29,6 +29,7 @@
|
||||
android:layout_height="@dimen/module_ext_navi_info_panel_height"
|
||||
android:background="@drawable/module_ext_dw_navi_info_panel_bkg"
|
||||
app:layout_constraintLeft_toLeftOf="@id/module_entrance_id_top_container"
|
||||
app:layout_constraintRight_toRightOf="@id/module_entrance_id_top_container"
|
||||
app:layout_constraintTop_toBottomOf="@id/module_entrance_id_top_container" />
|
||||
|
||||
<ImageView
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/share_module_title_margin_top"
|
||||
android:text="一 我要分享 一"
|
||||
android:text="我要分享"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/share_module_title_content"
|
||||
android:textStyle="bold"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<dimen name="share_module_width">776px</dimen>
|
||||
<dimen name="share_module_height">428px</dimen>
|
||||
<dimen name="share_module_margin_top">34px</dimen>
|
||||
<dimen name="share_module_title_margin_top">43px</dimen>
|
||||
<dimen name="share_module_title_margin_top">31px</dimen>
|
||||
<dimen name="share_module_first_margin_left">100px</dimen>
|
||||
<dimen name="share_module_margin_left">118px</dimen>
|
||||
<dimen name="share_module_tv_margin_top">15px</dimen>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<dimen name="share_module_width">1464px</dimen>
|
||||
<dimen name="share_module_height">808px</dimen>
|
||||
<dimen name="share_module_margin_top">64px</dimen>
|
||||
<dimen name="share_module_title_margin_top">80px</dimen>
|
||||
<dimen name="share_module_title_margin_top">56px</dimen>
|
||||
<dimen name="share_module_first_margin_left">200px</dimen>
|
||||
<dimen name="share_module_margin_left">210px</dimen>
|
||||
<dimen name="share_module_tv_margin_top">30px</dimen>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<dimen name="share_module_width">1300px</dimen>
|
||||
<dimen name="share_module_height">600px</dimen>
|
||||
<dimen name="share_module_margin_top">64px</dimen>
|
||||
<dimen name="share_module_title_margin_top">80px</dimen>
|
||||
<dimen name="share_module_title_margin_top">56px</dimen>
|
||||
<dimen name="share_module_first_margin_left">200px</dimen>
|
||||
<dimen name="share_module_margin_left">210px</dimen>
|
||||
<dimen name="share_module_tv_margin_top">30px</dimen>
|
||||
|
||||
Reference in New Issue
Block a user