Android Studio 2.3.3にてボタンレイアウトを調整しています。
参考書なので右側に「Component Tree」が表示されていると思うのですが、
表示されなくボタン調整ができずに悩んでます。どのようにしたら表示できるようになりますでしょうか?
xml
1<?xml version="1.0" encoding="utf-8"?> 2<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 xmlns:app="http://schemas.android.com/apk/res-auto" 4 xmlns:tools="http://schemas.android.com/tools" 5 android:layout_width="match_parent" 6 android:layout_height="match_parent" 7 tools:context="com.example.xxx.myapplication2.MainActivity"> 8 9 <TextView 10 android:layout_width="wrap_content" 11 android:layout_height="wrap_content" 12 android:text="Hello World!" 13 app:layout_constraintBottom_toBottomOf="parent" 14 app:layout_constraintLeft_toLeftOf="parent" 15 app:layout_constraintRight_toRightOf="parent" 16 app:layout_constraintTop_toTopOf="parent" 17 app:layout_constraintVertical_bias="0.115" /> 18 19 <Button 20 android:id="@+id/button2" 21 android:layout_width="wrap_content" 22 android:layout_height="wrap_content" 23 android:text="Button" 24 tools:layout_editor_absoluteX="419dp" 25 tools:layout_editor_absoluteY="291dp" /> 26 27</android.support.constraint.ConstraintLayout> 28
やりたい事は「Hello World!」の下に「Button」を置きたく思います。
どうかご教授宜しくお願いします。

回答3件
あなたの回答
tips
プレビュー
下記のような回答は推奨されていません。
このような回答には修正を依頼しましょう。
また依頼した内容が修正された場合は、修正依頼を取り消すようにしましょう。