App with Transparent Background. Android Manifest. Screen Transparent

Hi friends, I have posted in the App Inventor Community a method to get an app with transparent background:

I set the Screen, VerticalArrangent, Label and btn_close with BackgroundColor: None.

Build and get .apk

@Anke explains how to customize the AndroidManifest

Then with APK Editor Study, I open the .apk, and change in the AndroidManifest

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

Save. Save .apk. Install.

This works with App Inventor but not with Kodular.

This is simply a proposal in case anyone wants to do some research to make it work with Kodular.

Edit: the solution in the post 2

7 Likes

It’s doable but harder…

4 Likes

Now in Kodular.

This app:
p127F_fondotransparenteKod.aia (5.9 KB)

Screen1.BackgroundColor: None (#FFFFFF00)
VerticalArrangement1.BackgroundColor: None (#FFFFFF00)
btn_close.BackgroundColor: None (#FFFFFF00)
Label1.BackgroundColor: None (#FFFFFF00)

add

<style name="AppTheme.Translucent" >
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:colorBackgroundCacheHint">@null</item>
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowAnimationStyle">@android:style/Animation</item>
</style>

  • In AndroidManifest.xml modify

android:theme="@style/AppTheme.Translucent"

  • Save

  • Save .apk

  • Install. Close. Open.

Regards.
http://kio4.com/appinventor/127F_fondo_transparente_2.htm

6 Likes