android.view.InflateException 二進(jìn)制 XML 文件第 0 行:錯(cuò)誤導(dǎo)致類膨脹:java.lang.reflect.InvocationTargetException員工布局.xml 文件<?xml version="1.0" encoding="utf-8"?><android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="wrap_content" app:cardElevation="10dp" app:cardBackgroundColor="@color/cardview_light_background" > <LinearLayout android:orientation="vertical" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="?android:backgroundSplit" android:padding="10dp" > <TextView android:id="@+id/name" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/name" android:textColor="@android:color/black" android:textSize="15sp" android:textStyle="bold"/> <TextView android:id="@+id/type" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/type" android:textColor="@android:color/black" android:textSize="15sp" android:textStyle="normal"/> </LinearLayout></android.support.v7.widget.CardView>
android.view.InflateException 二進(jìn)制 XML 文件第 0 行:
達(dá)令說(shuō)
2021-10-17 15:56:43