B beacon Member Licensed User Longtime User Sep 17, 2018 #1 I used Erel's round picture example. (https://www.b4x.com/android/forum/threads/b4x-xui-create-a-round-image.85102/#content) If I make Activity.Color = xui.Color_Green it shows green behind the rounded picture, as I would expect. If I make Activity.Color = xui.Color_Transparent it shows dark grey behind the rounded picture, as I would not expect. I have also tested with Activity.Color, ImageView1.Color and xview.Color each set to xui.Color_Transparent. The end result is always an opaque dark grey background behind the rounded picture. Is this just a feature of the clip process?
I used Erel's round picture example. (https://www.b4x.com/android/forum/threads/b4x-xui-create-a-round-image.85102/#content) If I make Activity.Color = xui.Color_Green it shows green behind the rounded picture, as I would expect. If I make Activity.Color = xui.Color_Transparent it shows dark grey behind the rounded picture, as I would not expect. I have also tested with Activity.Color, ImageView1.Color and xview.Color each set to xui.Color_Transparent. The end result is always an opaque dark grey background behind the rounded picture. Is this just a feature of the clip process?
Erel B4X founder Staff member Licensed User Longtime User Sep 17, 2018 #2 Creating a transparent activity: 1. Add to manifest editor: B4X: SetActivityAttribute(Main, android:theme, @android:style/Theme.Translucent.NoTitleBar) 2. B4X: Activity.Color = Colors.Transparent Upvote 0
Creating a transparent activity: 1. Add to manifest editor: B4X: SetActivityAttribute(Main, android:theme, @android:style/Theme.Translucent.NoTitleBar) 2. B4X: Activity.Color = Colors.Transparent