Hide updates view on app launch
The updates view was not set to have visibility set to
gone for a couple of layouts which caused this jank
at app launch. Now, before data is loaded, the contact
details will be blank with no updates view showing.
Bug: 5129393
Change-Id: I82b0f954deecccb9ce2ad4b70bc9c5d2eb5ca3a5
diff --git a/res/layout-sw680dp-w1000dp/contact_detail_container.xml b/res/layout-sw680dp-w1000dp/contact_detail_container.xml
index 9e1eb33..8180e92 100644
--- a/res/layout-sw680dp-w1000dp/contact_detail_container.xml
+++ b/res/layout-sw680dp-w1000dp/contact_detail_container.xml
@@ -54,6 +54,7 @@
android:id="@+id/updates_fragment_container"
android:layout_width="0dip"
android:layout_weight="2"
- android:layout_height="match_parent" />
+ android:layout_height="match_parent"
+ android:visibility="gone" />
-</LinearLayout>
\ No newline at end of file
+</LinearLayout>
diff --git a/res/layout/contact_detail_updates_fragment_container.xml b/res/layout/contact_detail_updates_fragment_container.xml
index fb3a8ac..7414f61 100644
--- a/res/layout/contact_detail_updates_fragment_container.xml
+++ b/res/layout/contact_detail_updates_fragment_container.xml
@@ -22,4 +22,5 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/updates_fragment_container"
android:layout_width="match_parent"
- android:layout_height="match_parent"/>
\ No newline at end of file
+ android:layout_height="match_parent"
+ android:visibility="gone" />