1 package com.weather.information.activity;
3 import android.app.ActionBar;
4 import android.app.Activity;
5 import android.os.Bundle;
7 import com.weather.information.R;
8 import com.weather.information.fragment.preferences.WeatherInformationPreferencesFragment;
10 public class WeatherInformationPreferencesActivity extends Activity {
13 protected void onCreate(final Bundle savedInstanceState) {
14 super.onCreate(savedInstanceState);
16 this.getFragmentManager()
18 .replace(android.R.id.content,
19 new WeatherInformationPreferencesFragment()).commit();
23 public void onResume() {
26 final ActionBar actionBar = this.getActionBar();
27 actionBar.setTitle(this.getString(R.string.weather_preferences_action_settings));