PreferenceActivity used as main activity has strange animation
Posted
by Tobia Loschiavo
on Stack Overflow
See other posts from Stack Overflow
or by Tobia Loschiavo
Published on 2010-03-21T21:39:38Z
Indexed on
2010/03/21
21:41 UTC
Read the original article
Hit count: 290
Hi,
I have a preference screen (subclass of PreferenceActivity) set as main activity (opened when the application starts). Anyway the animation android uses to open this activity is different from standard activity. It seems that two types of animation run concurrently: the usual fade animation and the right to left one.
This is the code of the onCreate()
method:
getPreferenceManager().setSharedPreferencesName("app");
addPreferencesFromResource(R.xml.preferences);
screen = getPreferenceScreen();
How can fix this glitch?
Thanks
© Stack Overflow or respective owner