summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2022-11-29 15:20:29 +0100
committercyberta <cyberta@riseup.net>2022-11-30 14:19:39 +0100
commitc7a23493cb2efe079af9a79c5d7ab0f23a17f778 (patch)
tree640c5e76347ce12ff20f77be93c64b8b8ce3c3f6
parentc2f6bc4e2098265fb1fc8f671dbdecbb5917c6fc (diff)
scale background images
-rw-r--r--app/src/normal/res/layout-port/f_eip.xml10
-rw-r--r--app/src/normal/res/layout/f_eip.xml5
2 files changed, 10 insertions, 5 deletions
diff --git a/app/src/normal/res/layout-port/f_eip.xml b/app/src/normal/res/layout-port/f_eip.xml
index c068df66..b17e300c 100644
--- a/app/src/normal/res/layout-port/f_eip.xml
+++ b/app/src/normal/res/layout-port/f_eip.xml
@@ -62,10 +62,12 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
app:srcCompat="@drawable/bg_red"
- android:layout_marginTop="-100dp"
- android:layout_marginRight="-100dp"
- android:layout_marginBottom="-100dp"
- android:layout_marginLeft="-100dp"
+ android:scaleType="fitXY"
+ android:layout_marginTop="-300dp"
+ android:layout_marginBottom="-300dp"
+ android:layout_marginLeft="-300dp"
+ android:layout_marginRight="-300dp"
+
/>
diff --git a/app/src/normal/res/layout/f_eip.xml b/app/src/normal/res/layout/f_eip.xml
index e1ea927d..cd636b25 100644
--- a/app/src/normal/res/layout/f_eip.xml
+++ b/app/src/normal/res/layout/f_eip.xml
@@ -71,7 +71,10 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="fitXY"
- android:layout_margin="-100dp"
+ android:layout_marginLeft="-300dp"
+ android:layout_marginRight="-300dp"
+ android:layout_marginTop="-300dp"
+ android:layout_marginBottom="-300dp"
app:srcCompat="@drawable/bg_red" />