I have just istalled “A FireMonkey Android Compatibility Patch for RAD Studio 10.2” and a lot of problems with Android disapppeared.
But I found out that component TPopup does not work well. The sample is very simple (see below).
Form contents only TButton and TPopup with TRectangle (Reactangle1.align := client) for visibility of popup. The popup should show after press button (Popup1.IsOpen:= true) but it does not show. Events “onPopup” and “onClosePopup” is called because opacity of button is changed (via code below) and I tested it in debug mode.
This project works well, if it is compiled in RAD Studio 10.1 Berlin.
type
TForm1 = class(TForm)
Button1: TButton;
Popup1: TPopup;
Rectangle1: TRectangle;
procedure Popup1Popup(Sender: TObject);
procedure Popup1ClosePopup(Sender: TObject);
procedure Button1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.fmx}
procedure TForm1.Button1Click(Sender: TObject);
begin
Popup1.IsOpen:= true;
end;
procedure TForm1.Popup1ClosePopup(Sender: TObject);
begin
Button1.Opacity:= 1.0;
end;
procedure TForm1.Popup1Popup(Sender: TObject);
begin
Button1.Opacity:= 0.5;
end;