1
所以基本上它的这个醇”栗子......我已经看到了这个问题被问了相当多的,但不能涉及自己的解决方案,我的,所以也许你除此之外,我还能帮助我。错误:(7)错误解析XML:文档元素后的垃圾
这里是我的activity_splash.xml
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/primary_dark"
android:id="@+id/imgLogo"/>
<ImageView
android:id="@+id/imgLogo"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/splash"
android:contentDescription=""
android:layout_centerVertical="true"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true" />
<TextView
android:id="@+id/AppVersion"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
android:textSize="14sp"
android:textColor="@android:color/white"
android:gravity="center_horizontal"
android:layout_alignParentBottom="true" />
<ProgressBar
android:id="@+id/progress_bar"
style="?android:attr/progressBarStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:layout_below="@+id/imgLogo"/>
<com.app.tvng.blogpress.views.VerticalTextView
android:id="@+id/companyname"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="left|center_vertical"
android:layout_alignParentBottom="true"
android:layout_marginLeft="3dip"
android:layout_marginBottom="4dip"
android:padding="4dip"
android:textSize="12sp"
android:textColor="@color/white"
android:text="@string/copyright"/>
</RelativeLayout>
感谢你的帮助
它指向任何线?您可以发布完整的错误日志 – commonSenseCode
@cooervo完整的错误日志: 错误 :文档元素 –