Hi all,
In this app, I'm using the Manifest to define the theme of the activity.
When using the Msgbox2Async to display a Yes/No message, the text does not appear in the title area or the body. I'll make an assumption it has something to do with the Manifest. I don't know much about how to define the Manifest ans resources. I found it on the forum and copy/pasted it into my project, thinking it would work.
I've attached a screenshot of the app and the Msgbox shows no text.
Any help would be appreciated.
Thanx,
Mark Stuart
In this app, I'm using the Manifest to define the theme of the activity.
B4X:
AddManifestText(
<uses-sdk android:minSdkVersion="5" android:targetSdkVersion="26"/>
<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>
<style name="ToolbarMenu" parent="Base.ThemeOverlay.AppCompat.ActionBar">
<item name="android:textColorPrimary">#ff006db3</item>
<item name="android:colorBackground">#0098FF</item>
</style>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
SetApplicationAttribute(android:theme, "@style/LightTheme")
CreateResource(values, colors.xml,
<resources>
<color name="actionbar">#ff039be5</color>
<color name="statusbar">#ff006db3</color>
<color name="textColorPrimary">#ffffffff</color>
<color name="navigationBar">#ff006db3</color>
</resources>
)
CreateResource(values-v20, theme.xml,
<resources>
<style name="LightTheme" parent="@android:style/Theme.Material.Light">
<item name="android:colorPrimary">@color/actionbar</item>
<item name="android:colorPrimaryDark">@color/statusbar</item>
<item name="android:textColorPrimary">@color/textColorPrimary</item>
<item name="android:navigationBarColor">@color/navigationBar</item>
</style>
</resources>
)
CreateResource(values-v14, theme.xml,
<resources>
<style name="LightTheme" parent="@android:style/Theme.Holo.Light">
<item name="android:actionBarStyle">@style/CustomActionBarStyle</item>
</style>
<style name="CustomActionBarStyle" parent="@android:style/Widget.Holo.Light.ActionBar.Solid.Inverse">
<item name="android:background">@color/actionbar</item>
</style>
</resources>
)
When using the Msgbox2Async to display a Yes/No message, the text does not appear in the title area or the body. I'll make an assumption it has something to do with the Manifest. I don't know much about how to define the Manifest ans resources. I found it on the forum and copy/pasted it into my project, thinking it would work.
I've attached a screenshot of the app and the Msgbox shows no text.
Any help would be appreciated.
Thanx,
Mark Stuart