Home > Mobile >  Could you tell me how to solve program at the same mistakes?
Could you tell me how to solve program at the same mistakes?

Time:10-04




XMLNS: tools="http://schemas.android.com/tools" android: layout_width="match_parent
"Android: layout_height="match_parent" android: paddingLeft="@ dimen/activity_horizontal_margin
"Android: orientation="vertical"
Android: paddingRight="@ dimen/activity_horizontal_margin"
Android: paddingTop="@ dimen/activity_vertical_margin"

Android: paddingBottom="@ dimen/activity_vertical_margin" tools: context="MainActivity", "
The android: id="@ + id/hh" & gt;


Android: layout_width="wrap_content"
Android: layout_height="wrap_content"
Android: layout_weight="1"
The android: SRC="https://bbs.csdn.net/topics/@drawable/myphoto"
The android: id="@ + id/imageView"
/>

Android: layout_width="wrap_content"
Android: layout_height="wrap_content"

Android: textAppearance="? Android: attr/textAppearanceLarge
"Android: text="name: Li Linying"
The android: id="@ + id/NametextView"
Android: layout_marginBottom="3 dp"
Android: layout_alignParentBottom="true"
Android: layout_centerHorizontal="true"/& gt;

Android: layout_width="wrap_content"
Android: layout_height="wrap_content"

Android: textAppearance="? Android: attr/textAppearanceLarge
"Android: text="profession: the Internet of things project"
The android: id="@ + id/SubjecttextView"
Android: layout_marginTop="35 dp"
Android: layout_alignTop="@ + id/NametextView"
Android: layout_centerHorizontal="true"
/>

Android: layout_width="wrap_content"
Android: layout_height="wrap_content"

Android: textAppearance="? Android: attr/textAppearanceLarge
"Android: text="student number: 201730134050
"The android: id="@ + id/IDtextView"
Android: layout_below="@ + id/SubjecttextView"
Android: layout_centerHorizontal="true"
Android: layout_marginTop="31 dp"

/>





Code as above, the Error is the Error: (16, 22) No resource found that matches the given name (at the 'SRC' with value '@ drawable/myphoto).

Pictures can add in the interface display, just in the generated apk produce such mistakes when, image is installed under the drawable file

CodePudding user response:

In the drawable directory you sent a picture of a name for the myphoto ah

CodePudding user response:

reference 1st floor kuangbao9 response:
in the drawable directory you sent a picture of a name for the myphoto ah
I put in, but I can't, but I put the pictures on the mipmap in name change again
  • Related