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:

Code: Copy
#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?
 
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
Something like this:
wpid-screenshot_2013-11-30-02-08-13.png
 
Upvote 0
Isn't it possible to edit the manifest and set the theme of any Activity to be one of the android Dialog themes?

Code: Copy
SetActivityAttribute(Main, android:theme, "@android:style/Theme.Dialog")

Martin.
Impressive. Never thought of doing this. Do you know if this works on all versions of Android?
 
Upvote 0
Isn't it possible to edit the manifest and set the theme of any Activity to be one of the android Dialog themes?

Code: Copy
SetActivityAttribute(Main, android:theme, "@android:style/Theme.Dialog")

Martin.

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

Attachments

Upvote 0
Back
Top