取得android设置中的字大小
procedure TForm10.Button1Click(Sender: TObject); var Configuration: JConfiguration; CurrentNightMode: Integer; begin Configuration := TAndroidHelper.Context.GetResources.getConfiguration; Text1.Text:=Configuration.fontScale.ToString; end;
uses Androidapi.JNI.GraphicsContentViewText, Androidapi.Helpers