summaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2022-12-23 16:15:29 +0100
committercyBerta <cyberta@riseup.net>2022-12-23 16:15:29 +0100
commit9f25a1ee20aa07e4af9635bcf3f726f74091e97a (patch)
treedfdd55369328c7d6f35bf2b4626bf52d8d129cda /app/src/main
parent17ce27727c3b002f4c6fe242eb4380ad42725868 (diff)
avoid changing text sizes in eipFragment if connection states change
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/res/layout-port/f_eip.xml6
-rw-r--r--app/src/main/res/layout-sw600dp-port/f_eip.xml4
-rw-r--r--app/src/main/res/layout-xlarge-port/f_eip.xml1
3 files changed, 3 insertions, 8 deletions
diff --git a/app/src/main/res/layout-port/f_eip.xml b/app/src/main/res/layout-port/f_eip.xml
index 80f42f91..fff51212 100644
--- a/app/src/main/res/layout-port/f_eip.xml
+++ b/app/src/main/res/layout-port/f_eip.xml
@@ -64,8 +64,6 @@
android:scaleType="fitXY"
/>
-
-
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/main_description"
android:layout_width="wrap_content"
@@ -78,9 +76,7 @@
android:layout_marginTop="@dimen/activity_margin"
android:textAppearance="@android:style/TextAppearance.Large"
android:textStyle="bold"
- android:textSize="34sp"
- app:autoSizeMinTextSize="28sp"
- app:autoSizeTextType="uniform"
+ android:textSize="32sp"
android:textColor="@color/colorEipFragmentFont"
app:layout_constraintDimensionRatio="1:1"
tools:text="Connection secure"
diff --git a/app/src/main/res/layout-sw600dp-port/f_eip.xml b/app/src/main/res/layout-sw600dp-port/f_eip.xml
index 93393565..2d6083a0 100644
--- a/app/src/main/res/layout-sw600dp-port/f_eip.xml
+++ b/app/src/main/res/layout-sw600dp-port/f_eip.xml
@@ -77,13 +77,11 @@
android:textAppearance="@android:style/TextAppearance.Large"
android:textStyle="bold"
android:textSize="48sp"
- app:autoSizeMinTextSize="32sp"
- app:autoSizeTextType="uniform"
android:textColor="@color/colorEipFragmentFont"
app:layout_constraintDimensionRatio="1:1"
tools:text="Connection secure"
android:gravity="center"
- android:maxLines="1"
+ android:maxLines="2"
/>
<androidx.appcompat.widget.AppCompatTextView
diff --git a/app/src/main/res/layout-xlarge-port/f_eip.xml b/app/src/main/res/layout-xlarge-port/f_eip.xml
index ee0fbac9..3ced08e3 100644
--- a/app/src/main/res/layout-xlarge-port/f_eip.xml
+++ b/app/src/main/res/layout-xlarge-port/f_eip.xml
@@ -83,6 +83,7 @@
android:textColor="@color/colorEipFragmentFont"
app:layout_constraintDimensionRatio="1:1"
tools:text="Connection secure"
+ android:maxLines="2"
/>
<androidx.appcompat.widget.AppCompatTextView