android - Gradle: Error parsing XML: not well-formed (invalid token) -


i'm getting compilation error in xml file cant seem spot problem.. error randomly came , don't recall touching file maybe cant see problem.

<linearlayout xmlns:android="http://schemas.android.com/apk/res/android"           xmlns:tools="http://schemas.android.com/tools"           android:layout_width="match_parent"           android:orientation="vertical"           android:layout_height="match_parent"           android:paddingleft="@dimen/activity_horizontal_margin"           android:paddingright="@dimen/activity_horizontal_margin"           android:paddingtop="@dimen/activity_vertical_margin"           android:paddingbottom="@dimen/activity_vertical_margin"           tools:context=".mybetswindow">  <button         android:id="@+id/addbetbutton"         android:text="add bet"         android:layout_width="wrap_content"         android:layout_height="wrap_content"         />  <linearlayout         android:id="@+id/betlistlayout"         android:layout_width="wrap_content"         android:layout_height="wrap_content"         android:orientation="vertical"> </linearlayout>   </linearlayout> 

by me, code works ; error doesn't come layout.

here it's doing on old program made called abar:

it works !

so check else !


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

c# - must be a non-abstract type with a public parameterless constructor in redis -

ajax - PHP/JSON Login script (Twitter style) not setting sessions -