public abstract class

ThemedActivity

extends FragmentActivity
java.lang.Object
   ↳ android.content.Context
     ↳ android.content.ContextWrapper
       ↳ android.view.ContextThemeWrapper
         ↳ android.app.Activity
           ↳ android.support.v4.app.SupportActivity
             ↳ android.support.v4.app.FragmentActivity
               ↳ com.urbanairship.messagecenter.ThemedActivity
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

Activity that automatically uses the AppCompat support library if its available and the application extends the app compat theme.

Summary

[Expand]
Inherited Constants
From class android.app.Activity
From class android.content.Context
From interface android.content.ComponentCallbacks2
[Expand]
Inherited Fields
From class android.app.Activity
Public Constructors
ThemedActivity()
Public Methods
void addContentView(View view, ViewGroup.LayoutParams params)
MenuInflater getMenuInflater()
void onConfigurationChanged(Configuration newConfig)
void setContentView(View view)
void setContentView(int layoutResId)
void setContentView(View view, ViewGroup.LayoutParams params)
void supportInvalidateOptionsMenu()
Protected Methods
void hideActionBar()
void onCreate(Bundle savedInstanceState)
void onDestroy()
void onPostCreate(Bundle savedInstanceState)
void onPostResume()
void onStop()
void onTitleChanged(CharSequence title, int color)
void setDisplayHomeAsUpEnabled(boolean enabled)
Helper method to enable up navigation.
[Expand]
Inherited Methods
From class android.support.v4.app.FragmentActivity
From class android.support.v4.app.SupportActivity
From class android.app.Activity
From class android.view.ContextThemeWrapper
From class android.content.ContextWrapper
From class android.content.Context
From class java.lang.Object
From interface android.arch.lifecycle.LifecycleOwner
From interface android.arch.lifecycle.ViewModelStoreOwner
From interface android.content.ComponentCallbacks
From interface android.content.ComponentCallbacks2
From interface android.support.v4.app.ActivityCompat.OnRequestPermissionsResultCallback
From interface android.support.v4.app.ActivityCompat.RequestPermissionsRequestCodeValidator
From interface android.support.v4.view.KeyEventDispatcher.Component
From interface android.view.KeyEvent.Callback
From interface android.view.LayoutInflater.Factory
From interface android.view.LayoutInflater.Factory2
From interface android.view.View.OnCreateContextMenuListener
From interface android.view.Window.Callback

Public Constructors

public ThemedActivity ()

Public Methods

public void addContentView (View view, ViewGroup.LayoutParams params)

public MenuInflater getMenuInflater ()

public void onConfigurationChanged (Configuration newConfig)

public void setContentView (View view)

public void setContentView (int layoutResId)

public void setContentView (View view, ViewGroup.LayoutParams params)

public void supportInvalidateOptionsMenu ()

Protected Methods

protected void hideActionBar ()

protected void onCreate (Bundle savedInstanceState)

protected void onDestroy ()

protected void onPostCreate (Bundle savedInstanceState)

protected void onPostResume ()

protected void onStop ()

protected void onTitleChanged (CharSequence title, int color)

protected void setDisplayHomeAsUpEnabled (boolean enabled)

Helper method to enable up navigation.

Parameters
enabled true to enable up navigation, otherwise false.