Quick Fix To Enable Android 4.4 Dialog Themes In Delphi XE7 Firemonkey On Android

Delphi XE7 Firemonkey Android 4.4 Dialog Theme FixDeveloper David Intersimone from Embarcadero has a blog post up with a quick fix for applying the Android 4.4 theme to dialogs in Delphi XE7 Firemonkey. Basically dialogs in Android 2.3 and Android 4.4 have a different look. The default install of Delphi XE7 Firemonkey applies the Android 2.3 look to the dialog boxes. If you want to have the Android 4.4 look for your dialog boxes you can apply this fix. Basically the fix is to get your FMX.Helpers.Android.pas file and copy it to your project directory. You then edit the two GetNativeTheme() functions to return the result of the GetThemeFromDescriptor() call inside that function. Once you make this quick fix your dialogs on Android should start having the Android 4.4 look if that is the version of Android that you are running. The blog post has code snippets that show you exactly what you should change to make it happen. This quick fix should also apply to Appmethod.

Head over and check out the full blog post plus code snippets for enabling the Android 4.4 dialog themes in Delphi XE7 Firemonkey.

Have Delphi Firemonkey questions? Ask and get answers on StackOverflow.

Quick Fix To Enable Android 4.4 Dialog Themes In Delphi XE7 Firemonkey On Android by Delphi XE5 XE6 XE7 XE8 10 Seattle Berlin Firemonkey, Delphi Android, Delphi IOS is licensed under a Creative Commons Attribution 4.0 International License.

Leave a Reply

Show Buttons
Hide Buttons
Read previous post:
Delphi XE7 Firemonkey Chart Component Suite Android IOS
Massive Charting Component Suite For Delphi XE7 Firemonkey On Android And IOS

Developer Thomas Grubb has released an updated beta version of the RiverSoftAVG Charting Component Suite for Delphi XE7 Firemonkey. We've written...

Close