Fix b/242254055 Battery usage initial screen improvements (long data loading time)
screen record with forcing 5s loading data: https://drive.google.com/file/d/1qIkY9U55oF8ktNqiJtxMW7K8sVuJDgTa/view?usp=sharing&resourcekey=0-BJTVh6GcvpXeTqwOQzmzYw
Bug: 242254055
Test: manual
Change-Id: Ic6a907ddc4e932ef0256f96556667cd681ef0ebc
diff --git a/res/layout/battery_chart_graph.xml b/res/layout/battery_chart_graph.xml
index 8b05b51..b95c660 100644
--- a/res/layout/battery_chart_graph.xml
+++ b/res/layout/battery_chart_graph.xml
@@ -36,7 +36,7 @@
android:layout_width="match_parent"
android:layout_height="170dp"
android:layout_marginBottom="16dp"
- android:visibility="invisible"
+ android:visibility="gone"
android:contentDescription="@string/battery_usage_chart"
android:textAppearance="?android:attr/textAppearanceSmall"
settings:textColor="?android:attr/textColorSecondary" />
@@ -46,7 +46,7 @@
android:layout_width="match_parent"
android:layout_height="170dp"
android:layout_marginBottom="16dp"
- android:visibility="invisible"
+ android:visibility="visible"
android:contentDescription="@string/battery_usage_chart"
android:textAppearance="?android:attr/textAppearanceSmall"
settings:textColor="?android:attr/textColorSecondary" />