When trying to debug my xamarin forms android application, in my MainActivity.cs file I get this error:
CS0103 The name "Resource" not found in the current context D:\MyApp\App\App.Android\MainActivity.cs 12
The code that belongs to this is the following:
TabLayoutResource = Resource.Layout.Tabbar;
ToolbarResource = Resource.Layout.Toolbar;
When I comment out these lines, it compiles but each page has the title on like half the height of the page instead of inside the title bar. How can I fix this?