ButtonやTextViewなどを配置しようとドラッグしたのですが、消えてしまい配置ができません。
実機で状況を見てみるとデフォルトの位置に置かれたものが表示されました。
イベントの操作ができるようにしたいのですが、どのように改善したらよいか教えていただけますでしょうか。
エラーは以下のように出ています。
This view is not constrained. It only has designtime positions, so it will jump to (0,0) at runtime unless you add the constraints The layout editor allows you to place widgets anywhere on the canvas, and it records the current position with designtime attributes (such as layout_editor_absoluteX). These attributes are not applied at runtime, so if you push your layout on a device, the widgets may appear in a different location than shown in the editor. To fix this, make sure a widget has both horizontal and vertical constraints by dragging from the edge connections.
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/07/11 04:12