forked from upstream-mirrors/quik
Fixed weird animations
This commit is contained in:
@@ -37,7 +37,6 @@ public class MessageListActivity extends QKSwipeBackActivity {
|
||||
intent.putExtra(ARG_HIGHLIGHT, pattern);
|
||||
intent.putExtra(ARG_SHOW_IMMEDIATE, showImmediate);
|
||||
context.startActivity(intent);
|
||||
context.overridePendingTransition(R.anim.slide_in, android.R.anim.fade_out);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -78,6 +77,7 @@ public class MessageListActivity extends QKSwipeBackActivity {
|
||||
if (fragment == null) {
|
||||
fragment = MessageListFragment.getInstance(mThreadId, mRowId, mHighlight, mShowImmediate);
|
||||
}
|
||||
mSwipeBackLayout.setScrollChangedListener(fragment);
|
||||
FragmentTransaction menuTransaction = fm.beginTransaction();
|
||||
menuTransaction.replace(R.id.content_frame, fragment);
|
||||
menuTransaction.commit();
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<translate
|
||||
android:duration="200"
|
||||
android:fromXDelta="100%p"
|
||||
android:toXDelta="0" />
|
||||
</set>
|
||||
@@ -1,7 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<translate
|
||||
android:duration="200"
|
||||
android:fromXDelta="0"
|
||||
android:toXDelta="100%p" />
|
||||
</set>
|
||||
Reference in New Issue
Block a user