The crash log as follows:
Java. Lang. RuntimeException: Unable to start the activity ComponentInfo} {XXXX: android. The InflateException: Binary XML file line # 8: Binary XML file line # 8: Error inflating class ImageView
<frameLayout XMLNS: android="http://schemas.android.com/apk/res/android"
The android: id="@ + id/frame_layout"
Android: layout_width="match_parent"
Android: layout_height="match_parent"
Android: orientation="vertical" & gt;The android: id="@ + id/iv_room_bg"
Android: layout_width="match_parent"
Android: layout_height="match_parent"
Android: scaleType="centerCrop"
The android: SRC="https://bbs.csdn.net/topics/@drawable/room_load_bg_default"/& gt;
CodePudding user response:
ImageView is red? Check the android: SRC="https://bbs.csdn.net/topics/@drawable/room_load_bg_default" isn't this resource file has a problem