unit Unit13; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Controls.Presentation, FMX.Edit, Androidapi.Helpers,Androidapi.JNI.GraphicsContentViewText, FMX.Objects; type TForm13 = class(TForm) Edit1: TEdit; Edit2: TEdit; Edit3: TEdit; Image1: TImage; procedure FormCreate(Sender: TObject); private { Private declarations } public { Public declarations } end; var Form13: TForm13; implementation {$R *.fmx} procedure TForm13.FormCreate(Sender: TObject); begin TAndroidHelper.Activity .getWindow .setSoftInputMode(TJWindowManager_LayoutParams.JavaClass.SOFT_INPUT_ADJUST_PAN); end; end.
setSoftInputMode方法的参数说明:
标签:适应,end,FMX,System,Controls,键盘,TForm13,Android,TEdit From: https://www.cnblogs.com/kinglandsoft/p/18684952