I've upgraded to the new FormsAppCompatActivity. There are a lot of bugs, I'm going through them one by one.
Now, the drawer is being displayed over the Toolbar. I want to the Toolbar to be always on top, so the drawer should be below it.
My RootView is a MasterDetailPage:
RootView = new MasterDetailPage {
Master = PageSubs,
Detail = AppNavPage,
};
Here is my style.xml:
<style name="LightTheme" parent="Theme.AppCompat.Light.NoActionBar">
<item name="toolbar_style">@style/LightToolbar</item>
ToolbarStyle.xml:
<?xml version="1.0" encoding="UTF-8" ?>
<resources>
<style name="LightToolbar" parent="Widget.AppCompat.Toolbar">
<item name="android:theme">@style/ThemeOverlay.AppCompat.Dark.ActionBar</item>
<item name="android:popupTheme">@style/ThemeOverlay.AppCompat.Dark</item>
<item name="android:background">#0087DC</item>
</style>
<style name="DarkToolbar" parent="Widget.AppCompat.Toolbar">
<item name="android:theme">@style/ThemeOverlay.AppCompat.Dark.ActionBar</item>
<item name="android:popupTheme">@style/ThemeOverlay.AppCompat.Dark</item>
<item name="android:background">#ff0000</item>
</style>
<style name="AMOLEDToolbar" parent="DarkToolbar">
<item name="android:background">#000000</item>
</style>
</resources>