优化天气控件位置

This commit is contained in:
tongchenfei
2020-09-02 10:34:55 +08:00
parent ffdeea6ffe
commit 64db09cdbe
6 changed files with 33 additions and 14 deletions

View File

@@ -242,7 +242,7 @@
android:id="@+id/groupTopViewDebug"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:visibility="gone"
android:visibility="visible"
app:constraint_referenced_ids="btnShowDrawableTipNoSize,btnShowDrawableTip,btnShowTextTip,btnDebugCtrlNaviView,btnDebugCtrlSubView,btnDebugCtrlTopView,btnDebugAddBottomLayerView" />
</androidx.constraintlayout.widget.ConstraintLayout>

View File

@@ -8,15 +8,15 @@
android:id="@+id/module_ext_id_weather_container"
android:layout_width="wrap_content"
android:layout_height="@dimen/module_ext_height"
android:layout_marginEnd="@dimen/module_ext_weather_margin_end"
app:layout_goneMarginEnd="0dp"
android:background="@drawable/module_ext_drawable_weather_bkg"
android:gravity="center"
android:paddingStart="@dimen/module_ext_weather_container_paddingLeft"
android:paddingEnd="@dimen/module_ext_weather_container_paddingRight"
android:visibility="invisible"
app:layout_constraintRight_toLeftOf="@+id/ivUserHeadImg"
app:layout_goneMarginLeft="@dimen/module_ext_notice_margin_start"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintLeft_toRightOf="@+id/module_ext_id_msg"
android:layout_marginStart="@dimen/module_ext_weather_margin_start"
tools:visibility="visible">
<ImageView
@@ -75,5 +75,5 @@
app:layout_constraintBottom_toBottomOf="@+id/module_ext_id_weather_container"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="@+id/module_ext_id_weather_container"
tools:visibility="visible" />
tools:visibility="gone" />
</merge>

View File

@@ -145,5 +145,5 @@
<dimen name="module_ext_top_over_navi_height">34px</dimen>
<dimen name="module_ext_notice_margin_start">175px</dimen>
<dimen name="module_ext_weather_margin_end">485px</dimen>
<dimen name="module_ext_weather_margin_start">30px</dimen>
</resources>

View File

@@ -150,6 +150,6 @@
<dimen name="module_ext_display_overview_icon_marginTop">10px</dimen>
<dimen name="module_ext_top_over_navi_height">19px</dimen>
<dimen name="module_ext_weather_margin_start">16px</dimen>
<dimen name="module_ext_weather_margin_end">231px</dimen>
</resources>