It does (but not on all devices, IIRC).
There are tricks you can play with subclassing AlertDialog, getting the
button references after calling super.onCreate and setting your own click
listeners. It works for me, but I don't know if this is really kosher. On
the other hand, I remember seeing code
building a dialog with own layout.
when i click on any of the positive/neutral/negative buttons,
it closes the dialog...any way to stop that...i'm intercepting
the onclicklistener but no sure what to set.
also, is there any way to change the labels of any of the
buttons from within the onclick li
Hi
public class CustomDialog extends Dialog {
/**
*
* @param context
*- Activity context
* @param theme
*- Theme id
*/
public CustomDialog(Context context, int theme) {
super(context, theme);
}
/**
*
* @param context
*- Activity context
*/
public Cus
You can specify your own layout for the alert dialog, which would
include the check box.
http://developer.android.com/reference/android/app/AlertDialog.Builder.html#setView(android.view.View)
-- Kostya
21.03.2011 11:27, dashman пишет:
I'm building an AlertDialog where i display
a message.
bu
I'm building an AlertDialog where i display
a message.
but at the bottom - i would like a checkbox
w/ label "do not show again".
any way to do this.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to andr
On Tue, Feb 22, 2011 at 4:58 PM, dashman wrote:
> i would like it displayed like a Table of content.
>
> Text left-justified and the page right-justified.
>
> any way to do that.
>
Not with the built in setItems function. You would have to add your own
ListView with your layout and own adapter t
I'm building an AlertDialog and populating the
last by calling setItems() with an array of strings.
It's a list of titles along with a page number.
i would like it displayed like a Table of content.
Text left-justified and the page right-justified.
any way to do that.
--
You received this mes
7 matches
Mail list logo