diff options
Diffstat (limited to 'app/src/main/res/layout/trackers_item_graph.xml')
| -rw-r--r-- | app/src/main/res/layout/trackers_item_graph.xml | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/app/src/main/res/layout/trackers_item_graph.xml b/app/src/main/res/layout/trackers_item_graph.xml index 933b96c..20106f7 100644 --- a/app/src/main/res/layout/trackers_item_graph.xml +++ b/app/src/main/res/layout/trackers_item_graph.xml @@ -69,13 +69,16 @@ /> <TextView android:id="@+id/graph_legend_blocked" - android:layout_width="wrap_content" + 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" android:layout_marginTop="8dp" android:text="@string/graph_legend_blocked" /> @@ -87,20 +90,25 @@ 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" - android:layout_marginStart="32dp" + android:layout_marginStart="16dp" android:background="@drawable/ic_legend_leaked" /> <TextView android:id="@+id/graph_legend_allowed" - android:layout_width="wrap_content" + 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" android:layout_marginTop="8dp" + android:layout_marginRight="16dp" android:text="@string/graph_legend_allowed" /> |
