update libs
This commit is contained in:
parent
22182f293d
commit
e9042ad63e
1 changed files with 1 additions and 13 deletions
|
|
@ -73,19 +73,7 @@ public class SettingsActivity extends AppCompatSettingsThemeActivity implements
|
|||
super.onCreate(savedInstanceState);
|
||||
storage = new Storage(this);
|
||||
setupActionBar();
|
||||
getSupportFragmentManager().beginTransaction().replace(android.R.id.content, new GeneralPreferenceFragment()).commit();
|
||||
}
|
||||
|
||||
/**
|
||||
* Set up the {@link android.app.ActionBar}, if the API is available.
|
||||
*/
|
||||
private void setupActionBar() {
|
||||
ActionBar actionBar = getSupportActionBar();
|
||||
if (actionBar != null) {
|
||||
// Show the Up button in the action bar.
|
||||
actionBar.setDisplayHomeAsUpEnabled(true);
|
||||
// actionBar.setBackgroundDrawable(new ColorDrawable(AudioApplication.getActionbarColor(this)));
|
||||
}
|
||||
showSettingsFragment(new GeneralPreferenceFragment());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue