17 package eu.intermodalics.tango_ros_streamer.activities;
19 import android.content.res.Configuration;
20 import android.os.Bundle;
21 import android.support.annotation.LayoutRes;
22 import android.support.annotation.Nullable;
23 import android.support.v7.app.ActionBar;
24 import android.support.v7.app.AppCompatDelegate;
25 import android.support.v7.widget.Toolbar;
26 import android.view.MenuInflater;
27 import android.view.View;
28 import android.view.ViewGroup;
30 import org.ros.android.RosActivity;
44 super(notificationTicker, notificationTitle);
48 protected void onCreate(Bundle savedInstanceState) {
51 super.onCreate(savedInstanceState);
55 super.onPostCreate(savedInstanceState);
91 super.onTitleChanged(title, color);
96 super.onConfigurationChanged(newConfig);
113 if (mDelegate == null) {
114 mDelegate = AppCompatDelegate.create(
this, null);
ActionBar getSupportActionBar()
void setContentView(View view, ViewGroup.LayoutParams params)
void invalidateOptionsMenu()
void onCreate(Bundle savedInstanceState)
AppCompatDelegate getDelegate()
void onConfigurationChanged(Configuration newConfig)
void addContentView(View view, ViewGroup.LayoutParams params)
void setContentView(@LayoutRes int layoutResID)
void onPostCreate(Bundle savedInstanceState)
AppCompatDelegate mDelegate
AppCompatRosActivity(String notificationTicker, String notificationTitle)
void setContentView(View view)
void setSupportActionBar(@Nullable Toolbar toolbar)
void onTitleChanged(CharSequence title, int color)
MenuInflater getMenuInflater()