[android-developers] Re: how to change the font typeface in PreferenceScreen

2011-10-11 Thread Arkadiusz Wojcieszek
In my PreferenceActivity I have this: @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); addPreferencesFromResource(R.xml.settings); setContentView(R.layout.preferences);

[android-developers] Re: how to change the font typeface in PreferenceScreen

2011-10-11 Thread Arkadiusz Wojcieszek
In my PreferenceActivity I have this: @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); addPreferencesFromResource(R.xml.settings); setContentView(R.layout.preferences);

[android-developers] Re: how to change the font typeface in PreferenceScreen

2011-10-11 Thread Arkadiusz Wojcieszek
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,

[android-developers] how to change the font typeface in PreferenceScreen

2011-10-10 Thread Arkadiusz Wojcieszek
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);

[android-developers] onConfigurationChanged sometimes is not calling in TabActivity

2011-09-19 Thread Arkadiusz Wojcieszek
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