AppCompatDialog

public class AppCompatDialog
extends Dialog implements AppCompatCallback

java.lang.Object
   ↳ android.app.Dialog
     ↳ androidx.appcompat.app.AppCompatDialog


Base class for AppCompat themed Dialogs.

Summary

Inherited constants

Public constructors

AppCompatDialog(Context context)
AppCompatDialog(Context context, int theme)

Protected constructors

AppCompatDialog(Context context, boolean cancelable, DialogInterface.OnCancelListener cancelListener)

Public methods

void addContentView(View view, ViewGroup.LayoutParams params)
void dismiss()
boolean dispatchKeyEvent(KeyEvent event)
<T extends View> T findViewById(int id)
AppCompatDelegate getDelegate()
ActionBar getSupportActionBar()

Support library version of Dialog.getActionBar().

void onSupportActionModeFinished(ActionMode mode)

Called when a support action mode has finished.

void onSupportActionModeStarted(ActionMode mode)

Called when a support action mode has been started.

ActionMode onWindowStartingSupportActionMode(ActionMode.Callback callback)

Called when a support action mode is being started for this window.

void setContentView(View view)
void setContentView(int layoutResID)
void setContentView(View view, ViewGroup.LayoutParams params)
void setTitle(CharSequence title)
void setTitle(int titleId)
boolean supportRequestWindowFeature(int featureId)

Enable extended support library window features.

Protected methods

void onCreate(Bundle savedInstanceState)
void onStop()

Inherited methods