From c0e9e9122e011911e40cfceae45d5ac535b77b94 Mon Sep 17 00:00:00 2001 From: cyberta Date: Wed, 30 Nov 2022 14:02:52 +0100 Subject: keep default EipFragment layout for backwards compatibility --- app/src/main/res/layout/f_eip.xml | 146 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 146 insertions(+) create mode 100644 app/src/main/res/layout/f_eip.xml (limited to 'app/src/main/res/layout') diff --git a/app/src/main/res/layout/f_eip.xml b/app/src/main/res/layout/f_eip.xml new file mode 100644 index 00000000..9a823b65 --- /dev/null +++ b/app/src/main/res/layout/f_eip.xml @@ -0,0 +1,146 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3 From 709362f5adefdf0727aa0ea111b3a5105c7ed8d0 Mon Sep 17 00:00:00 2001 From: cyberta Date: Wed, 30 Nov 2022 14:03:40 +0100 Subject: fix default location button design --- app/src/main/res/layout/v_location_button.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app/src/main/res/layout') diff --git a/app/src/main/res/layout/v_location_button.xml b/app/src/main/res/layout/v_location_button.xml index aa4af10c..e8a0c885 100644 --- a/app/src/main/res/layout/v_location_button.xml +++ b/app/src/main/res/layout/v_location_button.xml @@ -6,7 +6,7 @@ android:layout_width="match_parent" android:layout_gravity="center_vertical" android:padding="@dimen/stdpadding" - android:background="@drawable/cust_button_light_rect" + android:background="@drawable/cust_button_primary_rect" android:layout_height="match_parent" > @@ -58,6 +58,7 @@ android:paddingRight="@dimen/stdpadding" android:textAppearance="@style/TextAppearance.AppCompat.Large" android:textStyle="bold" + android:textColor="@color/colorLocationButtonTint" app:autoSizeMaxTextSize="24sp" app:autoSizeMinTextSize="15sp" app:autoSizeTextType="uniform" -- cgit v1.2.3 From 5afe57ab868ee9e2e27f5b26b9b14de3519c0402 Mon Sep 17 00:00:00 2001 From: cyberta Date: Fri, 2 Dec 2022 02:08:55 +0100 Subject: rearranging assets, split them into normal and custom flavor --- app/src/main/res/layout/f_eip.xml | 68 +++++++----- app/src/main/res/layout/v_location_button.xml | 38 +++---- app/src/main/res/layout/v_main_button.xml | 142 ++++++++++++++++++++++++++ 3 files changed, 204 insertions(+), 44 deletions(-) create mode 100644 app/src/main/res/layout/v_main_button.xml (limited to 'app/src/main/res/layout') diff --git a/app/src/main/res/layout/f_eip.xml b/app/src/main/res/layout/f_eip.xml index 9a823b65..7a6c89c3 100644 --- a/app/src/main/res/layout/f_eip.xml +++ b/app/src/main/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_marginLeft="-300dp" + android:layout_marginRight="-300dp" + android:layout_marginTop="-300dp" + android:layout_marginBottom="-300dp" + app:srcCompat="@drawable/bg_disconnected" /> - - + + + + + - + android:textColor="@color/white" + tools:text="Seattle along message" + /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file -- cgit v1.2.3 From 9ec59148a926a5c8e5fecfbb64b6418d1dbb852d Mon Sep 17 00:00:00 2001 From: cyberta Date: Fri, 2 Dec 2022 15:37:59 +0100 Subject: implement transition animation between connected and disconnected state for RiseupVPn --- app/src/main/res/layout/v_main_btn.xml | 55 ---------------------------------- 1 file changed, 55 deletions(-) delete mode 100644 app/src/main/res/layout/v_main_btn.xml (limited to 'app/src/main/res/layout') diff --git a/app/src/main/res/layout/v_main_btn.xml b/app/src/main/res/layout/v_main_btn.xml deleted file mode 100644 index 3ab62e5a..00000000 --- a/app/src/main/res/layout/v_main_btn.xml +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - - - - - - - - - \ No newline at end of file -- cgit v1.2.3 From 22146b69ccb987bc1ac316b3b43ea46e3bdbd221 Mon Sep 17 00:00:00 2001 From: cyberta Date: Fri, 2 Dec 2022 17:04:00 +0100 Subject: tweak on/off button size --- app/src/main/res/layout/f_eip.xml | 1 - 1 file changed, 1 deletion(-) (limited to 'app/src/main/res/layout') diff --git a/app/src/main/res/layout/f_eip.xml b/app/src/main/res/layout/f_eip.xml index 7a6c89c3..7fb2d2d4 100644 --- a/app/src/main/res/layout/f_eip.xml +++ b/app/src/main/res/layout/f_eip.xml @@ -136,7 +136,6 @@ android:id="@+id/main_button" android:layout_width="0dp" android:layout_height="0dp" - android:layout_margin="@dimen/stdpadding" app:layout_constraintTop_toBottomOf="@id/guideline_horizontal_bottom" app:layout_constraintBottom_toTopOf="@+id/guideline_horizontal_button_top" app:layout_constraintEnd_toStartOf="@+id/guideline_vertical_right" -- cgit v1.2.3 From 72759fe4be7e0557bfb251ba99de77e7ece6e1f7 Mon Sep 17 00:00:00 2001 From: cyberta Date: Fri, 2 Dec 2022 20:09:48 +0100 Subject: clean up --- app/src/main/res/layout/v_main_button.xml | 32 ------------------------------- 1 file changed, 32 deletions(-) (limited to 'app/src/main/res/layout') diff --git a/app/src/main/res/layout/v_main_button.xml b/app/src/main/res/layout/v_main_button.xml index e3f96693..72981238 100644 --- a/app/src/main/res/layout/v_main_button.xml +++ b/app/src/main/res/layout/v_main_button.xml @@ -91,38 +91,6 @@ android:orientation="horizontal" app:layout_constraintGuide_percent="0.975" /> - - - - - Date: Sun, 4 Dec 2022 02:07:49 +0100 Subject: replace connected state background pngs for RiseupVPN with vector graphics --- app/src/main/res/layout/f_eip.xml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'app/src/main/res/layout') diff --git a/app/src/main/res/layout/f_eip.xml b/app/src/main/res/layout/f_eip.xml index 7fb2d2d4..1e1f8e41 100644 --- a/app/src/main/res/layout/f_eip.xml +++ b/app/src/main/res/layout/f_eip.xml @@ -40,7 +40,7 @@ android:layout_width="0dp" android:layout_height="0dp" android:orientation="horizontal" - app:layout_constraintGuide_percent="0.45" /> + app:layout_constraintGuide_percent="0.50" /> -- cgit v1.2.3 From ec380e8b8913835cc50448aa51b75b3925644957 Mon Sep 17 00:00:00 2001 From: cyberta Date: Tue, 6 Dec 2022 03:17:15 +0100 Subject: re-adding pngs as fallback for pre-API 24, appearantly Android 6's vector graphic rendering is really broken --- app/src/main/res/layout/allowed_application_layout.xml | 1 - 1 file changed, 1 deletion(-) (limited to 'app/src/main/res/layout') diff --git a/app/src/main/res/layout/allowed_application_layout.xml b/app/src/main/res/layout/allowed_application_layout.xml index 671a54fc..bb8e4e5d 100644 --- a/app/src/main/res/layout/allowed_application_layout.xml +++ b/app/src/main/res/layout/allowed_application_layout.xml @@ -25,7 +25,6 @@ android:layout_rowSpan="1" android:layout_marginEnd="8dip" android:scaleType="centerInside" - tools:background="@drawable/ic_btn_on_connecting" android:contentDescription="@null" />