Add a timeout waiting for contextual card loader.

- Intially setting it to 1 second.
- Also changed card appear animation from drop in to fade in. It looks
  less janky if we don't animate any size change.
- And some random code cleanup

Change-Id: I6e73bcf98fd9aa1d76ae002b94ab5b068dfecf1e
Fixes: 120916829
Test: robotests
This commit is contained in:
Fan Zhang
2018-12-12 15:07:59 -08:00
parent 07933cb967
commit ad12b76a98
9 changed files with 50 additions and 33 deletions

View File

@@ -25,6 +25,6 @@
android:id="@+id/card_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layoutAnimation="@anim/layout_animation_fall_down"/>
android:layoutAnimation="@anim/layout_animation_fade_in"/>
</LinearLayout>