aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layout/trackers_item_graph.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/trackers_item_graph.xml
parent668632620bc9552d89e333efa47023ebff515ce9 (diff)
downloadadvanced-privacy-138cd2710919db4b5db55797dbdff5f4ebef3846.tar.gz
5161 display message when trackers graphs empty.
Diffstat (limited to 'app/src/main/res/layout/trackers_item_graph.xml')
-rw-r--r--app/src/main/res/layout/trackers_item_graph.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/src/main/res/layout/trackers_item_graph.xml b/app/src/main/res/layout/trackers_item_graph.xml
index 5a2714c..5cc2d98 100644
--- a/app/src/main/res/layout/trackers_item_graph.xml
+++ b/app/src/main/res/layout/trackers_item_graph.xml
@@ -55,5 +55,18 @@
android:layout_width="match_parent"
app:layout_constraintTop_toBottomOf="@+id/graph_period_label"
/>
+ <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>
</layout> \ No newline at end of file