Parcourir la source

1.优化代码

王鹏鹏 il y a 2 ans
Parent
commit
c69ab71f68
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      workbenches/src/main/res/layout/fragment_brain_ability.xml

+ 2 - 2
workbenches/src/main/res/layout/fragment_brain_ability.xml

@@ -17,8 +17,8 @@
             android:layout_height="wrap_content"
             android:text="脑能力值"
             app:layout_constraintBottom_toBottomOf="parent"
-            app:layout_constraintLeft_toLeftOf="parent"
-            app:layout_constraintRight_toRightOf="parent"
+            app:layout_constraintStart_toStartOf="parent"
+            app:layout_constraintEnd_toEndOf="parent"
             app:layout_constraintTop_toTopOf="parent" />
 
     </androidx.constraintlayout.widget.ConstraintLayout>