お世話になります。9行目の「<LinearLayout」で赤い波線が付きます。前に同じような事が起きてその時は、「<LinearLayout」の中身を書いていなかったせいだとご指摘を受けたので今度は書いてみましたが、波線がでます。
<?xml version="1.0" encoding="utf-8"?> <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent"> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="368dp" android:layout_height="495dp" android:background="@color/background" android:orientation="vertical" tools:layout_editor_absoluteY="8dp" tools:layout_editor_absoluteX="8dp"> <TextView android:id="@+id/contentTitle" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginLeft="4dp" android:ellipsize="end" android:textColor="@color/white" android:textSize="18sp" /> <EditText android:id="@+id/contentText" android:layout_width="match_parent" android:layout_height="wrap_content" android:hint="送る言葉を入力してください" android:maxLength="75" android:paddingBottom="18dp" android:paddingLeft="9dp" android:paddingTop="18dp" android:textSize="22sp" /> <Button android:id="@+id/saveButton" android:layout_width="match_parent" android:layout_height="0dp" android:layout_margin="4dp" android:layout_marginTop="6dp" android:layout_weight="3" android:text="保 存" android:textColor="@color/white" android:textSize="36sp" /> <Button android:id="@+id/sendButton" android:layout_width="match_parent" android:layout_height="0dp" android:layout_margin="4dp" android:layout_marginTop="6dp" android:layout_weight="3" android:padding="6dp" android:text="送 信" android:textColor="@color/white" android:textSize="36sp" /> </LinearLayout>
回答3件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
退会済みユーザー
2017/11/07 02:53 編集
退会済みユーザー
2017/11/07 03:09
2017/11/07 03:30