title: Xamarin Forms ERROR: 'Resource.Attribute' does not contain a definition for 'actionBarSize'
body: <p>Good Day. I was creating a Xamarin.Forms Portable application that enables the User to CRUD record of an Employee and was able to run it many times. But when I run it again, there's an error saying</p>
  
  <p><strong><em>'Resource.Attribute' does not contain a definition for 'actionBarSize'</em></strong></p>
  
  <p>It is located on the Android part of my program.
  <a href="https://i.stack.imgur.com/hBcGD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hBcGD.png" alt="enter image description here"></a></p>
  
  <p>This line of code causes it and I don't have a clue why.</p>
  
  <pre><code>    public static void UpdateIdValues()
      {
          global::Xamarin.Forms.Platform.Android.Resource.Attribute.actionBarSize = global::XamarinFormsDemo.Droid.Resource.Attribute.actionBarSize;
      }
  </code></pre>
  
  <p>Please help me. </p>