summaryrefslogtreecommitdiff
path: root/app/src/main/res/values
diff options
context:
space:
mode:
authorcyberta <cyberta@riseup.net>2022-11-30 15:45:54 +0000
committercyberta <cyberta@riseup.net>2022-11-30 15:45:54 +0000
commitc0d1a28e5d737fbf24e13ade9fd6988a07ee2719 (patch)
tree14a07baeb8abfdb9f46a54559bd0e4730c3b4989 /app/src/main/res/values
parentfe27b89218ac9bbbfaab302b5c9747c12af47afd (diff)
parentda824fa125a5583d07e8ac2f6585459956d87ac1 (diff)
Merge branch 'main_ui' into 'master'
Update UI for Bitmask See merge request leap/bitmask_android!218
Diffstat (limited to 'app/src/main/res/values')
-rw-r--r--app/src/main/res/values/colors.xml31
-rw-r--r--app/src/main/res/values/strings.xml3
2 files changed, 31 insertions, 3 deletions
diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml
index 40b51436..c3a519cf 100644
--- a/app/src/main/res/values/colors.xml
+++ b/app/src/main/res/values/colors.xml
@@ -14,6 +14,7 @@
<color name="black800_secondary">#3b3b3b</color>
<color name="black800_transparent">#AA424242</color>
<color name="black800_high_transparent">#22424242</color>
+ <color name="transparent">#00000000</color>
<color name="red200">#ef9a9a</color>
<color name="pink200">#f48fb1</color>
@@ -31,14 +32,12 @@
<color name="amber200">#ffe082</color>
<color name="orange200">#ffcc80</color>
<color name="deepOrange200">#ffab91</color>
-
<color name="white">#ffffff</color>
<color name="white_transparent">#20ffffff</color>
<color name="black_transparent">#20000000</color>
<color name="black_high_transparent">#05000000</color>
- <color name="colorActionBarTitleFont">@color/white</color>
- <color name="colorActionBarSubtitleFont">@color/black800</color>
+
<color name="colorEipFragmentFont">@color/black800</color>
<color name="colorFontBtn">@color/black800</color>
<color name="colorFontBtnEnabled">@color/white</color>
@@ -46,4 +45,30 @@
<color name="colorLocationButtonTintTransparent">@color/black800_high_transparent</color>
<color name="colorWarning">#B33A3A</color>
+ <!-- main UI on/off button colors -->
+ <color name="btn_start">#FF7D7D</color>
+ <color name="btn_start_dark">#c84c51</color>
+ <color name="btn_cancel">#FFBF00</color>
+ <color name="btn_cancel_dark">#C78F00</color>
+ <color name="btn_stop">#9FC17F</color>
+ <color name="btn_stop_dark">#709152</color>
+
+ <!-- location button background colors -->
+ <color name="btn_light_transparent">#CCFFFEFE</color>
+ <color name="btn_light_transparent_dark">#CCCCCBCB</color>
+
+ <!-- actionbar and status bar colors for different connection states -->
+ <color name="bg_disconnected_top">#EC6767</color>
+ <color name="bg_disconnected_top_light_transparent">#CCff9895</color>
+ <color name="bg_connecting_top">#FADD85</color>
+ <color name="bg_connecting_top_light_transparent">#CCffffb6</color>
+ <color name="bg_running_top">#CCDCB8</color>
+ <color name="bg_running_top_light_transparent">#ffffea</color>
+
+ <!-- action bar text colors for per state colored action bar -->
+ <color name="actionbar_dark_color">@color/black800</color>
+ <color name="actionbar_light_color">@color/white</color>
+ <!-- default action bar colors used in other fragments than EipFragment -->
+ <color name="colorActionBarTitleFont">@color/white</color>
+ <color name="colorActionBarSubtitleFont">@color/black800</color>
</resources>
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 92229e44..722f10ed 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -67,6 +67,9 @@
<string name="authentication_failed_message">Authentication failed</string>
<string name="registration_failed_message">Registration failed</string>
<string name="eip_status_start_pending">Initiating connection</string>
+ <string name="eip_status_connecting">Connecting VPN</string>
+ <string name="eip_status_unsecured">Unsecured Connection</string>
+ <string name="eip_status_secured">Secured Connection</string>
<string name="eip_cancel_connect_title">Cancel connection?</string>
<string name="eip_cancel_connect_text">There is a connection attempt in progress. Do you wish to cancel it?</string>
<string name="eip.warning.browser_inconsistency">Turn off VPN connection? When the VPN is off, you may leak personal information to your Internet provider or local network.</string>