'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:
https://www.b4x.com/forum/showthread.php?p=78136
AddManifestText(
<uses-sdk android:minSdkVersion="5" android:targetSdkVersion="29"/>
<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>
)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
CreateResourceFromFile(Macro, Core.NetworkClearText) 'Added 11/7/19
CreateResourceFromFile(Macro, FirebaseAnalytics.GooglePlayBase)
SetActivityAttribute(HelpActiv, android:screenOrientation, "landscape")
'Used to recreate IDisplay with decent cursor
CreateResource(layout, layout1.xml,
<LinearLayout xmlns:android="
http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android

addingLeft="16dp"
android

addingRight="16dp"
android

rientation="vertical" >
<EditText android:tag="EditText1" android:id="@+id/edittext1"
android:layout_width="match_parent" android:layout_height="wrap_content"
android:textCursorDrawable="@drawable/my_custom_cursor_drawable"
/>
</LinearLayout>
)
CreateResource(drawable, my_custom_cursor_drawable.xml ,
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="
http://schemas.android.com/apk/res/android" android:shape="rectangle" >
<size android:width="3dp" />
<solid android:color="#FFFCFCFC"/>
</shape>
)
AddPermission(android.permission.ACCESS_NETWORK_STATE)
'SetApplicationAttribute(android:requestLegacyExternalStorage, true)