Closed OnePeople-source closed 1 day ago
You use an old version of alcinoe. you need to use the last one. SDKAaptPath have been removed in Delphi 12.2
You use an old version of alcinoe. you need to use the last one. SDKAaptPath have been removed in Delphi 12.2
But in new version TALRectangle.Fill.Bitmap is over(
no really, you can use instead TALRectangle.Fill.ResourceName ... can you show me the code where you need a TBitmap ?
I load my skin from my xml file and if rLoad.Fill.Kind = TBrushKind.Bitmap then begin rLoad.Fill.Bitmap.Bitmap.LoadFromFile(bmRectPath);
if (rLoad.Fill.Kind = TBrushKind.Solid) and (rLoad.TagString <> 'Fill') then begin TAnimator.AnimateColor(rLoad, 'Fill.Color', StringToAlphaColor(JSONPar.GetChildNodeValueText ('fill', '0')), AnimationTime);
...............
Try to do something like :
rLoad.Fill.resourceName := bmRectPath
Try to do something like :
rLoad.Fill.resourceName := bmRectPath
But if i need Bitmap.assign(rLoad.Fill.Bitmap)?
And in general, the old bitmap system was better. I have 100,000 lines of code in my application with a bitmap download, I don't want to redo everything at all (
I understand. Unfortunately the bitmap was removed from the fill property for performance reason. Their is no plan to add it back :( where you need the bitmap you can continue to use TRectangle and on other you can use TALRectangle.
I close this jira for now, I conseil you to use TRectangle where you need TBitmap and for other you can use TALRectangle
Delphi 12.2 Error SDKAaptPath is not configured SDKAaptPath is not in HKEY_CURRENT_USER\Software\Embarcadero\BDS\23.0\PlatformSDKs\AndroidSDK25.2.5_32bit.sdk