<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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"
tools:context=".setion2"
android:orientation="vertical" />
<com.google.android.material.textfield.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:errorEnabled="true" />
<EditText
android:id="@+id/text_input_email"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Email"
android:inputType="textEmailAddress"
android:textSize="26dp" />
<com.google.android.material.textfield.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:errorEnabled="true"
app:passwordToggleEnabled="true" />
<EditText
android:id="@+id/text_input_password"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Password"
android:inputType="textPassword"
android:textSize="26dp" />
<Button
android:layout_width="match parent"
android:layout_height="wrap_content"
android:text="Confirm"
android:id="@+id/con_btn"
anndroid:textAllCaps="false" />
</com.google.android.material.textfield.TextInputLayout>
</com.google.android.material.textfield.TextInputLayout>
</LinearLayout>
Это код для activity_section2.xml. Я до сих пор не могу понять, что мне нужно исправить. Первая подробная ошибка: /Users/kitty/Downloads/Assignment2MuyaoZhang0882423/app/src/main/res/layout/activity_setion2.xml:11: AAPT: ошибка: нежелательная после элемента документа.
вторая: /Users/kitty/Downloads/Assignment2MuyaoZhang0882423/app/src/main/res/layout/activity_setion2.xml: AAPT: ошибка: файл не удалось скомпилировать.
Пожалуйста, помогите мне. Спасибо большое !!