summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/fragment_dashboard.xml
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/layout/fragment_dashboard.xml')
-rw-r--r--app/src/main/res/layout/fragment_dashboard.xml20
1 files changed, 5 insertions, 15 deletions
diff --git a/app/src/main/res/layout/fragment_dashboard.xml b/app/src/main/res/layout/fragment_dashboard.xml
index 66c738c..93c1d36 100644
--- a/app/src/main/res/layout/fragment_dashboard.xml
+++ b/app/src/main/res/layout/fragment_dashboard.xml
@@ -178,32 +178,22 @@ android:text="@string/dashboard_state_ipaddress_off"
<com.github.mikephil.charting.charts.BarChart
android:id="@+id/graph"
- android:layout_height="100dp"
+ android:layout_height="144dp"
android:layout_width="match_parent"
app:layout_constraintTop_toBottomOf="@+id/graph_period"
android:layout_marginTop="16dp"
/>
- <View
- android:id="@+id/graph_legend_form"
- android:layout_width="16dp"
- android:layout_height="16dp"
- android:padding="1dp"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/graph"
- android:layout_marginTop="8dp"
- android:layout_marginStart="16dp"
- android:background="@drawable/ic_disk"
- />
<TextView
android:id="@+id/graph_legend"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
tools:text="0 Trackers"
- android:layout_marginStart="8dp"
android:textSize="12sp"
- app:layout_constraintLeft_toRightOf="@+id/graph_legend_form"
- app:layout_constraintBottom_toBottomOf="@+id/graph_legend_form"
+ android:layout_marginTop="8dp"
+ android:layout_marginStart="16dp"
+ app:layout_constraintLeft_toLeftOf="parent"
+ app:layout_constraintTop_toBottomOf="@+id/graph"
/>
</androidx.constraintlayout.widget.ConstraintLayout>