增加了屏幕适配方案,目前采用的是分体机的图为基准进行的换算,使用的时候直接在xml布局中填写设计图的标注即可,例如:设计图100px,填写dp_100

This commit is contained in:
董宏宇
2020-01-06 11:46:00 +08:00
parent bef7facffd
commit c82e8d6005
3 changed files with 1253 additions and 5 deletions

View File

@@ -23,7 +23,7 @@
<FrameLayout
android:id="@+id/module_main_id_fragment_container"
android:layout_width="330dp"
android:layout_width="@dimen/dp_660"
android:layout_height="match_parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toTopOf="parent">