Search in sources :

Example 21 with ActionBar

use of android.support.v7.app.ActionBar in project SeriesGuide by UweTrottmann.

the class EpisodeDetailsActivity method setupActionBar.

@Override
protected void setupActionBar() {
    super.setupActionBar();
    ActionBar actionBar = getSupportActionBar();
    if (actionBar != null) {
        actionBar.setDisplayHomeAsUpEnabled(true);
        actionBar.setDisplayShowTitleEnabled(false);
    }
}
Also used : ActionBar(android.support.v7.app.ActionBar)

Example 22 with ActionBar

use of android.support.v7.app.ActionBar in project SeriesGuide by UweTrottmann.

the class BackupDeleteActivity method setupActionBar.

@Override
protected void setupActionBar() {
    super.setupActionBar();
    ActionBar actionBar = getSupportActionBar();
    if (actionBar != null) {
        actionBar.setDisplayHomeAsUpEnabled(true);
        actionBar.setTitle(getString(R.string.backup));
        actionBar.setDisplayShowTitleEnabled(true);
    }
}
Also used : ActionBar(android.support.v7.app.ActionBar)

Example 23 with ActionBar

use of android.support.v7.app.ActionBar in project SeriesGuide by UweTrottmann.

the class FullscreenImageActivity method setupActionBar.

@Override
protected void setupActionBar() {
    super.setupActionBar();
    ActionBar actionBar = getSupportActionBar();
    if (actionBar != null) {
        actionBar.setDisplayHomeAsUpEnabled(true);
        actionBar.setDisplayShowTitleEnabled(false);
    }
}
Also used : ActionBar(android.support.v7.app.ActionBar)

Example 24 with ActionBar

use of android.support.v7.app.ActionBar in project SeriesGuide by UweTrottmann.

the class HelpActivity method setupActionBar.

@Override
protected void setupActionBar() {
    super.setupActionBar();
    ActionBar actionBar = getSupportActionBar();
    if (actionBar != null) {
        actionBar.setDisplayHomeAsUpEnabled(true);
    }
}
Also used : ActionBar(android.support.v7.app.ActionBar)

Example 25 with ActionBar

use of android.support.v7.app.ActionBar in project SeriesGuide by UweTrottmann.

the class StatsActivity method setupActionBar.

@Override
protected void setupActionBar() {
    super.setupActionBar();
    ActionBar actionBar = getSupportActionBar();
    if (actionBar != null) {
        actionBar.setTitle(R.string.statistics);
    }
}
Also used : ActionBar(android.support.v7.app.ActionBar)

Aggregations

ActionBar (android.support.v7.app.ActionBar)400 View (android.view.View)117 Toolbar (android.support.v7.widget.Toolbar)98 TextView (android.widget.TextView)63 AppCompatActivity (android.support.v7.app.AppCompatActivity)31 ImageView (android.widget.ImageView)31 Intent (android.content.Intent)29 RecyclerView (android.support.v7.widget.RecyclerView)27 LinearLayoutManager (android.support.v7.widget.LinearLayoutManager)23 AdapterView (android.widget.AdapterView)21 ViewPager (android.support.v4.view.ViewPager)15 ArrayList (java.util.ArrayList)15 Bundle (android.os.Bundle)14 ActionBarDrawerToggle (android.support.v7.app.ActionBarDrawerToggle)14 SuppressLint (android.annotation.SuppressLint)13 ListView (android.widget.ListView)13 FragmentManager (android.app.FragmentManager)12 Fragment (android.support.v4.app.Fragment)12 ColorDrawable (android.graphics.drawable.ColorDrawable)10 NavigationView (android.support.design.widget.NavigationView)10