From cc17a774a78fede4e1d1a7fac9a020c11457c94d Mon Sep 17 00:00:00 2001 From: TheScarastic Date: Thu, 12 May 2022 10:49:03 +0530 Subject: privacycentralapp: fix ui in different languages --- app/src/main/res/layout/fragment_dashboard.xml | 15 ++++++++++++--- app/src/main/res/layout/trackers_item_graph.xml | 14 +++++++++++--- app/src/main/res/layout/widget.xml | 12 +++++++++--- 3 files changed, 32 insertions(+), 9 deletions(-) (limited to 'app/src/main/res/layout') diff --git a/app/src/main/res/layout/fragment_dashboard.xml b/app/src/main/res/layout/fragment_dashboard.xml index f6beca6..8b8792b 100644 --- a/app/src/main/res/layout/fragment_dashboard.xml +++ b/app/src/main/res/layout/fragment_dashboard.xml @@ -212,13 +212,16 @@ android:text="@string/dashboard_state_ipaddress_off" /> @@ -230,17 +233,21 @@ android:text="@string/dashboard_state_ipaddress_off" 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" /> 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 @@ /> @@ -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" /> diff --git a/app/src/main/res/layout/widget.xml b/app/src/main/res/layout/widget.xml index d2d8490..60cbffa 100644 --- a/app/src/main/res/layout/widget.xml +++ b/app/src/main/res/layout/widget.xml @@ -702,9 +702,12 @@ android:src="@drawable/ic_legend_blocked" />