Android Question Material Theme / Manifest

MarcoRome

Expert
Licensed User
Longtime User
Hi all, i have this code in manifest:

B4X:
SetApplicationAttribute(android:theme, "@style/MaterialDrawerTheme.ActionBar")
SetActivityAttribute(Main, android:theme, @style/Mio)
CreateResource(values, themeA.xml,
<resources>
  <style name="Mio" parent="@style/MaterialDrawerTheme.ActionBar">
     <item name="android:alertDialogTheme">@style/MyAlertDialogThemeA</item>
  </style>
  <style name="MyAlertDialogThemeA">
    <item name="android:windowIsFloating">true</item>
    <item name="android:windowAnimationStyle">@android:style/Animation.Dialog</item>
    <item name="android:textColor">#FFFFFF</item>
    <item name="android:colorAccent">#FFFFFF</item>
    <item name="android:colorPrimary">#FFFFFF</item>
    <item name="android:textColorSecondary">#FFFFFF</item> <!-- inactive editText line,, scrollbar -->
</style>
</resources>)

MENU:

Screenshot_2016-07-01-14-05-06.png


MSGBOX:

Screenshot_2016-07-01-14-05-11.png



ProgressBAR:

1.jpg



this code is valid so change color for Button MSGBOX ( the default i have blue color ). This color that i want is White and work without problem.
But ProgressDialog i have Magent Color also if i insert as colorAccent White color (#FFFFFF). In MsgBox work without problem but with ProgressBar i have this strain effect.
Any idea ??
Thank you
Marco
 

Similar Threads

Top