This sounds simple enough that you may want to simply stick it in a dialog. No need to override the Dialog class. Just set up a layout that has what you described (prompt, input text box, and confirmation text) and set it as the view to an AlertDialog. Then you can simply show the dialog when necessary and handle the validation on the user clicking "OK" or something.
------------------------------------------------------------------------------------------------- TreKing - Chicago transit tracking app for Android-powered devices http://sites.google.com/site/rezmobileapps/treking On Tue, Dec 8, 2009 at 2:20 PM, Robotuner <[email protected]> wrote: > I have a little app that will be licensed. What I want to do it pop > up a dialog that contains three views (I guess). One instructing the > user to enter a license key, a second is a field to enter the license > key and the third is some type of message indicating if the key is > valid. Common stuff. My intent is to provide a menu option to > initiate the dialog. > > In reading the UI guidelines, I'm not sure what is the proper > "Android" way of doing it. Do I set this up as a separate Activity? > or do I extend the Dialog Class? Does anyone have examples of how to > do this? > > Thanks > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

