NeoMAD 4.0.1 release notes

XXXX XX, XXXX

Enhancements

  • Screen.setTitleBarTranslucent(boolean) is now available on Android, WindowsPhone and Windows Store Apps.
  • Application.setTitleBackground(Background) is now available on Windows Store Apps.
  • Application.setTitleBackgroundImage(Image) and Application.setTitleBackgroundImage(int) are now available on Windows Store Apps.
  • Application.setForcedTheme(int) is now available on Windows Store Apps.
  • Windows Store Apps now supports MenuItem.setAsLeftAction and MenuItem.setAsRightAction: menu items can be added in the title bar. Items in the title bar

follows the same display rules as items in the application bar except that the text is not mandatory. * Example compilation warnings have been cleaned.

Fixes

  • Fix res/values/fonts.xml to accept many font tags
  • Android - Fix ComboBox.openChooser(View, String[], String, ItemSelectedListener): method now throws exception as said in javadoc
  • iOS - Fix ComboBox.openChooser(View, String[], String, ItemSelectedListener): method now throws exception as said in javadoc - Fix a compilation failure with the valueOf(String) method generated in enumerations: the invocation of java.lang.Enum.valueOf(Class, String) was wrongly transcompiled.
  • Windows Phone
    • Fix Screen.setTitleView() the custom title is now properly stretched horizontally in MATCH_PARENT.
    • Title bar customization is now taken into account when set from Application methods.
    • SlideScreen: onPause() was not called on screens inside the SlideScreen when a screen was pushed on the SlideScreen
    • Fix ComboBox.openChooser(View, String[], String, ItemSelectedListener): method now throws exception as said in javadoc
  • Windows Store Apps
    • Fix Screen.setTitleView() the custom title is now properly stretched horizontally in MATCH_PARENT.
    • Title bar customization is now taken into account when set from Application methods.
    • Fix Controller.popScreen() title bar customization was removed when navigating back in the application.
    • SlideScreen: back button disapeared after a Controller.replaceCurrentScreen(Class) in a screen inside the SlideScreen
    • SlideScreen: onPause() was not called on screens inside the SlideScreen when a screen was pushed on the SlideScreen
    • Fix ComboBox.openChooser(View, String[], String, ItemSelectedListener): first item can now be selected
    • Fix ComboBox.openChooser(View, String[], String, ItemSelectedListener): method now throws exception as said in javadoc
    • Fix AbsListView.setSeparatorVisible(boolean): a crash occured if this method was called without setting a separator color.