SetApplicationAttribute(android:theme, "@style/MyAppTheme")
CreateResource(values, colors.xml,
<resources>
<color name="actionbar">#ffffffff</color>
<color name="statusbar">#ffffffff</color>
<color name="textColorPrimary">#ff000000</color>
<color name="navigationBar">#ffffffff</color>
</resources>
)
CreateResource(values, theme.xml,
<resources>
<style name="MyAppTheme" parent="Theme.AppCompat.Light">
<item name="colorPrimary">@color/actionbar</item>
<item name="colorPrimaryDark">@color/statusbar</item>
<item name="android:textColorPrimary">@color/textColorPrimary</item>
<item name="android:navigationBarColor">@color/navigationBar</item>
<item name="windowNoTitle">true</item>
<item name="windowActionBar">false</item>
<item name="windowActionModeOverlay">true</item>
</style>
</resources>
)