SetApplicationAttribute(android:theme, "@style/MyAppTheme")
CreateResource(values, theme.xml,
<resources>
<style name="MyAppTheme" parent="@style/Theme.AppCompat.Light.DarkActionBar">
<item name="colorPrimary">#2196F3</item> <!-- action bar -->
<item name="colorPrimaryDark">#1976D2</item> <!-- status bar -->
<item name="colorAccent">#FFC107</item> <!-- checkboxes. switches. msgbox buttons in Android 6.x -->
<item name="android:textColorPrimary">#FFFFFF</item> <!-- msgbox and actionbar text in Android 6.x -->
<item name="android:textColorSecondary">#BBDEFB</item> <!-- inactive editText line checkboxes scrollbar -->
<item name="android:textColor">#000000</item> <!-- menu text. msgbox title -->
' <item name="android:textColorLink">#b71c1c</item>
<item name="android:textColorHighlight">#BBDEFB</item> <!-- selected text color -->
<item name="android:navigationBarColor">#FFC107</item> <!-- navigationbar color -->
<item name="windowNoTitle">true</item> <!-- This codes are for removing defult actionbar in the activities -->
<item name="windowActionBar">false</item>
<item name="windowActionModeOverlay">true</item>
</style>
</resources>
)