diff options
author | cyBerta <cyberta@riseup.net> | 2022-11-29 15:20:29 +0100 |
---|---|---|
committer | cyberta <cyberta@riseup.net> | 2022-11-30 14:19:39 +0100 |
commit | c7a23493cb2efe079af9a79c5d7ab0f23a17f778 (patch) | |
tree | 640c5e76347ce12ff20f77be93c64b8b8ce3c3f6 /app/src | |
parent | c2f6bc4e2098265fb1fc8f671dbdecbb5917c6fc (diff) |
scale background images
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/normal/res/layout-port/f_eip.xml | 10 | ||||
-rw-r--r-- | app/src/normal/res/layout/f_eip.xml | 5 |
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" /> |