16 package eu.intermodalics.tango_ros_streamer.activities;
17 import android.content.res.Configuration;
18 import android.os.Bundle;
19 import android.preference.PreferenceActivity;
20 import android.support.annotation.LayoutRes;
21 import android.support.annotation.Nullable;
22 import android.support.v7.app.ActionBar;
23 import android.support.v7.app.AppCompatDelegate;
24 import android.support.v7.widget.Toolbar;
25 import android.view.MenuInflater;
26 import android.view.View;
27 import android.view.ViewGroup;
38 protected void onCreate(Bundle savedInstanceState) {
41 super.onCreate(savedInstanceState);
45 super.onPostCreate(savedInstanceState);
81 super.onTitleChanged(title, color);
86 super.onConfigurationChanged(newConfig);
103 if (mDelegate == null) {
104 mDelegate = AppCompatDelegate.create(
this, null);
ActionBar getSupportActionBar()
void setSupportActionBar(@Nullable Toolbar toolbar)
void addContentView(View view, ViewGroup.LayoutParams params)
MenuInflater getMenuInflater()
void setContentView(View view)
void setContentView(View view, ViewGroup.LayoutParams params)
void invalidateOptionsMenu()
void onConfigurationChanged(Configuration newConfig)
void onPostCreate(Bundle savedInstanceState)
void onCreate(Bundle savedInstanceState)
void setContentView(@LayoutRes int layoutResID)
AppCompatDelegate getDelegate()
AppCompatDelegate mDelegate
void onTitleChanged(CharSequence title, int color)