1 package de.example.exampletdd;
3 import android.app.ActionBar;
4 import android.app.Activity;
5 import android.os.Bundle;
6 import de.example.exampletdd.fragment.preferences.WeatherInformationPreferencesFragment;
8 public class WeatherInformationPreferencesActivity extends Activity {
11 protected void onCreate(final Bundle savedInstanceState) {
12 super.onCreate(savedInstanceState);
14 this.getFragmentManager()
16 .replace(android.R.id.content,
17 new WeatherInformationPreferencesFragment()).commit();
21 public void onResume() {
24 final ActionBar actionBar = this.getActionBar();
25 actionBar.setTitle(this.getString(R.string.weather_preferences_action_settings));