
'This code will be applied to the manifest file during compilation.
'You do not need to modify it in most cases.
'See this link for for more information: http://www.b4x.com/forum/showthread.php?p=78136
AddManifestText(
<uses-sdk android:minSdkVersion="5" android:targetSdkVersion="22"/>
<supports-screens android:largeScreens="true" 
    android:normalScreens="true" 
    android:smallScreens="true" 
    android:anyDensity="true"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
'End of default text.
SetApplicationAttribute(android:supportsRtl, "true")
SetApplicationAttribute(android:theme, "@style/MyAppTheme")

CreateResource(values, theme.xml,
<resources>
    <style name="MyAppTheme" parent="Theme.AppCompat.Light.NoActionBar">
        <item name="colorPrimary">#0097a7</item>
        <item name="colorPrimaryDark">#0097a7</item>
        <item name="colorAccent">#0097a7</item>
		
        <item name="windowNoTitle">true</item>
        <item name="windowActionBar">false</item>
		
		<item name="md_title_color">#087e8b</item>
		<item name="md_title_color">#087e8b</item>


	    <item name="md_content_color">#0097a7</item>
	    <item name="md_positive_color">#ff9800</item>
	    <item name="md_neutral_color">#E91E63</item>
	    <item name="md_negative_color">#ff9800</item>
	    <item name="md_widget_color">#075E54</item>
	    <item name="md_item_color">#9C27B0</item>
	    <item name="md_divider_color">#FFFFFF</item>
		
    </style>
	 
</resources>


)
CreateResource(values-v21, theme.xml,
<resources>
    <style name="MyAppTheme" parent="Theme.AppCompat.Light.NoActionBar">
	
        <item name="colorPrimary">#0097a7</item>
        <item name="colorPrimaryDark">#0097a7</item>
        <item name="colorAccent">#0097a7</item>
		
        <item name="windowNoTitle">true</item>
        <item name="windowActionBar">false</item>
		<item name="android:windowTranslucentStatus">false</item>
        <item name="android:windowTranslucentNavigation">false</item>
		<item name="android:windowDrawsSystemBarBackgrounds">false</item>
        <item name="android:fitsSystemWindows">false</item>
		
		<item name="md_title_color">#087e8b</item>
		<item name="md_title_color">#087e8b</item>


	    <item name="md_content_color">#0097a7</item>
	    <item name="md_positive_color">#ff9800</item>
	    <item name="md_neutral_color">#E91E63</item>
	    <item name="md_negative_color">#ff9800</item>
	    <item name="md_widget_color">#075E54</item>
	    <item name="md_item_color">#9C27B0</item>
	    <item name="md_divider_color">#FFFFFF</item>
    </style>
	 
</resources>


)

AddPermission(android.permission.INTERNET)