diff options
Diffstat (limited to 'app/src/normal/res')
51 files changed, 190 insertions, 933 deletions
diff --git a/app/src/normal/res/drawable/background_main.xml b/app/src/normal/res/drawable-anydpi-v24/background_main.xml index 4b60e9dc..4b60e9dc 100644 --- a/app/src/normal/res/drawable/background_main.xml +++ b/app/src/normal/res/drawable-anydpi-v24/background_main.xml diff --git a/app/src/normal/res/drawable-anydpi-v24/bg_connected.xml b/app/src/normal/res/drawable-anydpi-v24/bg_connected.xml new file mode 100644 index 00000000..19dac103 --- /dev/null +++ b/app/src/normal/res/drawable-anydpi-v24/bg_connected.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="utf-8"?> +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:gravity="fill"> + <shape android:shape="rectangle"> + <solid android:color="@color/bg_running"/> + </shape> + </item> + <item + android:top="80dp" + android:gravity="fill" + android:drawable="@drawable/bg_connected_effect" + > + </item> +</layer-list>
\ No newline at end of file diff --git a/app/src/normal/res/drawable-anydpi-v24/bg_connected_effect.xml b/app/src/normal/res/drawable-anydpi-v24/bg_connected_effect.xml new file mode 100644 index 00000000..08ef8172 --- /dev/null +++ b/app/src/normal/res/drawable-anydpi-v24/bg_connected_effect.xml @@ -0,0 +1,44 @@ +<vector xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt" + android:viewportWidth="411" + android:viewportHeight="703" + android:width="411dp" + android:height="703dp"> + <path + android:pathData="M628.549 500.593C751.417 416.034 654.462 61.8767 411.994 -290.44C169.527 -642.756 -126.637 -859.816 -249.505 -775.257C-372.373 -690.697 -275.418 -336.54 -32.9505 15.7764C209.517 368.093 505.681 585.153 628.549 500.593Z"> + <aapt:attr + name="android:fillColor"> + <gradient + android:startX="415.099" + android:startY="-19.956" + android:endX="685.832" + android:endY="373.431" + android:tileMode="clamp"> + <item + android:color="#00A6C28A" + android:offset="0" /> + <item + android:color="#44669933" + android:offset="1" /> + </gradient> + </aapt:attr> + </path> + <path + android:pathData="M-186.124 473.683C-63.0333 557.917 232.557 340.077 474.094 -12.8776C715.632 -365.832 811.653 -720.244 688.562 -804.479C565.471 -888.714 269.881 -670.874 28.3433 -317.919C-213.195 35.0357 -309.215 389.448 -186.124 473.683Z"> + <aapt:attr + name="android:fillColor"> + <gradient + android:startX="222.826" + android:startY="87.2986" + android:endX="-46.8688" + android:endY="481.398" + android:tileMode="clamp"> + <item + android:color="#00A6C28A" + android:offset="0" /> + <item + android:color="#44669933" + android:offset="1" /> + </gradient> + </aapt:attr> + </path> +</vector> diff --git a/app/src/normal/res/drawable-anydpi-v24/bg_connecting.xml b/app/src/normal/res/drawable-anydpi-v24/bg_connecting.xml new file mode 100644 index 00000000..8482d30e --- /dev/null +++ b/app/src/normal/res/drawable-anydpi-v24/bg_connecting.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="utf-8"?> +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:gravity="fill"> + <shape android:shape="rectangle"> + <solid android:color="@color/bg_connecting"/> + </shape> + </item> + <item android:gravity="fill" + android:bottom="80dp" + android:drawable="@drawable/bg_connecting_effect" + > + </item> +</layer-list>
\ No newline at end of file diff --git a/app/src/normal/res/drawable-anydpi-v24/bg_connecting_effect.xml b/app/src/normal/res/drawable-anydpi-v24/bg_connecting_effect.xml new file mode 100644 index 00000000..fd462a54 --- /dev/null +++ b/app/src/normal/res/drawable-anydpi-v24/bg_connecting_effect.xml @@ -0,0 +1,44 @@ +<vector xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt" + android:viewportWidth="375" + android:viewportHeight="629" + android:width="375dp" + android:height="629dp"> + <path + android:pathData="M96.6338 471.305C226.719 515.286 420.512 289.654 529.484 -32.658C638.456 -354.97 621.341 -651.909 491.256 -695.89C361.172 -739.871 167.378 -514.239 58.4058 -191.927C-50.5662 130.385 -33.4509 427.324 96.6338 471.305Z"> + <aapt:attr + name="android:fillColor"> + <gradient + android:startX="132.695" + android:startY="21.7787" + android:endX="11.0197" + android:endY="381.664" + android:tileMode="clamp"> + <item + android:color="#00FFAA33" + android:offset="0" /> + <item + android:color="#33FFAA33" + android:offset="1" /> + </gradient> + </aapt:attr> + </path> + <path + android:pathData="M183.501 628.837C313.565 628.837 419.003 353.304 419.003 13.4182C419.003 -326.468 313.565 -602 183.501 -602C53.4376 -602 -52 -326.468 -52 13.4182C-52 353.304 53.4376 628.837 183.501 628.837Z"> + <aapt:attr + name="android:fillColor"> + <gradient + android:startX="183.501" + android:startY="255.483" + android:endX="183.501" + android:endY="634.991" + android:tileMode="clamp"> + <item + android:color="#00FFAA33" + android:offset="0" /> + <item + android:color="#33FFAA33" + android:offset="1" /> + </gradient> + </aapt:attr> + </path> +</vector>
\ No newline at end of file diff --git a/app/src/normal/res/drawable-anydpi-v24/bg_disconnected.xml b/app/src/normal/res/drawable-anydpi-v24/bg_disconnected.xml new file mode 100644 index 00000000..a5729185 --- /dev/null +++ b/app/src/normal/res/drawable-anydpi-v24/bg_disconnected.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="utf-8"?> +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:gravity="fill"> + <shape android:shape="rectangle"> + <solid android:color="@color/bg_disconnected"/> + </shape> + </item> + <item + android:gravity="fill" + android:drawable="@drawable/bg_disconnected_effect" + > + </item> +</layer-list>
\ No newline at end of file diff --git a/app/src/normal/res/drawable-anydpi-v24/bg_disconnected_effect.xml b/app/src/normal/res/drawable-anydpi-v24/bg_disconnected_effect.xml new file mode 100644 index 00000000..bcc6064a --- /dev/null +++ b/app/src/normal/res/drawable-anydpi-v24/bg_disconnected_effect.xml @@ -0,0 +1,33 @@ +<vector xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt" + android:viewportWidth="375" + android:viewportHeight="636" + android:width="375dp" + android:height="636dp" + > + <group + android:scaleY="0.8" + android:scaleX="1.25" + android:translateX="-46.875" + > + <path + android:pathData="M183.514 458.837C313.578 458.837 419.016 183.305 419.016 -156.582C419.016 -496.468 313.578 -772 183.514 -772C53.4506 -772 -51.9869 -496.468 -51.9869 -156.582C-51.9869 183.305 53.4506 458.837 183.514 458.837Z"> + <aapt:attr + name="android:fillColor"> + <gradient + android:startX="183.514" + android:startY="0" + android:endX="183.514" + android:endY="212" + android:tileMode="clamp"> + <item + android:color="#55D3635C" + android:offset="0" /> + <item + android:color="#33AF0909" + android:offset="1" /> + </gradient> + </aapt:attr> + </path> + </group> + +</vector>
\ No newline at end of file diff --git a/app/src/normal/res/drawable/rotate_progress_image.xml b/app/src/normal/res/drawable-anydpi-v24/rotate_progress_image.xml index 44a35ba9..44a35ba9 100644 --- a/app/src/normal/res/drawable/rotate_progress_image.xml +++ b/app/src/normal/res/drawable-anydpi-v24/rotate_progress_image.xml diff --git a/app/src/normal/res/drawable-anydpi-v24/splash_icon.xml b/app/src/normal/res/drawable-anydpi-v24/splash_icon.xml new file mode 100644 index 00000000..f882d322 --- /dev/null +++ b/app/src/normal/res/drawable-anydpi-v24/splash_icon.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="utf-8"?> +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:drawable="@drawable/rotate_progress_image" + android:height="198dp" + android:width="198dp" + android:gravity="fill"/> + <item + android:gravity="center" + android:height="52.75dp" + android:width="80dp" + > + <bitmap android:src="@drawable/logo"/> + </item> +</layer-list>
\ No newline at end of file diff --git a/app/src/normal/res/drawable-hdpi/bg_connected.png b/app/src/normal/res/drawable-hdpi/bg_connected.png Binary files differnew file mode 100644 index 00000000..7c64939a --- /dev/null +++ b/app/src/normal/res/drawable-hdpi/bg_connected.png diff --git a/app/src/normal/res/drawable-hdpi/bg_connecting.png b/app/src/normal/res/drawable-hdpi/bg_connecting.png Binary files differnew file mode 100644 index 00000000..49620c2c --- /dev/null +++ b/app/src/normal/res/drawable-hdpi/bg_connecting.png diff --git a/app/src/normal/res/drawable-hdpi/bg_disconnected.png b/app/src/normal/res/drawable-hdpi/bg_disconnected.png Binary files differnew file mode 100644 index 00000000..36a048d5 --- /dev/null +++ b/app/src/normal/res/drawable-hdpi/bg_disconnected.png diff --git a/app/src/normal/res/drawable-hdpi/rotate_progress_image.png b/app/src/normal/res/drawable-hdpi/rotate_progress_image.png Binary files differnew file mode 100644 index 00000000..d7c85e02 --- /dev/null +++ b/app/src/normal/res/drawable-hdpi/rotate_progress_image.png diff --git a/app/src/normal/res/drawable-hdpi/state_connected.png b/app/src/normal/res/drawable-hdpi/state_connected.png Binary files differnew file mode 100644 index 00000000..fccc060a --- /dev/null +++ b/app/src/normal/res/drawable-hdpi/state_connected.png diff --git a/app/src/normal/res/drawable-hdpi/state_connecting.png b/app/src/normal/res/drawable-hdpi/state_connecting.png Binary files differnew file mode 100644 index 00000000..72e3ae45 --- /dev/null +++ b/app/src/normal/res/drawable-hdpi/state_connecting.png diff --git a/app/src/normal/res/drawable-hdpi/state_disconnected.png b/app/src/normal/res/drawable-hdpi/state_disconnected.png Binary files differnew file mode 100644 index 00000000..d2ef7d99 --- /dev/null +++ b/app/src/normal/res/drawable-hdpi/state_disconnected.png diff --git a/app/src/normal/res/drawable-xhdpi/ic_splash_background.png b/app/src/normal/res/drawable-xhdpi/background_main.png Binary files differindex c2135c04..c2135c04 100644 --- a/app/src/normal/res/drawable-xhdpi/ic_splash_background.png +++ b/app/src/normal/res/drawable-xhdpi/background_main.png diff --git a/app/src/normal/res/drawable-xhdpi/bg_connected.png b/app/src/normal/res/drawable-xhdpi/bg_connected.png Binary files differnew file mode 100644 index 00000000..ca129080 --- /dev/null +++ b/app/src/normal/res/drawable-xhdpi/bg_connected.png diff --git a/app/src/normal/res/drawable-xhdpi/bg_connecting.png b/app/src/normal/res/drawable-xhdpi/bg_connecting.png Binary files differnew file mode 100644 index 00000000..294e4708 --- /dev/null +++ b/app/src/normal/res/drawable-xhdpi/bg_connecting.png diff --git a/app/src/normal/res/drawable-xhdpi/bg_disconnected.png b/app/src/normal/res/drawable-xhdpi/bg_disconnected.png Binary files differnew file mode 100644 index 00000000..15bdb108 --- /dev/null +++ b/app/src/normal/res/drawable-xhdpi/bg_disconnected.png diff --git a/app/src/normal/res/drawable-xhdpi/rotate_progress_image.png b/app/src/normal/res/drawable-xhdpi/rotate_progress_image.png Binary files differnew file mode 100644 index 00000000..d6eb6b65 --- /dev/null +++ b/app/src/normal/res/drawable-xhdpi/rotate_progress_image.png diff --git a/app/src/normal/res/drawable-xhdpi/state_connected.png b/app/src/normal/res/drawable-xhdpi/state_connected.png Binary files differnew file mode 100644 index 00000000..c852459d --- /dev/null +++ b/app/src/normal/res/drawable-xhdpi/state_connected.png diff --git a/app/src/normal/res/drawable-xhdpi/state_connecting.png b/app/src/normal/res/drawable-xhdpi/state_connecting.png Binary files differnew file mode 100644 index 00000000..d81190fe --- /dev/null +++ b/app/src/normal/res/drawable-xhdpi/state_connecting.png diff --git a/app/src/normal/res/drawable-xhdpi/state_disconnected.png b/app/src/normal/res/drawable-xhdpi/state_disconnected.png Binary files differnew file mode 100644 index 00000000..c0d57a03 --- /dev/null +++ b/app/src/normal/res/drawable-xhdpi/state_disconnected.png diff --git a/app/src/normal/res/drawable-xxhdpi/rotate_progress_image.png b/app/src/normal/res/drawable-xxhdpi/rotate_progress_image.png Binary files differnew file mode 100644 index 00000000..893b074b --- /dev/null +++ b/app/src/normal/res/drawable-xxhdpi/rotate_progress_image.png diff --git a/app/src/normal/res/drawable-xxhdpi/state_connected.png b/app/src/normal/res/drawable-xxhdpi/state_connected.png Binary files differnew file mode 100644 index 00000000..32286177 --- /dev/null +++ b/app/src/normal/res/drawable-xxhdpi/state_connected.png diff --git a/app/src/normal/res/drawable-xxhdpi/state_connecting.png b/app/src/normal/res/drawable-xxhdpi/state_connecting.png Binary files differnew file mode 100644 index 00000000..75cf3782 --- /dev/null +++ b/app/src/normal/res/drawable-xxhdpi/state_connecting.png diff --git a/app/src/normal/res/drawable-xxhdpi/state_disconnected.png b/app/src/normal/res/drawable-xxhdpi/state_disconnected.png Binary files differnew file mode 100644 index 00000000..ac560317 --- /dev/null +++ b/app/src/normal/res/drawable-xxhdpi/state_disconnected.png diff --git a/app/src/normal/res/drawable-xxxhdpi/ic_splash_background.png b/app/src/normal/res/drawable-xxxhdpi/background_main.png Binary files differindex 1b8046fa..1b8046fa 100644 --- a/app/src/normal/res/drawable-xxxhdpi/ic_splash_background.png +++ b/app/src/normal/res/drawable-xxxhdpi/background_main.png diff --git a/app/src/normal/res/drawable-xxxhdpi/state_connected.png b/app/src/normal/res/drawable-xxxhdpi/state_connected.png Binary files differnew file mode 100644 index 00000000..f5a5adaf --- /dev/null +++ b/app/src/normal/res/drawable-xxxhdpi/state_connected.png diff --git a/app/src/normal/res/drawable-xxxhdpi/state_connecting.png b/app/src/normal/res/drawable-xxxhdpi/state_connecting.png Binary files differnew file mode 100644 index 00000000..806dcbf4 --- /dev/null +++ b/app/src/normal/res/drawable-xxxhdpi/state_connecting.png diff --git a/app/src/normal/res/drawable-xxxhdpi/state_disconnected.png b/app/src/normal/res/drawable-xxxhdpi/state_disconnected.png Binary files differnew file mode 100644 index 00000000..9e216955 --- /dev/null +++ b/app/src/normal/res/drawable-xxxhdpi/state_disconnected.png diff --git a/app/src/normal/res/drawable/background_eip.xml b/app/src/normal/res/drawable/background_eip.xml deleted file mode 100644 index 9b20a8fd..00000000 --- a/app/src/normal/res/drawable/background_eip.xml +++ /dev/null @@ -1,52 +0,0 @@ -<vector android:height="24dp" android:viewportHeight="100.0" - android:viewportWidth="100.0" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android"> - <path android:pathData="M50,33m-82000,0a82000,82000 0,1 1,164000 0a82000,82000 0,1 1,-164000 0"/> - <path android:fillAlpha="1" android:fillColor="#b39ddb" - android:pathData="M50,33 L30664.67,-73860.37A80000,80000 0,0 0,50 -79950Z" - android:strokeColor="#b39ddb" android:strokeWidth="0"/> - <path android:fillAlpha="1" android:fillColor="#9fa8da" - android:pathData="m50,33 l56568.54,-56568.54a80000,80000 0,0 0,-25953.87 -17341.82z" - android:strokeColor="#9fa8da" android:strokeWidth="0"/> - <path android:fillAlpha="1" android:fillColor="#90caf9" - android:pathData="m50,33 l73910.37,-30614.67a80000,80000 0,0 0,-17341.82 -25953.87z" - android:strokeColor="#90caf9" android:strokeWidth="0"/> - <path android:fillAlpha="1" android:fillColor="#81d4fa" - android:pathData="M50,33L80050,50A80000,80000 0,0 0,73960.37 -30564.67Z" - android:strokeColor="#81d4fa" android:strokeWidth="0"/> - <path android:fillAlpha="1" android:fillColor="#80deea" - android:pathData="M50,33 L73960.37,30664.67A80000,80000 0,0 0,80050 50Z" - android:strokeColor="#80deea" android:strokeWidth="0"/> - <path android:fillAlpha="1" android:fillColor="#80cbc4" - android:pathData="m50,33 l56568.54,56568.54a80000,80000 0,0 0,17341.82 -25953.87z" - android:strokeColor="#80cbc4" android:strokeWidth="0"/> - <path android:fillAlpha="1" android:fillColor="#a5d6a7" - android:pathData="m50,33 l30614.67,73910.37a80000,80000 0,0 0,25953.87 -17341.82z" - android:strokeColor="#a5d6a7" android:strokeWidth="0"/> - <path android:fillAlpha="1" android:fillColor="#c5e1a5" - android:pathData="M50,33L50,80050A80000,80000 0,0 0,30664.67 73960.37Z" - android:strokeColor="#c5e1a5" android:strokeWidth="0"/> - <path android:fillAlpha="1" android:fillColor="#e6ee9c" - android:pathData="M50,33 L-30564.67,73960.37A80000,80000 0,0 0,50 80050Z" - android:strokeColor="#e6ee9c" android:strokeWidth="0"/> - <path android:fillAlpha="1" android:fillColor="#fff59d" - android:pathData="m50,33 l-56568.54,56568.54a80000,80000 0,0 0,25953.87 17341.82z" - android:strokeColor="#fff59d" android:strokeWidth="0"/> - <path android:fillAlpha="1" android:fillColor="#ffe082" - android:pathData="m50,33 l-73910.37,30614.67a80000,80000 0,0 0,17341.82 25953.87z" - android:strokeColor="#ffe082" android:strokeWidth="0"/> - <path android:fillAlpha="1" android:fillColor="#ffcc80" - android:pathData="m50,33l-80000,0a80000,80000 0,0 0,6089.64 30614.67z" - android:strokeColor="#ffcc80" android:strokeWidth="0"/> - <path android:fillAlpha="1" android:fillColor="#ffab91" - android:pathData="M50,33 L-73860.37,-30564.67A80000,80000 0,0 0,-79950 50Z" - android:strokeColor="#ffab91" android:strokeWidth="0"/> - <path android:fillAlpha="1" android:fillColor="#ef9a9a" - android:pathData="m50,33 l-56568.54,-56568.54a80000,80000 0,0 0,-17341.82 25953.87z" - android:strokeColor="#ef9a9a" android:strokeWidth="0"/> - <path android:fillAlpha="1" android:fillColor="#f48fb1" - android:pathData="m50,33 l-30614.67,-73910.37a80000,80000 0,0 0,-25953.87 17341.82z" - android:strokeColor="#f48fb1" android:strokeWidth="0"/> - <path android:fillAlpha="1" android:fillColor="#ce93d8" - android:pathData="m50,33l0,-80000a80000,80000 0,0 0,-30614.67 6089.64z" - android:strokeColor="#ce93d8" android:strokeWidth="0"/> -</vector> diff --git a/app/src/normal/res/drawable-hdpi/ic_splash_background.png b/app/src/normal/res/drawable/background_main.png Binary files differindex 3e5f7871..3e5f7871 100644 --- a/app/src/normal/res/drawable-hdpi/ic_splash_background.png +++ b/app/src/normal/res/drawable/background_main.png diff --git a/app/src/normal/res/drawable/bg_connected.png b/app/src/normal/res/drawable/bg_connected.png Binary files differnew file mode 100644 index 00000000..9741dcba --- /dev/null +++ b/app/src/normal/res/drawable/bg_connected.png diff --git a/app/src/normal/res/drawable/bg_connecting.png b/app/src/normal/res/drawable/bg_connecting.png Binary files differnew file mode 100644 index 00000000..d85ddd4b --- /dev/null +++ b/app/src/normal/res/drawable/bg_connecting.png diff --git a/app/src/normal/res/drawable/bg_disconnected.png b/app/src/normal/res/drawable/bg_disconnected.png Binary files differnew file mode 100644 index 00000000..a22b7097 --- /dev/null +++ b/app/src/normal/res/drawable/bg_disconnected.png diff --git a/app/src/normal/res/drawable/ic_splash_background.xml b/app/src/normal/res/drawable/ic_splash_background.xml new file mode 100644 index 00000000..aa2618c1 --- /dev/null +++ b/app/src/normal/res/drawable/ic_splash_background.xml @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8"?> +<selector xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:drawable="@drawable/background_main"/> +</selector>
\ No newline at end of file diff --git a/app/src/normal/res/drawable/rotate_progress_image.png b/app/src/normal/res/drawable/rotate_progress_image.png Binary files differnew file mode 100644 index 00000000..fe7f3526 --- /dev/null +++ b/app/src/normal/res/drawable/rotate_progress_image.png diff --git a/app/src/normal/res/drawable/splash_branding.xml b/app/src/normal/res/drawable/splash_branding.xml new file mode 100644 index 00000000..8c4ee21c --- /dev/null +++ b/app/src/normal/res/drawable/splash_branding.xml @@ -0,0 +1,3 @@ +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:drawable="@drawable/footer_text_drawable" /> +</layer-list>
\ No newline at end of file diff --git a/app/src/normal/res/drawable/state_connected.png b/app/src/normal/res/drawable/state_connected.png Binary files differnew file mode 100644 index 00000000..e515f3f5 --- /dev/null +++ b/app/src/normal/res/drawable/state_connected.png diff --git a/app/src/normal/res/drawable/state_connecting.png b/app/src/normal/res/drawable/state_connecting.png Binary files differnew file mode 100644 index 00000000..98dd7978 --- /dev/null +++ b/app/src/normal/res/drawable/state_connecting.png diff --git a/app/src/normal/res/drawable/state_disconnected.png b/app/src/normal/res/drawable/state_disconnected.png Binary files differnew file mode 100644 index 00000000..a4bd4a78 --- /dev/null +++ b/app/src/normal/res/drawable/state_disconnected.png diff --git a/app/src/normal/res/drawable/state_transition_connected_disconnected.png b/app/src/normal/res/drawable/state_transition_connected_disconnected.png Binary files differnew file mode 100644 index 00000000..a4bd4a78 --- /dev/null +++ b/app/src/normal/res/drawable/state_transition_connected_disconnected.png diff --git a/app/src/normal/res/layout-port/f_eip.xml b/app/src/normal/res/layout-port/f_eip.xml deleted file mode 100644 index eed5fde6..00000000 --- a/app/src/normal/res/layout-port/f_eip.xml +++ /dev/null @@ -1,154 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:app="http://schemas.android.com/apk/res-auto" - android:layout_width="match_parent" - android:layout_height="match_parent" - xmlns:tools="http://schemas.android.com/tools" - android:id="@+id/eipServiceFragment" - > - - <androidx.constraintlayout.widget.Guideline - android:id="@+id/guideline_vertical_left" - android:layout_width="0dp" - android:layout_height="0dp" - android:orientation="vertical" - app:layout_constraintGuide_percent="0.3" - /> - - <androidx.constraintlayout.widget.Guideline - android:id="@+id/guideline_horizontal_center" - android:layout_width="0dp" - android:layout_height="0dp" - android:orientation="horizontal" - app:layout_constraintGuide_percent="0.175" - /> - - <androidx.constraintlayout.widget.Guideline - android:id="@+id/guideline_vertical_outer_left" - android:layout_width="0dp" - android:layout_height="0dp" - android:orientation="vertical" - app:layout_constraintBottom_toBottomOf="parent" - app:layout_constraintGuide_percent="0.125" - /> - - <androidx.constraintlayout.widget.Guideline - android:id="@+id/guideline_vertical_outer_right" - android:layout_width="0dp" - android:layout_height="0dp" - android:orientation="vertical" - app:layout_constraintGuide_percent="0.875" - /> - - <androidx.constraintlayout.widget.Guideline - android:id="@+id/guideline_horizontal_bottom" - android:layout_width="0dp" - android:layout_height="0dp" - android:orientation="horizontal" - app:layout_constraintGuide_percent="0.66" - /> - - - <androidx.constraintlayout.widget.Guideline - android:id="@+id/guideline_vertical_right" - android:layout_width="0dp" - android:layout_height="0dp" - android:orientation="vertical" - app:layout_constraintGuide_percent="0.7" - /> - - <androidx.appcompat.widget.AppCompatImageView - android:id="@+id/background" - android:layout_width="match_parent" - android:layout_height="match_parent" - app:srcCompat="@drawable/bg_disconnected" - android:scaleType="fitXY" - android:layout_marginTop="-300dp" - android:layout_marginBottom="-300dp" - android:layout_marginLeft="-300dp" - android:layout_marginRight="-300dp" - - /> - - - - <androidx.appcompat.widget.AppCompatTextView - android:id="@+id/main_description" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - app:layout_constraintTop_toTopOf="parent" - app:layout_constraintStart_toStartOf="parent" - app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintBottom_toTopOf="@+id/sub_description" - android:padding="@dimen/activity_margin" - android:layout_marginTop="@dimen/activity_margin" - android:textAppearance="@android:style/TextAppearance.Large" - android:textStyle="bold" - android:textSize="34sp" - android:autoSizeMinTextSize="28sp" - android:autoSizeTextType="uniform" - android:textColor="@color/colorEipFragmentFont" - app:layout_constraintDimensionRatio="1:1" - tools:text="Connection secure" - android:gravity="center" - android:maxLines="1" - /> - - <androidx.appcompat.widget.AppCompatTextView - android:id="@+id/sub_description" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - app:layout_constraintTop_toBottomOf="@id/main_description" - app:layout_constraintStart_toStartOf="parent" - app:layout_constraintEnd_toEndOf="parent" - android:padding="@dimen/activity_margin" - android:textAppearance="@android:style/TextAppearance.DeviceDefault.Medium" - android:textStyle="bold" - android:textColor="@color/colorEipFragmentFont" - app:layout_constraintDimensionRatio="1:1" - tools:text="A LONG TEXT WITH SEVERAL THINGS BLABLkk \n kdjfkj \n kjdfkjdf" - android:gravity="center" - android:maxLines="3" - android:ellipsize="end" - /> - - <androidx.appcompat.widget.AppCompatImageView - android:id="@+id/state_view" - android:layout_width="0dp" - android:layout_height="0dp" - app:layout_constraintBottom_toTopOf="@id/guideline_horizontal_bottom" - app:layout_constraintTop_toTopOf="@id/guideline_horizontal_center" - app:layout_constraintLeft_toLeftOf="@id/guideline_vertical_outer_left" - app:layout_constraintRight_toRightOf="@id/guideline_vertical_outer_right" - app:layout_constraintVertical_bias="1" - app:srcCompat="@drawable/red_mask" - /> - <se.leap.bitmaskclient.base.views.MainButton - 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/gateway_location_button" - app:layout_constraintDimensionRatio="1:1" - app:layout_constraintEnd_toStartOf="@+id/guideline_vertical_right" - app:layout_constraintStart_toStartOf="@+id/guideline_vertical_left" - /> - - <se.leap.bitmaskclient.base.views.LocationButton - android:id="@+id/gateway_location_button" - android:layout_width="match_parent" - android:layout_height="64dp" - android:layout_marginBottom="@dimen/stdpadding" - android:layout_marginEnd="@dimen/stdpadding" - android:layout_marginStart="@dimen/stdpadding" - android:layout_marginTop="@dimen/stdpadding" - android:layout_marginLeft="@dimen/stdpadding" - android:layout_marginRight="@dimen/stdpadding" - app:layout_constraintBottom_toBottomOf="parent" - app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintStart_toStartOf="parent" - tools:text="SEATTLE" - android:gravity="center_vertical" /> - -</androidx.constraintlayout.widget.ConstraintLayout> diff --git a/app/src/normal/res/layout-xlarge-port/f_eip.xml b/app/src/normal/res/layout-xlarge-port/f_eip.xml deleted file mode 100644 index ae548c82..00000000 --- a/app/src/normal/res/layout-xlarge-port/f_eip.xml +++ /dev/null @@ -1,162 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:app="http://schemas.android.com/apk/res-auto" - xmlns:tools="http://schemas.android.com/tools" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:id="@+id/eipServiceFragment" - > - - <androidx.constraintlayout.widget.Guideline - android:id="@+id/guideline_vertical_left" - android:layout_width="0dp" - android:layout_height="0dp" - android:orientation="vertical" - app:layout_constraintGuide_percent="0.3" - /> - - <androidx.constraintlayout.widget.Guideline - android:id="@+id/guideline_horizontal_top" - android:layout_width="0dp" - android:layout_height="0dp" - android:orientation="horizontal" - app:layout_constraintGuide_percent="0.025" - /> - - <androidx.constraintlayout.widget.Guideline - android:id="@+id/guideline_horizontal_center" - android:layout_width="0dp" - android:layout_height="0dp" - android:orientation="horizontal" - app:layout_constraintGuide_percent="0.175" - /> - - <androidx.constraintlayout.widget.Guideline - android:id="@+id/guideline_vertical_outer_left" - android:layout_width="0dp" - android:layout_height="0dp" - android:orientation="vertical" - app:layout_constraintBottom_toBottomOf="parent" - app:layout_constraintGuide_percent="0.15" - /> - - <androidx.constraintlayout.widget.Guideline - android:id="@+id/guideline_vertical_outer_right" - android:layout_width="0dp" - android:layout_height="0dp" - android:orientation="vertical" - app:layout_constraintGuide_percent="0.85" - /> - - <androidx.constraintlayout.widget.Guideline - android:id="@+id/guideline_horizontal_bottom" - android:layout_width="0dp" - android:layout_height="0dp" - android:orientation="horizontal" - app:layout_constraintGuide_percent="0.66" - /> - - - <androidx.constraintlayout.widget.Guideline - android:id="@+id/guideline_vertical_right" - android:layout_width="0dp" - android:layout_height="0dp" - android:orientation="vertical" - app:layout_constraintGuide_percent="0.7" - /> - - <androidx.appcompat.widget.AppCompatImageView - android:id="@+id/background" - android:layout_width="match_parent" - android:layout_height="match_parent" - app:srcCompat="@drawable/bg_disconnected" - android:scaleType="fitXY" - android:layout_marginTop="-300dp" - android:layout_marginBottom="-300dp" - android:layout_marginLeft="-300dp" - android:layout_marginRight="-300dp" - - /> - - - - <androidx.appcompat.widget.AppCompatTextView - android:id="@+id/main_description" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - app:layout_constraintTop_toTopOf="@id/guideline_horizontal_top" - app:layout_constraintStart_toStartOf="parent" - app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintBottom_toTopOf="@+id/sub_description" - android:padding="@dimen/activity_margin" - android:layout_marginTop="@dimen/activity_margin" - android:textAppearance="@android:style/TextAppearance.Large" - android:textSize="45sp" - android:textStyle="bold" - android:autoSizeMinTextSize="38sp" - android:autoSizeTextType="uniform" - android:textColor="@color/colorEipFragmentFont" - app:layout_constraintDimensionRatio="1:1" - tools:text="Connection secure" - android:gravity="center" - android:maxLines="1" - /> - - <androidx.appcompat.widget.AppCompatTextView - android:id="@+id/sub_description" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - app:layout_constraintTop_toBottomOf="@id/main_description" - app:layout_constraintStart_toStartOf="parent" - app:layout_constraintEnd_toEndOf="parent" - 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 \n kdjfkj \n kjdfkjdf" - android:gravity="center" - android:maxLines="2" - android:ellipsize="end" - /> - - <androidx.appcompat.widget.AppCompatImageView - android:id="@+id/state_view" - android:layout_width="0dp" - android:layout_height="0dp" - app:layout_constraintBottom_toTopOf="@id/guideline_horizontal_bottom" - app:layout_constraintTop_toTopOf="@id/guideline_horizontal_center" - app:layout_constraintLeft_toLeftOf="@id/guideline_vertical_outer_left" - app:layout_constraintRight_toRightOf="@id/guideline_vertical_outer_right" - app:layout_constraintVertical_bias="1" - app:srcCompat="@drawable/red_mask" - /> - <se.leap.bitmaskclient.base.views.MainButton - 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/gateway_location_button" - app:layout_constraintDimensionRatio="1:1" - app:layout_constraintEnd_toStartOf="@+id/guideline_vertical_right" - app:layout_constraintStart_toStartOf="@+id/guideline_vertical_left" - /> - - <se.leap.bitmaskclient.base.views.LocationButton - android:id="@+id/gateway_location_button" - android:layout_width="match_parent" - android:layout_height="64dp" - android:layout_marginBottom="@dimen/stdpadding" - android:layout_marginEnd="@dimen/stdpadding" - android:layout_marginStart="@dimen/stdpadding" - android:layout_marginTop="@dimen/stdpadding" - android:layout_marginLeft="@dimen/stdpadding" - android:layout_marginRight="@dimen/stdpadding" - app:layout_constraintBottom_toBottomOf="parent" - app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintStart_toStartOf="parent" - tools:text="SEATTLE" - android:gravity="center_vertical" /> - -</androidx.constraintlayout.widget.ConstraintLayout> diff --git a/app/src/normal/res/layout-xlarge/f_eip.xml b/app/src/normal/res/layout-xlarge/f_eip.xml deleted file mode 100644 index a4d94394..00000000 --- a/app/src/normal/res/layout-xlarge/f_eip.xml +++ /dev/null @@ -1,155 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - This is the layout for extra large landscape, extra large portrait - can be found in layout-xlarge-port ---> -<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:app="http://schemas.android.com/apk/res-auto" - android:layout_width="match_parent" - android:layout_height="match_parent" - xmlns:tools="http://schemas.android.com/tools" - android:id="@+id/eipServiceFragment" - > - - - - <androidx.constraintlayout.widget.Guideline - android:id="@+id/guideline_horizontal_center" - android:layout_width="0dp" - android:layout_height="0dp" - android:orientation="horizontal" - app:layout_constraintGuide_percent="0.25" - /> - - <androidx.constraintlayout.widget.Guideline - android:id="@+id/guideline_vertical_left" - android:layout_width="0dp" - android:layout_height="0dp" - android:orientation="vertical" - app:layout_constraintGuide_percent="0.3" /> - - - <androidx.constraintlayout.widget.Guideline - android:id="@+id/guideline_horizontal_bottom" - android:layout_width="0dp" - android:layout_height="0dp" - android:orientation="horizontal" - app:layout_constraintGuide_percent="0.55" /> - - <androidx.constraintlayout.widget.Guideline - android:id="@+id/guideline_horizontal_button_top" - android:layout_width="0dp" - android:layout_height="0dp" - android:orientation="horizontal" - app:layout_constraintGuide_percent="0.875" - /> - - <androidx.constraintlayout.widget.Guideline - android:id="@+id/guideline_horizontal_button_bottom" - android:layout_width="0dp" - android:layout_height="0dp" - android:orientation="horizontal" - app:layout_constraintGuide_percent="0.98" - /> - - <androidx.constraintlayout.widget.Guideline - android:id="@+id/guideline_vertical_right" - android:layout_width="0dp" - android:layout_height="0dp" - android:orientation="vertical" - app:layout_constraintBottom_toBottomOf="parent" - app:layout_constraintGuide_percent="0.7" /> - - <androidx.appcompat.widget.AppCompatImageView - android:id="@+id/background" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:scaleType="fitXY" - android:layout_marginLeft="-300dp" - android:layout_marginRight="-300dp" - android:layout_marginTop="-300dp" - android:layout_marginBottom="-300dp" - app:srcCompat="@drawable/bg_disconnected" /> - - - <androidx.appcompat.widget.AppCompatTextView - android:id="@+id/main_description" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - app:layout_constraintTop_toTopOf="parent" - app:layout_constraintStart_toStartOf="parent" - app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintBottom_toTopOf="@+id/sub_description" - android:padding="@dimen/stdpadding" - android:textAppearance="@android:style/TextAppearance.DeviceDefault.Large" - android:textSize="45sp" - android:textStyle="bold" - android:textColor="@color/colorEipFragmentFont" - app:layout_constraintDimensionRatio="1:1" - tools:text="Connection secure" - /> - - <androidx.appcompat.widget.AppCompatTextView - android:id="@+id/sub_description" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - app:layout_constraintTop_toBottomOf="@id/main_description" - app:layout_constraintStart_toStartOf="parent" - app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintBottom_toTopOf="@+id/guideline_horizontal_center" - android:textAppearance="@android:style/TextAppearance.DeviceDefault.Large" - android:textStyle="bold" - android:textColor="@color/colorEipFragmentFont" - android:paddingLeft="@dimen/stdpadding" - android:paddingStart="@dimen/stdpadding" - android:paddingRight="@dimen/stdpadding" - android:paddingEnd="@dimen/stdpadding" - android:paddingBottom="@dimen/stdpadding" - app:layout_constraintDimensionRatio="1:1" - tools:text="Your traffic is securly routed through \n another" - android:maxLines="2" - android:gravity="center" - /> - - <androidx.appcompat.widget.AppCompatImageView - android:id="@+id/state_view" - android:layout_width="0dp" - android:layout_height="0dp" - app:layout_constraintBottom_toTopOf="@id/guideline_horizontal_bottom" - app:layout_constraintTop_toBottomOf="@id/guideline_horizontal_center" - app:layout_constraintLeft_toLeftOf="@id/guideline_vertical_left" - app:layout_constraintRight_toRightOf="@id/guideline_vertical_right" - app:layout_constraintVertical_bias="1" - app:srcCompat="@drawable/red_mask" - /> - - <se.leap.bitmaskclient.base.views.MainButton - 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" - app:layout_constraintStart_toStartOf="@+id/guideline_vertical_left" - app:layout_constraintDimensionRatio="1:1" - /> - - - <se.leap.bitmaskclient.base.views.LocationButton - android:id="@+id/gateway_location_button" - android:layout_width="match_parent" - android:layout_height="0dp" - android:layout_marginEnd="@dimen/stdpadding" - android:layout_marginStart="@dimen/stdpadding" - - android:layout_marginLeft="@dimen/stdpadding" - android:layout_marginRight="@dimen/stdpadding" - app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toBottomOf="@id/guideline_horizontal_button_top" - app:layout_constraintBottom_toBottomOf="@+id/guideline_horizontal_button_bottom" - tools:text="SEATTLE" - android:gravity="center_vertical" /> - -</androidx.constraintlayout.widget.ConstraintLayout> diff --git a/app/src/normal/res/layout/f_eip.xml b/app/src/normal/res/layout/f_eip.xml deleted file mode 100644 index 9c921721..00000000 --- a/app/src/normal/res/layout/f_eip.xml +++ /dev/null @@ -1,164 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - This is the default layout for landscape, portrait can be found - in layout-port ---> -<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:app="http://schemas.android.com/apk/res-auto" - android:layout_width="match_parent" - android:layout_height="match_parent" - xmlns:tools="http://schemas.android.com/tools" - android:id="@+id/eipServiceFragment" - > - - <androidx.constraintlayout.widget.Guideline - android:id="@+id/guideline_horizontal_top" - android:layout_width="0dp" - android:layout_height="0dp" - android:orientation="horizontal" - app:layout_constraintGuide_percent="0.1" - /> - - <androidx.constraintlayout.widget.Guideline - android:id="@+id/guideline_horizontal_center" - android:layout_width="0dp" - android:layout_height="0dp" - android:orientation="horizontal" - app:layout_constraintGuide_percent="0.25" - /> - - <androidx.constraintlayout.widget.Guideline - android:id="@+id/guideline_vertical_left" - android:layout_width="0dp" - android:layout_height="0dp" - android:orientation="vertical" - app:layout_constraintGuide_percent="0.3" /> - - - <androidx.constraintlayout.widget.Guideline - android:id="@+id/guideline_horizontal_bottom" - android:layout_width="0dp" - android:layout_height="0dp" - android:orientation="horizontal" - app:layout_constraintGuide_percent="0.45" /> - - <androidx.constraintlayout.widget.Guideline - android:id="@+id/guideline_horizontal_button_top" - android:layout_width="0dp" - android:layout_height="0dp" - android:orientation="horizontal" - app:layout_constraintGuide_percent="0.8" - /> - - <androidx.constraintlayout.widget.Guideline - android:id="@+id/guideline_horizontal_button_bottom" - android:layout_width="0dp" - android:layout_height="0dp" - android:orientation="horizontal" - app:layout_constraintGuide_percent="0.98" - /> - - <androidx.constraintlayout.widget.Guideline - android:id="@+id/guideline_vertical_right" - android:layout_width="0dp" - android:layout_height="0dp" - android:orientation="vertical" - app:layout_constraintBottom_toBottomOf="parent" - app:layout_constraintGuide_percent="0.7" /> - - <androidx.appcompat.widget.AppCompatImageView - android:id="@+id/background" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:scaleType="fitXY" - android:layout_marginLeft="-300dp" - android:layout_marginRight="-300dp" - android:layout_marginTop="-300dp" - android:layout_marginBottom="-300dp" - app:srcCompat="@drawable/bg_disconnected" /> - - - <androidx.appcompat.widget.AppCompatTextView - android:id="@+id/main_description" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - app:layout_constraintTop_toTopOf="parent" - app:layout_constraintStart_toStartOf="parent" - app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintBottom_toTopOf="@+id/sub_description" - android:paddingLeft="@dimen/stdpadding" - android:paddingStart="@dimen/stdpadding" - android:paddingRight="@dimen/stdpadding" - android:paddingEnd="@dimen/stdpadding" - android:textAppearance="@android:style/TextAppearance.DeviceDefault.Large" - android:textSize="26sp" - android:textStyle="bold" - android:textColor="@color/colorEipFragmentFont" - app:layout_constraintDimensionRatio="1:1" - tools:text="Connection secure" - /> - - <androidx.appcompat.widget.AppCompatTextView - android:id="@+id/sub_description" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - app:layout_constraintTop_toBottomOf="@id/main_description" - app:layout_constraintStart_toStartOf="parent" - app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintBottom_toTopOf="@+id/guideline_horizontal_center" - android:textAppearance="@android:style/TextAppearance.DeviceDefault.Medium" - android:textStyle="bold" - android:textColor="@color/colorEipFragmentFont" - android:paddingLeft="@dimen/stdpadding" - android:paddingStart="@dimen/stdpadding" - android:paddingRight="@dimen/stdpadding" - android:paddingEnd="@dimen/stdpadding" - android:paddingBottom="@dimen/stdpadding" - app:layout_constraintDimensionRatio="1:1" - tools:text="Your traffic is securly routed through \n another" - android:maxLines="2" - android:gravity="center" - /> - - <androidx.appcompat.widget.AppCompatImageView - android:id="@+id/state_view" - android:layout_width="0dp" - android:layout_height="0dp" - app:layout_constraintBottom_toTopOf="@id/guideline_horizontal_bottom" - app:layout_constraintTop_toBottomOf="@id/guideline_horizontal_center" - app:layout_constraintLeft_toLeftOf="@id/guideline_vertical_left" - app:layout_constraintRight_toRightOf="@id/guideline_vertical_right" - app:layout_constraintVertical_bias="1" - app:srcCompat="@drawable/red_mask" - /> - - <se.leap.bitmaskclient.base.views.MainButton - 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" - app:layout_constraintStart_toStartOf="@+id/guideline_vertical_left" - app:layout_constraintDimensionRatio="1:1" - /> - - - <se.leap.bitmaskclient.base.views.LocationButton - android:id="@+id/gateway_location_button" - android:layout_width="match_parent" - android:layout_height="0dp" - android:layout_marginEnd="@dimen/stdpadding" - android:layout_marginStart="@dimen/stdpadding" - - android:layout_marginLeft="@dimen/stdpadding" - android:layout_marginRight="@dimen/stdpadding" - app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toBottomOf="@id/guideline_horizontal_button_top" - app:layout_constraintBottom_toBottomOf="@+id/guideline_horizontal_button_bottom" - tools:text="SEATTLE" - android:gravity="center_vertical" /> - -</androidx.constraintlayout.widget.ConstraintLayout> diff --git a/app/src/normal/res/layout/v_location_button.xml b/app/src/normal/res/layout/v_location_button.xml deleted file mode 100644 index 8aaf4978..00000000 --- a/app/src/normal/res/layout/v_location_button.xml +++ /dev/null @@ -1,104 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:tools="http://schemas.android.com/tools" - xmlns:app="http://schemas.android.com/apk/res-auto" - android:orientation="horizontal" - android:layout_width="match_parent" - android:layout_gravity="center_vertical" - android:layout_height="match_parent" - android:padding="@dimen/stdpadding" - android:background="@drawable/cust_button_light_rect" - > - - <androidx.appcompat.widget.AppCompatImageView - android:id="@+id/world_icn" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_alignTop="@+id/text_location" - android:layout_alignBottom="@+id/text_location" - android:scaleType="fitCenter" - android:src="@drawable/ic_web" - android:layout_gravity="center" - app:tint="@color/colorLocationButtonTint" - /> - <androidx.appcompat.widget.AppCompatImageView - android:id="@+id/recommended_icn" - android:scaleType="fitCenter" - android:layout_marginRight="-13dp" - android:layout_marginEnd="-13dp" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_alignTop="@id/text_location" - android:layout_alignBottom="@+id/text_location" - android:layout_toEndOf="@id/world_icn" - android:layout_toRightOf="@id/world_icn" - android:src="@drawable/ic_lightning_bolt" - app:tint="@color/colorLocationButtonTint" - - android:visibility="gone" - tools:visibility="visible" - /> - <androidx.appcompat.widget.AppCompatTextView - android:id="@+id/text_location" - android:paddingStart="@dimen/stdpadding" - android:paddingLeft="@dimen/stdpadding" - android:paddingEnd="@dimen/stdpadding" - android:paddingRight="@dimen/stdpadding" - android:maxLines="1" - android:ellipsize="end" - android:layout_height="match_parent" - android:layout_width="match_parent" - app:autoSizeTextType="uniform" - android:gravity="center_vertical" - app:autoSizeMinTextSize="15sp" - app:autoSizeMaxTextSize="24sp" - android:layout_toEndOf="@id/recommended_icn" - android:layout_toRightOf="@+id/recommended_icn" - android:layout_toLeftOf="@+id/bridge_icn" - android:layout_toStartOf="@+id/bridge_icn" - android:layout_gravity="center_vertical" - android:layout_centerInParent="true" - android:textAppearance="@style/TextAppearance.AppCompat.Large" - android:textStyle="bold" - android:textColor="@color/white" - tools:text="Seattle along message" - /> - - <androidx.appcompat.widget.AppCompatImageView - android:id="@+id/bridge_icn" - - android:paddingStart="@dimen/compact_padding" - android:paddingLeft="@dimen/compact_padding" - android:paddingRight="@dimen/compact_padding" - android:paddingEnd="@dimen/compact_padding" - android:scaleType="fitCenter" - android:layout_width="48dp" - android:layout_height="wrap_content" - android:layout_alignTop="@id/text_location" - android:layout_alignBottom="@+id/text_location" - android:layout_toStartOf="@id/load_indicator" - android:layout_toLeftOf="@id/load_indicator" - android:src="@drawable/ic_bridge_36" - android:visibility="gone" - tools:visibility="visible" - app:tint="@color/colorLocationButtonTint" - /> - - <se.leap.bitmaskclient.base.views.LocationIndicator - android:id="@+id/load_indicator" - android:layout_marginBottom="4dp" - android:layout_width="48dp" - android:layout_height="40dp" - android:layout_alignParentEnd="true" - android:layout_alignParentRight="true" - android:layout_centerVertical="true" - android:paddingTop="@dimen/stdpadding" - android:paddingBottom="@dimen/stdpadding" - android:visibility="visible" - android:layout_gravity="center_vertical" - app:tint="@color/colorLocationButtonTintTransparent" - /> - - - -</RelativeLayout>
\ No newline at end of file diff --git a/app/src/normal/res/layout/v_main_button.xml b/app/src/normal/res/layout/v_main_button.xml deleted file mode 100644 index e3f96693..00000000 --- a/app/src/normal/res/layout/v_main_button.xml +++ /dev/null @@ -1,142 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="match_parent" - xmlns:app="http://schemas.android.com/apk/res-auto" - xmlns:tools="http://schemas.android.com/tools"> - - - <androidx.constraintlayout.widget.Guideline - android:id="@+id/vpn_btn_guideline_left" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:orientation="vertical" - app:layout_constraintGuide_percent="0.125" /> - - <androidx.constraintlayout.widget.Guideline - android:id="@+id/vpn_btn_guideline_right" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:orientation="vertical" - app:layout_constraintGuide_percent="0.875" /> - - <androidx.constraintlayout.widget.Guideline - android:id="@+id/vpn_btn_guideline_top" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:orientation="horizontal" - app:layout_constraintGuide_percent="0.125" /> - - <androidx.constraintlayout.widget.Guideline - android:id="@+id/vpn_btn_guideline_bottom" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:orientation="horizontal" - app:layout_constraintGuide_percent="0.875" /> - - - <androidx.constraintlayout.widget.Guideline - android:id="@+id/icn_guideline_left" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:orientation="vertical" - app:layout_constraintGuide_percent="0.2" /> - - <androidx.constraintlayout.widget.Guideline - android:id="@+id/icn_guideline_right" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:orientation="vertical" - app:layout_constraintGuide_percent="0.8" /> - - <androidx.constraintlayout.widget.Guideline - android:id="@+id/icn_guideline_top" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:orientation="horizontal" - app:layout_constraintGuide_percent="0.2" /> - - <androidx.constraintlayout.widget.Guideline - android:id="@+id/icn_guideline_bottom" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:orientation="horizontal" - app:layout_constraintGuide_percent="0.8" /> - - <androidx.constraintlayout.widget.Guideline - android:id="@+id/border_guideline_left" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:orientation="vertical" - app:layout_constraintGuide_percent="0.025" /> - - <androidx.constraintlayout.widget.Guideline - android:id="@+id/border_guideline_right" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:orientation="vertical" - app:layout_constraintGuide_percent="0.975" /> - - <androidx.constraintlayout.widget.Guideline - android:id="@+id/border_guideline_top" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:orientation="horizontal" - app:layout_constraintGuide_percent="0.025" /> - - <androidx.constraintlayout.widget.Guideline - android:id="@+id/border_guideline_bottom" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:orientation="horizontal" - app:layout_constraintGuide_percent="0.975" /> - - - <!-- <ProgressBar - android:id="@+id/progressBar" - style="@style/Widget.AppCompat.ProgressBar.Horizontal" - - android:layout_width="0dp" - android:layout_height="0dp" - app:layout_constraintBottom_toBottomOf="@id/border_guideline_bottom" - app:layout_constraintEnd_toEndOf="@id/border_guideline_right" - app:layout_constraintStart_toStartOf="@id/border_guideline_left" - app:layout_constraintTop_toTopOf="@id/border_guideline_top" - app:layout_constraintDimensionRatio="1:1" - android:indeterminate="true" - android:indeterminateDuration="800" - android:indeterminateDrawable="@drawable/progressbar_circle" - android:interpolator="@android:anim/decelerate_interpolator" - android:indeterminateBehavior="cycle" - />--> - - <!--<androidx.appcompat.widget.AppCompatImageView - android:id="@+id/progress_circular" - android:layout_width="0dp" - android:layout_height="0dp" - android:scaleType="fitXY" - - app:layout_constraintTop_toTopOf="@+id/button" - app:layout_constraintBottom_toBottomOf="@+id/button" - app:layout_constraintLeft_toLeftOf="@+id/button" - app:layout_constraintRight_toRightOf="@+id/button" - app:layout_constraintDimensionRatio="1:1" - android:src="@drawable/rainbow_circle" />--> - - <androidx.appcompat.widget.AppCompatImageView - android:id="@+id/button" - android:layout_width="0dp" - android:layout_height="0dp" - app:layout_constraintBottom_toTopOf="@+id/vpn_btn_guideline_bottom" - app:layout_constraintEnd_toStartOf="@+id/vpn_btn_guideline_right" - app:layout_constraintStart_toStartOf="@+id/vpn_btn_guideline_left" - app:layout_constraintTop_toTopOf="@+id/vpn_btn_guideline_top" - app:layout_constraintDimensionRatio="1:1" - app:srcCompat="@drawable/button_circle_start" - /> - - - - - -</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file diff --git a/app/src/normal/res/values-v31/themes.xml b/app/src/normal/res/values-v31/themes.xml new file mode 100644 index 00000000..7ea17424 --- /dev/null +++ b/app/src/normal/res/values-v31/themes.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <style name="SplashTheme" parent="Theme.AppCompat.NoActionBar"> + <item name="android:windowSplashScreenBackground">@color/white</item> + <item name="android:windowSplashScreenAnimatedIcon">@drawable/splash_icon</item> + <item name="android:windowSplashScreenBrandingImage">@drawable/splash_branding</item> + </style> +</resources>
\ No newline at end of file |