Skip to content

Android Design Extensions 2.0 for Xojo 2023r3 and Later

Half a year has passed since the introduction of Android as a new target in Xojo 2023r2 and hundreds of framework and compiler bugs have been fixed and new features introduced. This is also the case in the latest Xojo release 2023r4. So it’s time to take the Android Design Extensions to a new level and release version 2.0 with over 80 new extensions. This version works with Xojo 2023r3 and late releases.

Highlights and New Features in Android Design Extensions 2.0.

Buttons can now have borders in different thicknesses and colors. Use the SetStrokeColorXC and SetStrokeWidthXC extension methods for this. You can also use the same properties for the Android MobileDateTimePicker. You can also set the color of the button when it is clicked: SetRippleColorXC .

The colors of sliders and progress bars can now be set dynamically via the extension methods  SetProgressBackgroundTintListXC and SetProgressTintListXC.

Would you like to display the top bar of an app, where the time and battery status are displayed, in a dark color instead of white? No problem. The MobileScreen method SetSystemBarsAppearanceXC will help you. The Android Design Extensions sample app shows you how to use it.

The background color of individual segments of a MobileSegmentedButton can now also be set dynamically with SetBackgroundColorAtXC.

MobileTabPanel now supports the display of badges. You can set the color, position, and number of a badge individually.

Would you like a little more for the MobileTextArea? With the SetTextFromHtmlXC method, you can output formatted HTML content in the MobileTextArea.

MobileTextFields also experience a push forward with the latest Android Design Extensions. You can now show a clear button or, if it is a password field, show and hide the password. The name of the helper here is SetEndIconModeXC. You can also set the border color and border thickness of text fields. SetBoxStrokeWidthXC, SetBoxStrokeColorXC, and SetBoxBackgroundColorXC are the methods to be used.

Feel free to take a look at the developer repository, create feature requests, and provide feedback on extending this extension library.

I’m happy to receive any voluntary financial support for the work I’ve done so far, which you are welcome to share here. You can download the project with many examples here.

Happy Coding.

Martin T. is a Xojo MVP and has been very involved in testing Android support.