On Nov 24, 2:15 pm, William Ferguson william.ferguson...@gmail.com
wrote:
Can you explain to me what the different use is for a Dialog vs an
Activity?
Which would you use if you didn't want your underlying activity to
pause and stop when the dialog is to be displayed? (and, by
extension, to be
OK, I see how you're doing it now. #requestWindowFeature ..
interesting.
But if you're going to the trouble of creating a subclass of Dialog,
why not create an Activity?
What's the benefit of creating a specific dialog subclass vs an
Activity?
On Nov 24, 5:26 pm, Kumar Bibek
Dailogs have a different use as compared to Activities. So, when you need a
dialog, you have to use one. :) Simple?
Kumar Bibek
http://techdroid.kbeanie.com
http://www.kbeanie.com
On Wed, Nov 24, 2010 at 6:04 PM, William Ferguson william.ferguson.au@
gmail.com wrote:
OK, I see how you're
Morever, if you create your own dialog, which you want to have your custom
appearance, you can use it wherever you want in your application.
Kumar Bibek
http://techdroid.kbeanie.com
http://www.kbeanie.com
On Wed, Nov 24, 2010 at 6:04 PM, William Ferguson william.ferguson.au@
gmail.com wrote:
Sorry Kumar, I don't follow either of those points.
I can also use an Activity where ever I want to.
Can you explain to me what the different use is for a Dialog vs an
Activity?
AFAICT they are the same except that
a) a Dialog is styled is ensure it does not completely overlay an
underlying
underlying Activity (which has life cycle implications for the
underlying Activity).
Precisely why you would want to use an Activity.
And a Dialog is in no way restricted in it's layout. You can put in any
component inside it, and access it as well. Moreover, dialogs don't have the
same
That sounds great. How?
I would normally turn the title off on an Actiivty by setting
item name=android:windowNoTitletrue/item
in the style for the Activity. How do I do that for a Dialog?
On Nov 24, 3:28 pm, Kumar Bibek coomar@gmail.com wrote:
You can set the dialog not to have a
I do it through code.
requestWindowFeature(Window.FEATURE_NO_TITLE);
setContentView(R.layout.confirm_dialog);
Here, the layout file contains the title. And then you can override the
Dialog's setTitle and setMessage methods, to update your own text views in
the layout.
Kumar Bibek
8 matches
Mail list logo