On Nov 24, 2:15 pm, William Ferguson
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 updating its UI while the d
>>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 lifec
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 Acti
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 wrote:
> OK, I see how you're doing it
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 wrote:
> OK, I see how you're doing it now. #requestWindowFeatu
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 wrote:
> I do it th
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
http://techd
That sounds great. How?
I would normally turn the title off on an Actiivty by setting
true
in the style for the Activity. How do I do that for a Dialog?
On Nov 24, 3:28 pm, Kumar Bibek wrote:
> You can set the dialog not to have a title(just like turning the Activity's
> title off), and then
8 matches
Mail list logo