aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layout/trackers_item_graph.xml
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/layout/trackers_item_graph.xml')
-rw-r--r--app/src/main/res/layout/trackers_item_graph.xml49
1 files changed, 49 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 5cc2d98..933b96c 100644
--- a/app/src/main/res/layout/trackers_item_graph.xml
+++ b/app/src/main/res/layout/trackers_item_graph.xml
@@ -55,6 +55,55 @@
android:layout_width="match_parent"
app:layout_constraintTop_toBottomOf="@+id/graph_period_label"
/>
+
+ <View
+ android:id="@+id/graph_legend_blocked_icon"
+ 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_legend_blocked"
+ />
+ <TextView
+ android:id="@+id/graph_legend_blocked"
+ 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_blocked_icon"
+ app:layout_constraintBottom_toBottomOf="@+id/graph_legend_blocked_icon"
+ android:layout_marginTop="8dp"
+ android:text="@string/graph_legend_blocked"
+ />
+
+ <View
+ android:id="@+id/graph_legend_allowed_icon"
+ android:layout_width="16dp"
+ android:layout_height="16dp"
+ android:padding="1dp"
+ app:layout_constraintLeft_toRightOf="@+id/graph_legend_blocked"
+ app:layout_constraintBottom_toBottomOf="@+id/graph_legend_blocked_icon"
+ android:layout_marginTop="8dp"
+ android:layout_marginStart="32dp"
+ android:background="@drawable/ic_legend_leaked"
+ />
+ <TextView
+ android:id="@+id/graph_legend_allowed"
+ 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_allowed_icon"
+ app:layout_constraintBottom_toBottomOf="@+id/graph_legend_blocked_icon"
+ android:layout_marginTop="8dp"
+ android:text="@string/graph_legend_allowed"
+ />
+
<TextView
android:id="@+id/graph_empty"
android:layout_width="match_parent"