From 4f88dccaef982321e13856b3255534a6d260b8d2 Mon Sep 17 00:00:00 2001 From: cyberta Date: Tue, 29 Nov 2022 15:44:42 +0100 Subject: new Bitmask EipFragment layout for xlarge screens, delete unused background drawable, for now we use scaled png images --- app/src/normal/res/drawable/background_red.xml | 26 ------ app/src/normal/res/layout-xlarge-port/f_eip.xml | 95 +++++++++++++++------- app/src/normal/res/layout-xlarge/f_eip.xml | 103 +++++++++++++++--------- 3 files changed, 134 insertions(+), 90 deletions(-) delete mode 100644 app/src/normal/res/drawable/background_red.xml diff --git a/app/src/normal/res/drawable/background_red.xml b/app/src/normal/res/drawable/background_red.xml deleted file mode 100644 index 0189357c..00000000 --- a/app/src/normal/res/drawable/background_red.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/app/src/normal/res/layout-xlarge-port/f_eip.xml b/app/src/normal/res/layout-xlarge-port/f_eip.xml index c3d3fd36..26a90403 100644 --- a/app/src/normal/res/layout-xlarge-port/f_eip.xml +++ b/app/src/normal/res/layout-xlarge-port/f_eip.xml @@ -7,79 +7,97 @@ android:id="@+id/eipServiceFragment" > + + + app:layout_constraintGuide_percent="0.025" + /> + + + + + android:layout_marginTop="-300dp" + android:layout_marginBottom="-300dp" + android:layout_marginLeft="-300dp" + android:layout_marginRight="-300dp" + + /> - @@ -91,18 +109,40 @@ app:layout_constraintTop_toBottomOf="@id/main_description" app:layout_constraintStart_toStartOf="parent" app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintBottom_toTopOf="@+id/gateway_location_button" android:padding="@dimen/activity_margin" android:textAppearance="@android:style/TextAppearance.DeviceDefault.Large" android:textStyle="bold" android:textColor="@color/colorEipFragmentFont" app:layout_constraintDimensionRatio="1:1" - tools:text="A LONG TEXT WITH SEVERAL THINGS BLABLkk" + tools:text="A LONG TEXT WITH SEVERAL THINGS BLABLkk \n kdjfkj \n kjdfkjdf" android:gravity="center" android:maxLines="2" android:ellipsize="end" /> + + + + diff --git a/app/src/normal/res/layout-xlarge/f_eip.xml b/app/src/normal/res/layout-xlarge/f_eip.xml index 4042933e..e1ecf321 100644 --- a/app/src/normal/res/layout-xlarge/f_eip.xml +++ b/app/src/normal/res/layout-xlarge/f_eip.xml @@ -5,20 +5,20 @@ --> + + + app:layout_constraintGuide_percent="0.3" /> + + + + + app:layout_constraintGuide_percent="0.7" /> - + android:layout_marginLeft="-300dp" + android:layout_marginRight="-300dp" + android:layout_marginTop="-300dp" + android:layout_marginBottom="-300dp" + app:srcCompat="@drawable/bg_red" /> - + + + + -- cgit v1.2.3