summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/fragment_dashboard.xml
diff options
context:
space:
mode:
authorGuillaume Jacquart <guillaume.jacquart@hoodbrains.com>2022-02-24 07:40:37 +0000
committerGuillaume Jacquart <guillaume.jacquart@hoodbrains.com>2022-02-24 07:40:37 +0000
commit8d669755396a58eb3894144b25631ff7577954be (patch)
tree3aea080c86ba2f51c6cb8ad4302765d1ddf5b3a6 /app/src/main/res/layout/fragment_dashboard.xml
parentac0f57662d5c953f73c0561edc11e0ae8c9a0404 (diff)
Update graph UI, #4582
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>