From 86619a6ebb4508cd75584f12db69b2c1ed22ef2d Mon Sep 17 00:00:00 2001 From: cyberta Date: Wed, 23 Nov 2022 11:38:34 +0100 Subject: split eip fragment xml per normal/custom flavor --- app/src/normal/res/layout/f_eip.xml | 146 ++++++++++++++++++++++++++++++++++++ 1 file changed, 146 insertions(+) create mode 100644 app/src/normal/res/layout/f_eip.xml (limited to 'app/src/normal/res/layout') diff --git a/app/src/normal/res/layout/f_eip.xml b/app/src/normal/res/layout/f_eip.xml new file mode 100644 index 00000000..9a823b65 --- /dev/null +++ b/app/src/normal/res/layout/f_eip.xml @@ -0,0 +1,146 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3 From 0cf31d76c9f48cc73446b3fde478a46cd29c7594 Mon Sep 17 00:00:00 2001 From: cyberta Date: Tue, 29 Nov 2022 00:58:36 +0100 Subject: split EipFragment and MainButon into normal and custom flavor, implement new on-off button design for Bitmask --- app/src/normal/res/layout/v_main_button.xml | 142 ++++++++++++++++++++++++++++ 1 file changed, 142 insertions(+) create mode 100644 app/src/normal/res/layout/v_main_button.xml (limited to 'app/src/normal/res/layout') diff --git a/app/src/normal/res/layout/v_main_button.xml b/app/src/normal/res/layout/v_main_button.xml new file mode 100644 index 00000000..e3f96693 --- /dev/null +++ b/app/src/normal/res/layout/v_main_button.xml @@ -0,0 +1,142 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file -- cgit v1.2.3 From c2f6bc4e2098265fb1fc8f671dbdecbb5917c6fc Mon Sep 17 00:00:00 2001 From: cyberta Date: Tue, 29 Nov 2022 14:01:05 +0100 Subject: new EipFragment layout for Bitmask - portrait --- app/src/normal/res/layout/f_eip.xml | 65 +++++++++------ app/src/normal/res/layout/v_location_button.xml | 104 ++++++++++++++++++++++++ 2 files changed, 144 insertions(+), 25 deletions(-) create mode 100644 app/src/normal/res/layout/v_location_button.xml (limited to 'app/src/normal/res/layout') diff --git a/app/src/normal/res/layout/f_eip.xml b/app/src/normal/res/layout/f_eip.xml index 9a823b65..e1ea927d 100644 --- a/app/src/normal/res/layout/f_eip.xml +++ b/app/src/normal/res/layout/f_eip.xml @@ -9,7 +9,6 @@ android:layout_height="match_parent" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/eipServiceFragment" - tools:viewBindingIgnore="true" > + /> + + @@ -35,16 +40,13 @@ android:layout_width="0dp" android:layout_height="0dp" android:orientation="horizontal" - app:layout_constraintBottom_toBottomOf="parent" - app:layout_constraintGuide_percent="0.55" - app:layout_constraintRight_toRightOf="parent" /> + app:layout_constraintGuide_percent="0.45" /> @@ -53,9 +55,8 @@ android:layout_width="0dp" android:layout_height="0dp" android:orientation="horizontal" - app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintGuide_percent="0.98" - app:layout_constraintRight_toRightOf="parent" /> + /> + android:layout_margin="-100dp" + app:srcCompat="@drawable/bg_red" /> - - + + + + + + + + + + + + + + + + + + \ No newline at end of file -- cgit v1.2.3 From c7a23493cb2efe079af9a79c5d7ab0f23a17f778 Mon Sep 17 00:00:00 2001 From: cyBerta Date: Tue, 29 Nov 2022 15:20:29 +0100 Subject: scale background images --- app/src/normal/res/layout/f_eip.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'app/src/normal/res/layout') 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" /> -- cgit v1.2.3 From da824fa125a5583d07e8ac2f6585459956d87ac1 Mon Sep 17 00:00:00 2001 From: cyberta Date: Wed, 30 Nov 2022 01:37:33 +0100 Subject: rename drawables and colors according to the state they're representing --- app/src/normal/res/layout/f_eip.xml | 2 +- app/src/normal/res/layout/v_location_button.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'app/src/normal/res/layout') diff --git a/app/src/normal/res/layout/f_eip.xml b/app/src/normal/res/layout/f_eip.xml index cd636b25..9c921721 100644 --- a/app/src/normal/res/layout/f_eip.xml +++ b/app/src/normal/res/layout/f_eip.xml @@ -75,7 +75,7 @@ android:layout_marginRight="-300dp" android:layout_marginTop="-300dp" android:layout_marginBottom="-300dp" - app:srcCompat="@drawable/bg_red" /> + app:srcCompat="@drawable/bg_disconnected" />