2

Can I do this How do you create a transparent demo screen for an Android app? with Delphi XE5 on the Android and iOS platforms.

Thanks for your help, pointing me to the right direction

Community
  • 1
  • 1
niglng
  • 99
  • 1
  • 2
  • 12
  • How can I create this using delphi xe6-8: http://stackoverflow.com/questions/12013334/how-do-you-create-a-transparent-demo-screen-for-an-android-app?rq=1 – niglng May 30 '15 at 22:40

2 Answers2

4

Yes, you can do this without any problems. This is an application (a prototype) is made with Delphi XE5.

If you see the captures, you can see this:

ScreenCapture, whith a semi-transparent panel

I have used a semi-transparent panel with alignement alCenter (in you case you can align the panel alClient for all screen). You can modify the level of transparency with the Opacy property. In addition, I have used an effect (blur) with the background form (this is not necesary for you).

Regards.

0

In the AndroidManfestTemplate.xml of your app, add this line

android:theme="@android:style/Theme.Translucent.NoTitleBar"

to the

 <application android:persistent="%persistent%" 

section.

Freddie Bell
  • 2,186
  • 24
  • 43