LucaMs Expert Licensed User Longtime User Jan 8, 2016 #1 Note also the vertical alignment of Label1! Attachments StrangeMain.zip StrangeMain.zip 12 KB · Views: 490
LucaMs Expert Licensed User Longtime User Jan 8, 2016 #2 How many times have we suggested how to create a Dialog? How many times have we answered that you can not use an Activity as Dialog? Attachments ActivityDialog.zip ActivityDialog.zip 13.8 KB · Views: 524 Upvote 0
How many times have we suggested how to create a Dialog? How many times have we answered that you can not use an Activity as Dialog?
LucaMs Expert Licensed User Longtime User Jan 8, 2016 #3 "Probably" I should write even that I added this line to the file Manifest (using the Manifest Editor): Code: SetActivityAttribute(actDialog, android:theme, "@android:style/Theme.Dialog") Last edited: Jan 8, 2016 Upvote 0
"Probably" I should write even that I added this line to the file Manifest (using the Manifest Editor): Code: SetActivityAttribute(actDialog, android:theme, "@android:style/Theme.Dialog")
LucaMs Expert Licensed User Longtime User Jan 8, 2016 #4 All this works but we need Erel's help. If you try to change Full Screen and/or Show Title, Activity height results 16777215! Then something's not right; indeed, as you can see in the example, the vertical position of Label1 is wrong (we wanted to center it). So we need to find a method to position our Views correctly. Probably something happens behind the scenes of B4A. Upvote 0
All this works but we need Erel's help. If you try to change Full Screen and/or Show Title, Activity height results 16777215! Then something's not right; indeed, as you can see in the example, the vertical position of Label1 is wrong (we wanted to center it). So we need to find a method to position our Views correctly. Probably something happens behind the scenes of B4A.
Erel B4X founder Staff member Licensed User Longtime User Jan 10, 2016 #5 You should instead use a transparent activity with a non-transparent panel: https://www.b4x.com/android/forum/threads/hiding-an-activity.14824/#post-84047 Upvote 0
You should instead use a transparent activity with a non-transparent panel: https://www.b4x.com/android/forum/threads/hiding-an-activity.14824/#post-84047
LucaMs Expert Licensed User Longtime User Jan 10, 2016 #6 Erel said: You should instead use a transparent activity with a non-transparent panel: https://www.b4x.com/android/forum/threads/hiding-an-activity.14824/#post-84047 Click to expand... Thank you, I'll try. Upvote 0
Erel said: You should instead use a transparent activity with a non-transparent panel: https://www.b4x.com/android/forum/threads/hiding-an-activity.14824/#post-84047 Click to expand... Thank you, I'll try.
LucaMs Expert Licensed User Longtime User Jan 12, 2016 #7 Erel said: You should instead use a transparent activity with a non-transparent panel: https://www.b4x.com/android/forum/threads/hiding-an-activity.14824/#post-84047 Click to expand... Perfect Thank you Upvote 0
Erel said: You should instead use a transparent activity with a non-transparent panel: https://www.b4x.com/android/forum/threads/hiding-an-activity.14824/#post-84047 Click to expand... Perfect Thank you