Это код, который я получаю сообщение об ошибке, когда пытаюсь поместить его в макет ограничения.Я испробовал множество различных методов, чтобы макет ограничения успешно отображался на странице профиля.Однако мне все еще не удалось получить имя для отображения без смешивания.
<?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"
android:background="@color/graylight"
android:orientation="vertical">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="260dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="400dp"
android:background="@drawable/gradientbackground"
android:gravity="center"
android:orientation="horizontal">
<ImageView
android:layout_width="wrap_content"
android:layout_height="425dp"
android:scaleType="centerInside"
android:src="@drawable/jussim" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="10dp"
android:text="Justina Simone"
android:textColor="#fff"
android:textSize="21sp"
android:textStyle="bold" />
<ImageView
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
</LinearLayout>
</RelativeLayout>
<ImageView
android:id="@+id/IVaddfriend"
android:layout_width="425dp"
android:layout_height="85dp"
android:src="@drawable/ic_person_add_black_24dp" />
<ImageView
android:id="@+id/IVimage1"
android:layout_width="425dp"
android:layout_height="85dp"
android:src="@drawable/ic_message_black_24dp"
tools:ignore="InvalidId" />
<ImageView
android:id="@+id/IVimage2"
android:layout_width="425dp"
android:layout_height="85dp"
android:src="@drawable/ic_grade_black_24dp"/>
</LinearLayout>