Android Question Dialog on home screen

Dario126

Member
Licensed User
Longtime User
I want to make app which has no full screen form, but some dialog type form (custom made by me). This is modified in main module:

B4X:
#Region  Activity Attributes
    #FullScreen: False
    #IncludeTitle: false
#End Region

.. but app is still in whole screen area except title and navigation buttons. How do I make "dialog type" form for my app .. for example round rect 200x50 pix or some custom semi transparent image?
 

Dario126

Member
Licensed User
Longtime User
Well, I can not believe that there is no some simpler way to have some dialog window on screen. I do not need widget like form which is always active. I only need modal dialog (modal form) which is not full screen area, but only 200x50 pix. Two or three buttons on them for user to choose.

Purpose is when app running in background needs to ask user some yes/no detail, not to occupy whole screen ..

Maybe custom dialog is right way?
 
Upvote 0

thedesolatesoul

Expert
Licensed User
Longtime User
Impressive. Never thought of doing this. Do you know if this works on all versions of Android?
 
Upvote 0

khosrwb

Active Member
Licensed User
Longtime User

hi
I don't know why don't show my layout (( main2 )) in my app !!!
 

Attachments

  • 1.zip
    10 KB · Views: 347
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…