1
0
Fork 0

For 11616: removed black flicker with placeholder animation (#11796)

Increasing duration removed second "light" flicker
master
MarcLeclair 2020-06-26 20:10:22 -04:00 committed by GitHub
parent b7d989a588
commit c6415ce18f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 1 deletions

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<translate
xmlns:android="http://schemas.android.com/apk/res/android"
android:fromXDelta="0"
android:toXDelta="0"
android:duration="900" />

View File

@ -20,6 +20,7 @@
<item name="alertDialogStyle">@style/DialogStyleNormal</item>
<item name="alertDialogTheme">@style/DialogStyleNormal</item>
<item name="android:windowEnableSplitTouch">false</item>
<item name="android:navigationBarColor">@android:color/transparent</item>
<item name="android:splitMotionEvents">false</item>
<item name="mozacInputLayoutErrorTextColor"

View File

@ -39,6 +39,6 @@ class MigrationDecisionActivity : Activity() {
// and then we switch to the actual activity without an animation. This visually looks like
// a faster start than launching this activity invisibly and switching to the actual
// activity after that.
overridePendingTransition(0, 0)
overridePendingTransition(0, R.anim.placeholder_animation)
}
}