From ff6e8c83f1dd95daaadeb950efe90f7016c09458 Mon Sep 17 00:00:00 2001 From: Guillaume Jacquart Date: Wed, 23 Nov 2022 07:51:59 +0000 Subject: 829: Fix toggles layout for various tranlsation lengths. --- app/src/main/res/layout/widget.xml | 174 +++++++++++++++++++++---------------- 1 file changed, 99 insertions(+), 75 deletions(-) (limited to 'app/src/main/res/layout/widget.xml') diff --git a/app/src/main/res/layout/widget.xml b/app/src/main/res/layout/widget.xml index 1e78bc7..ad7e2b9 100644 --- a/app/src/main/res/layout/widget.xml +++ b/app/src/main/res/layout/widget.xml @@ -73,132 +73,158 @@ android:textColor="@color/on_primary_medium_emphasis" /> + + - - + android:layout_width="0dp" + android:layout_weight="1" + android:layout_marginHorizontal="2dp" + android:gravity="center_horizontal" + > + + + - - - - @@ -711,7 +737,7 @@ android:layout_marginTop="16dp" android:layout_marginHorizontal="24dp" android:layout_marginBottom="24dp" - android:gravity="center_vertical" + android:gravity="top" >