try style id.
in style.xml:
- @color/transparent
- false
- true
new a dialog by
new Dialog(context, R.style.CustomD
On Mar 27, 8:05 am, TreKing wrote:
> On Sun, Mar 27, 2011 at 2:25 AM, Doug wrote:
> > It's not pointless, and please stop telling people that. :-)
>
> > You just have to know when to use it. Use it when you need to store
> > a context in an object that lives longer than an instance of an activi
On Sun, Mar 27, 2011 at 10:16 AM, Kostya Vasilyev wrote:
> 27.03.2011 19:05, TreKing пишет:
>
> Do you have a good example of when storing a Context like this is a good
>> idea? I'm just curious.
>>
>
> I do. Singletons.
>
> Or, to use a more simple name, "manager" or "utility" classes that provi
27.03.2011 19:05, TreKing пишет:
Do you have a good example of when storing a Context like this is a
good idea? I'm just curious.
I do. Singletons.
Or, to use a more simple name, "manager" or "utility" classes that
provide reusable functionality, which needs to be available to more than
one
On Sun, Mar 27, 2011 at 2:25 AM, Doug wrote:
> It's not pointless, and please stop telling people that. :-)
>
> You just have to know when to use it. Use it when you need to store
> a context in an object that lives longer than an instance of an activity or
> service, but don't want to leak tha
On Mar 26, 1:24 pm, TreKing wrote:
> On Sat, Mar 26, 2011 at 2:32 PM, Archit Jain wrote:
> > Dialog alertDialog = new Dialog(getApplicationContext());
>
> Never use getApplicationContext() - it's pointless and doesn't work for
> Dialogs. I'm surprised you're seeing anything.
It's not pointless,
use this, this will definitely remove the TITLE from dialog box
dialog.requestWindowFeature(dialog.getWindow().FEATURE_NO_TITLE);
--
Regards
Dixit Wadhwani
On Mar 27, 12:32 am, Archit Jain wrote:
> Hi all,
>
> Is there a way, I can remove title from the default dialog box ?
>
> I am using follo
Thanks Miguel ... it worked :)
Regards,
Archit Jain
On Sun, Mar 27, 2011 at 10:46 AM, Miguel Morales wrote:
> Use: requestWindowFeature(Window.FEATURE_NO_TITLE);
>
> On Sat, Mar 26, 2011 at 10:03 PM, Dixi wrote:
>
>> don't use this while writing your dialog box code--->>>
>> dia
Use: requestWindowFeature(Window.FEATURE_NO_TITLE);
On Sat, Mar 26, 2011 at 10:03 PM, Dixi wrote:
> don't use this while writing your dialog box code--->>>
> dialog.setTitle("Title name");
>
>
> On Mar 27, 12:32 am, Archit Jain wrote:
> > Hi all,
> >
> > Is there a way, I can remove
I haven't used dialog.setTitle("Title name"); but it still shows a titel
with no tex in it ...as in the snapshot in last image.
Regards,
Archit Jain
On Sun, Mar 27, 2011 at 10:33 AM, Dixi wrote:
> don't use this while writing your dialog box code--->>>
> dialog.setTitle("Title na
don't use this while writing your dialog box code--->>>
dialog.setTitle("Title name");
On Mar 27, 12:32 am, Archit Jain wrote:
> Hi all,
>
> Is there a way, I can remove title from the default dialog box ?
>
> I am using following code :
>
> Dialog alertDialog = new Dialog(getApplica
setCancelable(false); specify your own positive and negative button
callbacks.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send e
anyone?
still looking for an idea how to do this...
On 30 דצמבר, 17:17, AlexG wrote:
> Hi
>
> I am trying to implement something like:
>
> userResponse = showMessageBox(buttons, messages, etc)
>
> So far I have started a new activity that presents themessageand the
> button and returns through o
13 matches
Mail list logo