How to popup one full window rather than showalert

Put your problem here if it does not fit any of the other categories.

How to popup one full window rather than showalert

Postby massmoss » Mon Jan 28, 2008 1:47 pm

Hello,

After click one button, how to popup one full window rather than the simple window using showalert().
I want to design some customer button/string/pic in the popup window.
Maybe multi-layout xml file can fulfill function. Does anybody have this kind of experience?

Thanks

massmoss
massmoss
Junior Developer
Junior Developer
 
Posts: 16
Joined: Sat Jan 19, 2008 4:34 am

Top

Postby plusminus » Mon Jan 28, 2008 2:51 pm

Hello massmoss,

if you are thinking of sth like this:
Image

you could have a look at the Generalized File Manager (File Categorizer)-Tutorial for some snippets you could reuse.

Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Postby massmoss » Mon Jan 28, 2008 3:07 pm

Quite cool, you have response so much!

Do you think it is the same method for me to add some button on this window? For your provieded example, it only give the file list.

Thanks
massmoss
massmoss
Junior Developer
Junior Developer
 
Posts: 16
Joined: Sat Jan 19, 2008 4:34 am

Postby plusminus » Mon Jan 28, 2008 3:59 pm

Hello massmoss,

it is basically just an ListActivity (here: "SearchAllFiles" )with a Dialog-Style-Background ( this.setTheme(android.R.style.Theme_Dialog); ).
You can adapt that to any other Activity you want to.

Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 17 guests