Android Question Problem with Dialog(please help)(dialog using xtraviews...)[Not Solved yet]

marab

Member
Licensed User
Longtime User
Hi Guys
I need your help too much!
in Xtras LIB i used Dialogs!
its my code:
B4X:
    Dim dialog As DialogView
    dialog.Options.Set(Gravity.CENTER  ,0,0,0,0,"slide_top_and_back",True,True)

    dialog.Options.Dimensions.Set(100%x, 100%y)
    dialog.LoadLayout("about").ShowDefault("q","q")


in "about" layout i have an panel and a image view in them
image view have a png transparent picture
now when dialog showed!
panel is not transparent so png transparent in imageview dosent show good!
i tried these ways for became panel hide but none of them didn't worked:
set panel color to transparent
set alpha of panel to 0
but nothing changed
how to make panel transparent to show imageview better?
tnx for reading and sorry for my terrible English
example:
Screenshot.png


if you know a better way for my work please say
 
Last edited:

marab

Member
Licensed User
Longtime User
Did you download it from the forum to be sure they are the same ?

Sure.

This line is wrong dialog.Options.Dimensions.Set(100%x, 100%y)
Error: missing parameter !
This line is wrong dialog.LoadLayout("about").ShowDefault("q","q")
Error: Array expected.
This line is wrong Dialog.Options.Title.Set(Typeface.CreateNew(Typeface.SANS_SERIF,...
Error: Unknown member: title
Then I stopped !
XtraViews library version 2.60.

In the meantime I made some further investigations.
The problem with the transparent Panel seems to be internal of the library and therefore I cannot help here.

What exactly do you want to display on the about screen ?
Why not using an Activity for that ?
too strange i didn't get any error but you...!!!!!
i have a png picture that is some information about programmer and ...
this picture have some transparent parts
this about must show like a dialog box
i used better dialog lib before this
that lib have a problem that problem was that we must have text messege
and dialog size was changed by the messege text and messege in every phone have its size!!!

sorry for my too bad english
 
Upvote 0

marab

Member
Licensed User
Longtime User
When I use a library I use the latest version.
As I already told you : The problem with the transparent Panel seems to be internal of the library and therefore I cannot help here.
tnx i will test the lastest version maybe my problem solved
 
Upvote 0

marab

Member
Licensed User
Longtime User
When I use a library I use the latest version.
As I already told you : The problem with the transparent Panel seems to be internal of the library and therefore I cannot help here.
Ok when i updated the lib i gave same errors like you but i fixed them and now please download and test it again:
quickapp.ir/sample3.rar

if you compile it you will see the with part of dialog
if this lib is not good for my work did you now a lib that can do what i want?!
 
Upvote 0

klaus

Expert
Licensed User
Longtime User
When I wrote this
'In the meantime I made some further investigations'.

The problem with the transparent Panel seems to be internal of the library and therefore I. cannot help here.
I already did it !

Unfortunately my answer remains the same.
 
Upvote 0
Top