diff options
author | jacquarg <guillaume.jacquart@hoodbrains.com> | 2022-04-05 18:53:40 +0200 |
---|---|---|
committer | jacquarg <guillaume.jacquart@hoodbrains.com> | 2022-04-05 18:53:58 +0200 |
commit | bdf9198bb069f2ab9619cb4d3a85f5c2cbf9f0cd (patch) | |
tree | a1c5a0410e9392d01647301b56e9549fc934fff5 /app/src/main/res/layout/fragment_dashboard.xml | |
parent | 250da848583f1fbd2d6658339fc758d22c67e938 (diff) |
5217 - Display blocked trackers, 5216 : add leaks in tooltips
Diffstat (limited to 'app/src/main/res/layout/fragment_dashboard.xml')
-rw-r--r-- | app/src/main/res/layout/fragment_dashboard.xml | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/app/src/main/res/layout/fragment_dashboard.xml b/app/src/main/res/layout/fragment_dashboard.xml index 53ec617..ff64733 100644 --- a/app/src/main/res/layout/fragment_dashboard.xml +++ b/app/src/main/res/layout/fragment_dashboard.xml @@ -188,6 +188,55 @@ android:text="@string/dashboard_state_ipaddress_off" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintTop_toBottomOf="@+id/graph" /> + + <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_legend" + 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" |