Merge "Disable animations of deep link homepages to reduce the shortcut flicker" into sc-v2-dev
This commit is contained in:
@@ -147,7 +147,7 @@
|
||||
<!-- Activity for launching deep link page in 2-pane. -->
|
||||
<activity android:name=".homepage.DeepLinkHomepageActivity"
|
||||
android:label="@string/settings_label_launcher"
|
||||
android:theme="@style/Theme.Settings.Home"
|
||||
android:theme="@style/Theme.Settings.Home.DeepLink"
|
||||
android:taskAffinity=""
|
||||
android:launchMode="singleTask"
|
||||
android:exported="true"
|
||||
@@ -163,7 +163,7 @@
|
||||
|
||||
<activity android:name=".homepage.SliceDeepLinkHomepageActivity"
|
||||
android:label="@string/settings_label_launcher"
|
||||
android:theme="@style/Theme.Settings.Home"
|
||||
android:theme="@style/Theme.Settings.Home.DeepLink"
|
||||
android:taskAffinity=""
|
||||
android:launchMode="singleTask"
|
||||
android:exported="false"
|
||||
|
@@ -220,6 +220,10 @@
|
||||
<item name="android:statusBarColor">?attr/colorPrimaryDark</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.Settings.Home.DeepLink">
|
||||
<item name="android:windowAnimationStyle">@null</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.Settings.ContextualCard" parent="Theme.Settings.Home">
|
||||
<item name="android:textAppearanceListItem">@style/TextAppearance.HomepageCardTitle</item>
|
||||
</style>
|
||||
|
Reference in New Issue
Block a user