blob: 033d2f54534e2e994c65949541a163e6434d1721 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
package com.actionbarsherlock.sample.demos;
import android.os.Bundle;
public class TabNavigationCollapsed extends TabNavigation {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
//The following two options trigger the collapsing of the main action bar view.
//See the parent activity for the rest of the implementation
getSupportActionBar().setDisplayShowHomeEnabled(false);
getSupportActionBar().setDisplayShowTitleEnabled(false);
}
}
|