Remove nested layout for better performance.

This commit is contained in:
Johannes Mockenhaupt 2018-02-04 00:36:08 +01:00
parent f573265bc2
commit 6b4b044cd6
No known key found for this signature in database
GPG key ID: 9E1EA6AF7BBBB0D1

View file

@ -347,26 +347,17 @@
</LinearLayout>
<LinearLayout
android:id="@+id/overview_graphs_layout"
<com.jjoe64.graphview.GraphView
android:id="@+id/overview_bggraph"
android:layout_width="wrap_content"
android:layout_height="0dp"
android:layout_weight="1"
android:orientation="vertical">
android:layout_weight="1" />
<com.jjoe64.graphview.GraphView
android:id="@+id/overview_bggraph"
android:layout_width="wrap_content"
android:layout_height="0dp"
android:layout_weight="1" />
<com.jjoe64.graphview.GraphView
android:id="@+id/overview_iobgraph"
android:layout_width="wrap_content"
android:layout_height="100dp"
android:visibility="gone" />
</LinearLayout>
<com.jjoe64.graphview.GraphView
android:id="@+id/overview_iobgraph"
android:layout_width="wrap_content"
android:layout_height="100dp"
android:visibility="gone" />
</LinearLayout>