多分LinearLayoutの誤記だと思うのですが、LinearLayoutは
xml
1<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2 xmlns:app="http://schemas.android.com/apk/res-auto"
3 xmlns:tools="http://schemas.android.com/tools"
4 android:layout_width="match_parent"
5 android:layout_height="match_parent"
6 android:orientation="vertical"
7 tools:context=".MainActivity">
のように、android:orientationという属性に"vertical"を指定すると縦並びに、"horizontal"を指定すると横並びに、(TextViewなどの)コンポーネントがくっついて配置されます。いずれにしてもくっついて配置されるのがLinearLayoutの特性なので、「自由に」というのがくっつけずに配置したいことを意味しているのであれば、ConstraintLayoutなど別のLayoutを用いましょう。
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2020/10/20 23:57