In my PreferenceActivity I have this:
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
addPreferencesFromResource(R.xml.settings);
setContentView(R.layout.preferences);
SharedPreferences sharedPreferences = getSharedPreferences("settings",
Context
In my PreferenceActivity I have this:
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
addPreferencesFromResource(R.xml.settings);
setContentView(R.layout.preferences);
Shared
In my PreferenceActivity I have this:
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
addPreferencesFromResource(R.xml.settings);
setContentView(R.layout.preferences);
Shared
I have font in file *.ttf in Assets folder. I want to set this font
typeface for TextViewews. I have this code, but it doesn't change
anything:
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
addPreferencesFromResource(R.xml.settings);
setContentV
I have noticed that in some cases (for example when user unlock the
device and my application is show as first or when I switch several
times the tabs and next I change the device orientation) the
onConfigurationChanged method of my activities in tabs has not been
called. This method of my main Tab
5 matches
Mail list logo