Attribute error I don't know the reason for red letters, please let me know.

Asked 1 years ago, Updated 1 years ago, 93 views

<?xml version="1.0" encoding="utf=8"?>
<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="#A1A9BA"
    android: orientation="vertical">

    <TextView
        android: id="@+id/tvLabelInput"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginBottom="10dp"
        android:layout_marginTop="5dp"
        android:background="#ffffff"
        android:text="@string/tv_msg"
        android:textSize="25sp"/>
</LinearLayou>

I think it was just as popular as the text...
Attribute errors other than spelling errors are like .

I opened the sample code of the text site in Android studio and found that it is also red letters.

It's ?? If you're familiar with it, please take care of me.

android-studio xml android-activity

2022-09-30 17:06

1 Answers

</LinearLayou>

I think t is missing at the end of the .

Correctly

</LinearLayout>

Isn't that right?


2022-09-30 17:06

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.