摘要:The first step it's a run sample from RAD Studio that named SensorInfo on your device. On the tab Biometric you can see HumanProximity. If it's true y...
阅读全文
05 2014 档案
摘要:今天才知道xe6 android控件的透明度设置方法:只需设置控件中的Opacity参数,默认为1--不透明panel1.Opacity:=0.60;
阅读全文
摘要:Delphi XE6找出 FMX.Platform.Android.pas 档案,并复制到自己的 Project 路径里,找到 GetScrollingBehaviour 函数,修改成如下:unit FMX.Platform.Android;function TPlatformAndroid.Get...
阅读全文
摘要:1.拖放Label、button和popup控件到form2.在structure将button1和label1拖到popup1上,然后调整布局就可以Popup有几个重要的属性:1.PlacementTarget:依附于那个控件弹出,当不设置这个属性值,依附的是当前的Form。2.Placement...
阅读全文
摘要:1) setting the Project Options, Uses Permissions, Wake lock = True2) Adding Android.JNI.PowerManager to the uses clause3) call: AcquireWakeLock; // at...
阅读全文
摘要:var Item1: TListViewItem;begin Item1 := ListView1.Items.Add; Item1.Purpose:=TListItemPurpose.Header;// Item1.Purpose:=TListItemPurpose.Footer; Item1.t...
阅读全文