title: Error: data binding error msg:No class attribute for 'view' node
body: <p><strong>Implemented dataBinding in android but it is throwing error in compile time</strong></p>
  
  <p><strong>XML code</strong>
   
  </p>
  
  <pre><code>&lt;RelativeLayout
      android:layout_width="match_parent"
      android:layout_height="match_parent"&gt;
  
      &lt;View
          android:layout_width="match_parent"
          android:layout_height="@dimen/sw360dp_260dp"
          android:layout_marginTop="@dimen/sw360dp_45dp"
          android:background="@drawable/apply_jobs_background_xhdpi" /&gt;
  
      &lt;LinearLayout
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_below="@id/toolbar"
          android:layout_marginStart="@dimen/sw360dp_40dp"
          android:layout_marginTop="@dimen/sw360dp_20dp"
          android:orientation="vertical"&gt;
  
          &lt;TextView
              android:id="@+id/applyJobsCompanyName"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:fontFamily="@font/amarnath_regular"
              android:hint="Company Name"
              android:textColor="@color/white"
              android:textSize="@dimen/sw360dp_18sp"
              android:textStyle="bold" /&gt;
      &lt;/LinearLayout&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>
  <strong>My Error</strong></p>
  
  <blockquote>
    <p>data binding error ****msg:No class attribute for 'view' node
        file:C:\Users\Aayush\AndroidStuidoProjects\SkillDostiJobs\app\src\main\res\layout\activity_apply_jobs.xml</p>
  </blockquote>