From 1da539ddf8c0f651dd9dd363641fd7641b5b13be Mon Sep 17 00:00:00 2001 From: cyBerta Date: Tue, 13 Feb 2018 04:41:00 +0100 Subject: #8831 add a progress animation to EipFragment and don't start blocking vpn when user triggered vpn start from UI --- app/src/main/res/drawable/progressbar_circle.xml | 83 +++++++++++++ .../res/layout-xlarge/eip_service_fragment.xml | 33 +----- app/src/main/res/layout/eip_service_fragment.xml | 45 ++----- app/src/main/res/layout/v_main_button.xml | 132 +++++++++++++++++++++ app/src/main/res/values/dimens.xml | 1 + 5 files changed, 230 insertions(+), 64 deletions(-) create mode 100644 app/src/main/res/drawable/progressbar_circle.xml create mode 100644 app/src/main/res/layout/v_main_button.xml (limited to 'app/src/main/res') diff --git a/app/src/main/res/drawable/progressbar_circle.xml b/app/src/main/res/drawable/progressbar_circle.xml new file mode 100644 index 00000000..5d28e05b --- /dev/null +++ b/app/src/main/res/drawable/progressbar_circle.xml @@ -0,0 +1,83 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout-xlarge/eip_service_fragment.xml b/app/src/main/res/layout-xlarge/eip_service_fragment.xml index 497d2c0b..b7af5797 100644 --- a/app/src/main/res/layout-xlarge/eip_service_fragment.xml +++ b/app/src/main/res/layout-xlarge/eip_service_fragment.xml @@ -69,41 +69,16 @@ app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> - - - - - + app:layout_constraintDimensionRatio="1:1" /> + android:id="@+id/eipServiceFragment"> @@ -34,7 +32,7 @@ android:orientation="horizontal" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintRight_toRightOf="parent" - app:layout_constraintGuide_percent="0.7" + app:layout_constraintGuide_percent="0.775" /> - - - - + app:layout_constraintDimensionRatio="1:1" + /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml index 87d8e266..f160487b 100644 --- a/app/src/main/res/values/dimens.xml +++ b/app/src/main/res/values/dimens.xml @@ -7,6 +7,7 @@ 20dp 8dp 8dp + 20dp false 48dp -- cgit v1.2.3