diff options
author | Aayush Gupta <theimpulson@e.email> | 2022-05-12 06:42:20 +0000 |
---|---|---|
committer | Aayush Gupta <theimpulson@e.email> | 2022-05-12 06:42:20 +0000 |
commit | 8eb4fa48c78267284c766dbb5022873c96561dc4 (patch) | |
tree | 09d6e99cb509d196cbb8777133cb24079d6ed023 /app/src/main/res/layout/widget.xml | |
parent | bf286ad539612cb0fbaad84919bc1a68ed6712c6 (diff) | |
parent | cc17a774a78fede4e1d1a7fac9a020c11457c94d (diff) |
Merge branch '5399-master-ui_improvements' into 'main'
privacycentralapp: fix ui in different languages
See merge request e/privacy-central/privacycentralapp!57
Diffstat (limited to 'app/src/main/res/layout/widget.xml')
-rw-r--r-- | app/src/main/res/layout/widget.xml | 12 |
1 files changed, 9 insertions, 3 deletions
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" /> <TextView + android:ellipsize="end" android:id="@+id/graph_legend_blocked" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:layout_weight="1" + android:maxLines="1" tools:text="0 Trackers" android:textColor="@color/on_primary_medium_emphasis" android:layout_marginStart="8dp" @@ -717,14 +720,17 @@ android:layout_width="16dp" android:layout_height="16dp" android:padding="1dp" - android:layout_marginStart="32dp" + android:layout_marginStart="10dp" android:src="@drawable/ic_legend_leaked" /> <TextView + android:ellipsize="end" android:id="@+id/graph_legend_allowed" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:layout_weight="1" + android:maxLines="1" tools:text="0 Trackers" android:textColor="@color/on_primary_medium_emphasis" android:layout_marginStart="8dp" @@ -734,9 +740,9 @@ <TextView android:id="@+id/graph_view_trackers_btn" - android:layout_width="0dp" - android:layout_weight="1" + android:layout_width="wrap_content" android:layout_height="wrap_content" + android:paddingStart="10dp" android:textSize="12sp" android:textAlignment="textEnd" android:gravity="center_vertical|end" |