我收到以下錯誤,我正在使用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