summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/fragment_dashboard.xml
diff options
context:
space:
mode:
authorjacquarg <guillaume.jacquart@hoodbrains.com>2022-03-28 09:11:01 +0200
committerjacquarg <guillaume.jacquart@hoodbrains.com>2022-03-29 08:23:53 +0200
commit138cd2710919db4b5db55797dbdff5f4ebef3846 (patch)
treedaa95590e167c520fb9be159225a435446827bdc /app/src/main/res/layout/fragment_dashboard.xml
parent668632620bc9552d89e333efa47023ebff515ce9 (diff)
5161 display message when trackers graphs empty.
Diffstat (limited to 'app/src/main/res/layout/fragment_dashboard.xml')
-rw-r--r--app/src/main/res/layout/fragment_dashboard.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/app/src/main/res/layout/fragment_dashboard.xml b/app/src/main/res/layout/fragment_dashboard.xml
index 97fdae3..ec69575 100644
--- a/app/src/main/res/layout/fragment_dashboard.xml
+++ b/app/src/main/res/layout/fragment_dashboard.xml
@@ -185,6 +185,20 @@ android:text="@string/dashboard_state_ipaddress_off"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toBottomOf="@+id/graph"
/>
+ <TextView
+ android:id="@+id/graph_empty"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:textSize="12sp"
+ android:textColor="@color/secondary_text"
+ android:layout_marginHorizontal="16dp"
+ app:layout_constraintTop_toTopOf="parent"
+ app:layout_constraintBottom_toBottomOf="parent"
+ android:text="@string/graph_empty_message"
+ android:gravity="center"
+ android:visibility="gone"
+ />
+
</androidx.constraintlayout.widget.ConstraintLayout>
<include