增加了屏幕适配方案,目前采用的是分体机的图为基准进行的换算,使用的时候直接在xml布局中填写设计图的标注即可,例如:设计图100px,填写dp_100
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user