简体   繁体   中英

using 2 different styles in one form in android using Delphi10.1

是否可以在一个android表单中使用2种不同的样式?,我在整个表单中使用铜样式,并且我想对speedButton使用Jet样式,但我没有看到ant属性来设置该样式

One style usually refer to one Image file with all style graphics (icons etc). So if you want to use SpeedButton from another style - you need to use Photoshop or any Image editor: Save style images of 2 styles, open images in PS, copy speedbutton part from Jet style image, paste it into your current style image file (usually 3 bitmaps, for 3 scales).

For Jet speedbutton main Bitmap is "Android Jetstyle.png" - search it in styles. Save this bitmap as png so you can open it in ImageEditor and copy some part to your style image. Then find Speedbuttonstyle in styles, check object with name background - look at NormalLink, PressedLink, HotLink images.

All this will take some time.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM