我收到以下错误,我正在使用Android studio 2.2 Preview 3.我搜索了Google,但找不到任何资源。此视图不受限制
Error: This view is not constrained, it only has design time positions, so it will jump to (0,0) unless you add constraints
<TextView
android:layout_width="384dp"
android:layout_height="207dp"
android:textAppearance="?android:attr/textAppearanceLarge"
android:text="@string/calc_default_display"
android:id="@+id/textView"
android:background="#ffffff"
android:layout_margin="0dp"
android:gravity="bottom|end"
android:textSize="70sp"
android:nestedScrollingEnabled="false"
android:maxLines="2"
android:maxLength="17"
tools:layout_editor_absoluteX="0dp"
tools:layout_editor_absoluteY="0dp" />
非常感谢您的解决方案,我是一个绝对的初学者,我不知道什么是错的部件位置 –
的最佳解决方案,虽然我希望Android Studio只会存储起跑位置,而不是运行时间位置。更好的问题是谷歌为什么只在运行期间存储位置是个好主意?这是让开发者点击推断位置的不必要的步骤。 – Antony
非常感谢!非常有帮助 – Paul