remove manual transitions
This commit is contained in:
parent
bf9173fa24
commit
97f177186b
2
.idea/gradle.xml
generated
2
.idea/gradle.xml
generated
@ -3,7 +3,7 @@
|
||||
<component name="GradleSettings">
|
||||
<option name="linkedExternalProjectsSettings">
|
||||
<GradleProjectSettings>
|
||||
<option name="distributionType" value="LOCAL" />
|
||||
<option name="distributionType" value="DEFAULT_WRAPPED" />
|
||||
<option name="externalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="gradleHome" value="C:\Users\fox\android-studio\gradle\gradle-2.2.1" />
|
||||
<option name="modules">
|
||||
|
@ -453,8 +453,6 @@ public class FeedsActivity extends OnlineActivity implements HeadlinesEventListe
|
||||
intent.putExtra("articles", (Parcelable)hf.getAllArticles());
|
||||
|
||||
startActivityForResult(intent, HEADLINES_REQUEST);
|
||||
overridePendingTransition(R.anim.right_slide_in, 0);
|
||||
|
||||
} else {
|
||||
invalidateOptionsMenu();
|
||||
}
|
||||
|
@ -163,7 +163,6 @@ public class HeadlinesActivity extends OnlineActivity implements HeadlinesEventL
|
||||
setResult(Activity.RESULT_OK, resultIntent);
|
||||
|
||||
finish();
|
||||
overridePendingTransition(0, R.anim.right_slide_out);
|
||||
return true;
|
||||
default:
|
||||
Log.d(TAG, "onOptionsItemSelected, unhandled id=" + item.getItemId());
|
||||
@ -321,7 +320,5 @@ public class HeadlinesActivity extends OnlineActivity implements HeadlinesEventL
|
||||
setResult(Activity.RESULT_OK, resultIntent);
|
||||
|
||||
super.onBackPressed();
|
||||
|
||||
overridePendingTransition(0, R.anim.right_slide_out);
|
||||
}
|
||||
}
|
||||
|
@ -335,8 +335,6 @@ public class OfflineFeedsActivity extends OfflineActivity implements OfflineHead
|
||||
|
||||
startActivityForResult(intent, 0);
|
||||
|
||||
overridePendingTransition(R.anim.right_slide_in, 0);
|
||||
|
||||
} else {
|
||||
refresh();
|
||||
}
|
||||
|
@ -132,7 +132,6 @@ public class OfflineHeadlinesActivity extends OfflineActivity implements Offline
|
||||
switch (item.getItemId()) {
|
||||
case android.R.id.home:
|
||||
finish();
|
||||
overridePendingTransition(0, R.anim.right_slide_out);
|
||||
return true;
|
||||
default:
|
||||
Log.d(TAG, "onOptionsItemSelected, unhandled id=" + item.getItemId());
|
||||
@ -201,6 +200,5 @@ public class OfflineHeadlinesActivity extends OfflineActivity implements Offline
|
||||
@Override
|
||||
public void onBackPressed() {
|
||||
super.onBackPressed();
|
||||
overridePendingTransition(0, R.anim.right_slide_out);
|
||||
}
|
||||
}
|
||||
|
@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:anim/accelerate_decelerate_interpolator">
|
||||
<translate
|
||||
android:fromXDelta="100%p"
|
||||
android:toXDelta="0"
|
||||
android:duration="200"
|
||||
/>
|
||||
</set>
|
||||
|
@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:anim/accelerate_decelerate_interpolator">
|
||||
<translate
|
||||
android:fromXDelta="0"
|
||||
android:toXDelta="100%p"
|
||||
android:duration="200"
|
||||
/>
|
||||
</set>
|
||||
|
@ -10,9 +10,9 @@
|
||||
<item name="headlineSelectedBackground">#88b0f0</item>
|
||||
<item name="headlineUnreadBackground">@android:color/white</item>
|
||||
<item name="headlineNormalBackground">#f5f5f5</item>
|
||||
<item name="feedsSelectedBackground">?colorPrimaryDark</item>
|
||||
<item name="feedsSelectedBackground">#cccccc</item>
|
||||
<item name="feedlistTextColor">@android:color/primary_text_light</item>
|
||||
<item name="feedlistSelectedTextColor">#ffffff</item>
|
||||
<item name="feedlistSelectedTextColor">?feedlistTextColor</item>
|
||||
<item name="headlineUnreadTextColor">@android:color/primary_text_light</item>
|
||||
<item name="headlineSelectedTextColor">#ffffff</item>
|
||||
<item name="headlineExcerptTextColor">@android:color/secondary_text_light</item>
|
||||
@ -105,8 +105,8 @@
|
||||
<item name="feedlistBackground">#1c1d1e</item>
|
||||
<item name="headlinesBackground">#1c1d1e</item>
|
||||
<item name="articleBackground">#1c1d1e</item>
|
||||
<item name="feedsSelectedBackground">?colorPrimaryDark</item>
|
||||
<item name="feedlistSelectedTextColor">@android:color/primary_text_dark</item>
|
||||
<item name="feedsSelectedBackground">#1c1c1c</item>
|
||||
<item name="feedlistSelectedTextColor">?feedlistTextColor</item>
|
||||
<item name="articleHeader">?colorPrimaryDark</item>
|
||||
<item name="articleHeaderTextColor">@android:color/white</item>
|
||||
<item name="floatingActionButtonStyle">@style/FabTheme</item>
|
||||
|
Loading…
Reference in New Issue
Block a user