aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layout/trackers_item_graph.xml
diff options
context:
space:
mode:
authorGuillaume Jacquart <guillaume.jacquart@hoodbrains.com>2022-11-23 07:51:59 +0000
committerGuillaume Jacquart <guillaume.jacquart@hoodbrains.com>2022-11-23 07:51:59 +0000
commitff6e8c83f1dd95daaadeb950efe90f7016c09458 (patch)
tree1cbbb02709c2f50335ccc3d7a5bd747f76375c9e /app/src/main/res/layout/trackers_item_graph.xml
parent84bdb74c79a41c90d4d374bf5eb963191de3e7b3 (diff)
downloadadvanced-privacy-ff6e8c83f1dd95daaadeb950efe90f7016c09458.tar.gz
829: Fix toggles layout for various tranlsation lengths.
Diffstat (limited to 'app/src/main/res/layout/trackers_item_graph.xml')
-rw-r--r--app/src/main/res/layout/trackers_item_graph.xml17
1 files changed, 5 insertions, 12 deletions
diff --git a/app/src/main/res/layout/trackers_item_graph.xml b/app/src/main/res/layout/trackers_item_graph.xml
index 20106f7..aabc108 100644
--- a/app/src/main/res/layout/trackers_item_graph.xml
+++ b/app/src/main/res/layout/trackers_item_graph.xml
@@ -63,22 +63,19 @@
android:padding="1dp"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toBottomOf="@+id/graph"
- android:layout_marginTop="8dp"
+ android:layout_marginTop="9dp"
android:layout_marginStart="16dp"
android:background="@drawable/ic_legend_blocked"
/>
<TextView
android:id="@+id/graph_legend_blocked"
android:layout_width="0dp"
- android:maxLines="1"
- android:ellipsize="end"
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"
- app:layout_constraintRight_toLeftOf="@id/graph_legend_allowed_icon"
+ app:layout_constraintTop_toBottomOf="@+id/graph" app:layout_constraintRight_toLeftOf="@id/graph_legend_allowed_icon"
android:layout_marginTop="8dp"
android:text="@string/graph_legend_blocked"
/>
@@ -89,9 +86,8 @@
android:layout_height="16dp"
android:padding="1dp"
app:layout_constraintLeft_toRightOf="@+id/graph_legend_blocked"
- app:layout_constraintBottom_toBottomOf="@+id/graph_legend_blocked_icon"
- app:layout_constraintRight_toLeftOf="@id/graph_legend_allowed"
- android:layout_marginTop="8dp"
+ app:layout_constraintTop_toBottomOf="@+id/graph" app:layout_constraintRight_toLeftOf="@id/graph_legend_allowed"
+ android:layout_marginTop="9dp"
android:layout_marginStart="16dp"
android:background="@drawable/ic_legend_leaked"
/>
@@ -99,14 +95,11 @@
android:id="@+id/graph_legend_allowed"
android:layout_width="0dp"
android:layout_height="wrap_content"
- android:maxLines="1"
- android:ellipsize="end"
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"
- app:layout_constraintRight_toRightOf="parent"
+ app:layout_constraintTop_toBottomOf="@+id/graph" app:layout_constraintRight_toRightOf="parent"
android:layout_marginTop="8dp"
android:layout_marginRight="16dp"
android:text="@string/graph_legend_allowed"