AddManifestText(
<uses-sdk android:minSdkVersion="9" 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$")
'End of default text.
'Se utilizzi http
CreateResourceFromFile(Macro, Core.NetworkClearText)
AddApplicationText(
<uses-library
android:name="org.apache.http.legacy"
android:required="false" />
)
'Set activity in landscape
SetActivityAttribute(act_stampante_virtuale, android:screenOrientation, "landscape")
SetActivityAttribute(act_statistiche_tablet, android:screenOrientation, "landscape")
SetApplicationAttribute(android:theme, "@style/MyAppTheme")
CreateResource(values, theme.xml,
<resources>
<style name="MyAppTheme" parent="Theme.AppCompat.Light.NoActionBar">
<item name="colorPrimary">#222222</item>
<item name="colorPrimaryDark">#222222</item>
<item name="colorAccent">#009246</item>
<item name="windowNoTitle">true</item>
<item name="windowActionBar">false</item>
</style>
</resources>
)
' This is modify for SumUp-API
' First you have to ad these intent-filter
AddActivityText(paymentresult, <intent-filter>
<action android:name=".paymentresult"></action>
<category android:name="android.intent.category.DEFAULT"></category>
<category android:name="android.intent.category.BROWSABLE"></category>
</intent-filter>)
' After that you have to replace the short-name .paymentresult with the package-namen and short-name.
AddReplacement (.paymentresult, com.xxxx.yyyy.gestione.paymentresult)
' You can use another name for the result-activity, but you have to change it in your starting
' Sub and here in the manifest-editor
SetActivityAttribute(act_lista_ordini, android:windowSoftInputMode, adjustResize|stateHidden)
SetActivityAttribute(act_lista_ordini_nostampa, android:windowSoftInputMode, adjustResize|stateHidden)