Tried parent theme
"Theme.AppCompat.Light.DarkActionBar"
Unfortunately, the Title and SubTitle text appear only in Black Color
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="MyAppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<item name="colorPrimary">#418BEA</item>
<item name="colorPrimaryDark">#2C7FE8</item>
<item name="colorAccent">#5698EC</item>
<item name="windowNoTitle">true</item>
<item name="windowActionBar">false</item>
</style>
</resources>
Screen Snapshot
MsgBox2()
Using parent="Theme.AppCompat.Light"
Unfortunately, the Title and SubTitle text appear only in Black Color
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="MyAppTheme" parent="Theme.AppCompat.Light">
<item name="colorPrimary">#418BEA</item>
<item name="colorPrimaryDark">#2C7FE8</item>
<item name="colorAccent">#5698EC</item>
<item name="windowNoTitle">true</item>
<item name="windowActionBar">false</item>
</style>
</resources>
Screen Snapshot
MsgBox2().
Using parent="Theme.AppCompat"
The Title and SubTitle is in White Color and this is what I am looking for, but please see the color of the MsgBox2(), it is in dark background. I need the MsgBox2() to be displayed in White Color
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="MyAppTheme" parent="Theme.AppCompat">
<item name="colorPrimary">#418BEA</item>
<item name="colorPrimaryDark">#2C7FE8</item>
<item name="colorAccent">#5698EC</item>
<item name="windowNoTitle">true</item>
<item name="windowActionBar">false</item>
</style>
</resources>
Screen Snapshot
MsgBox2(). It is appearing in Dark BackGround and White Color Text
What I am looking for is, the Theme as shown below
Title and SubTitle on ActionBar in White Color
MsgBox2() ie The backgound color of MsgBox2 etc in Light/White Color and the text on it in Dark Color as shown Below
Summary
I prefer to use the ParentTheme Parent="Theme.AppCompat.Light.DarkActionBar",
but with the Text on the ActionBar on White color. So if, I could find
a way to change just the Text color of the Title and SubTitle on the ActionBar, my problem will be solved.
Any help will be appreciated.
Regards
Anser