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/trackers_item_graph.xml | |
| parent | 250da848583f1fbd2d6658339fc758d22c67e938 (diff) | |
| download | advanced-privacy-bdf9198bb069f2ab9619cb4d3a85f5c2cbf9f0cd.tar.gz | |
5217 - Display blocked trackers, 5216 : add leaks in tooltips
Diffstat (limited to 'app/src/main/res/layout/trackers_item_graph.xml')
| -rw-r--r-- | app/src/main/res/layout/trackers_item_graph.xml | 49 | 
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" | 
