diff options
| author | Jonatan Rhodin <jonatan.rhodin@mullvad.net> | 2023-10-11 14:41:33 +0200 |
|---|---|---|
| committer | Jonatan Rhodin <jonatan.rhodin@mullvad.net> | 2023-10-12 14:01:28 +0200 |
| commit | b3e63bb0cc97d7486d88ddf2d927cd5ae116c075 (patch) | |
| tree | b450ee577d35cf479fe3f953ff989f6b5d6e0211 /android/lib/resource/src/main | |
| parent | 30b81b081df1694229c9fd1995030ce1fab851b9 (diff) | |
| download | mullvadvpn-b3e63bb0cc97d7486d88ddf2d927cd5ae116c075.tar.xz mullvadvpn-b3e63bb0cc97d7486d88ddf2d927cd5ae116c075.zip | |
Remove unused classes and resources
Diffstat (limited to 'android/lib/resource/src/main')
31 files changed, 0 insertions, 574 deletions
diff --git a/android/lib/resource/src/main/res/color/switch_thumb_fill_selector.xml b/android/lib/resource/src/main/res/color/switch_thumb_fill_selector.xml deleted file mode 100644 index b294ee1038..0000000000 --- a/android/lib/resource/src/main/res/color/switch_thumb_fill_selector.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<selector - xmlns:android="http://schemas.android.com/apk/res/android"> - <item android:color="@color/switch_thumb_fill_checked" - android:state_checked="true" /> - <item android:color="@color/switch_thumb_fill_unchecked"/> -</selector> diff --git a/android/lib/resource/src/main/res/drawable/account_history_entry_background.xml b/android/lib/resource/src/main/res/drawable/account_history_entry_background.xml deleted file mode 100644 index ea25d2b72a..0000000000 --- a/android/lib/resource/src/main/res/drawable/account_history_entry_background.xml +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<selector xmlns:android="http://schemas.android.com/apk/res/android" - android:shape="rectangle"> - <item android:state_pressed="false" - android:state_focused="false"> - <shape android:shape="rectangle"> - <solid android:color="@color/white60" /> - </shape> - </item> - <item android:state_pressed="true"> - <shape android:shape="rectangle"> - <solid android:color="@color/white40" /> - </shape> - </item> - <item android:state_focused="true"> - <shape android:shape="rectangle"> - <solid android:color="@color/white40" /> - </shape> - </item> -</selector> diff --git a/android/lib/resource/src/main/res/drawable/account_history_remove.xml b/android/lib/resource/src/main/res/drawable/account_history_remove.xml deleted file mode 100644 index 6c7f52fcba..0000000000 --- a/android/lib/resource/src/main/res/drawable/account_history_remove.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<selector xmlns:android="http://schemas.android.com/apk/res/android" - android:shape="rectangle"> - <item android:state_pressed="false" - android:drawable="@drawable/account_history_remove_normal" /> - <item android:state_pressed="true" - android:drawable="@drawable/account_history_remove_pressed" /> -</selector> diff --git a/android/lib/resource/src/main/res/drawable/account_history_remove_normal.xml b/android/lib/resource/src/main/res/drawable/account_history_remove_normal.xml deleted file mode 100644 index 532d6cd9d7..0000000000 --- a/android/lib/resource/src/main/res/drawable/account_history_remove_normal.xml +++ /dev/null @@ -1,38 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<vector xmlns:android="http://schemas.android.com/apk/res/android" - android:width="16dp" - android:height="16dp" - android:viewportWidth="24.0" - android:viewportHeight="24.0"> - <path android:fillColor="#66294D73" - android:pathData=" - M 12,24 - C 5.37312,24 0,18.62688 0,12 - C 0,5.37312 5.37312,0 12,0 - C 18.62688,0 24,5.37312 24,12 - C 24,18.62688 18.62688,24 12,24 - Z - M 13.5,12 - L 17.2947612,8.20523878 - C 17.6857559,7.81424414 17.6838785,7.18387854 17.293923,6.79392296 - L 17.206077,6.70607704 - C 16.8181114,6.31811142 16.1842538,6.31574616 15.7947612,6.70523878 - L 12,10.5 - L 8.20523878,6.70523878 - C 7.81574616,6.31574616 7.18188858,6.31811142 6.79392296,6.70607704 - L 6.70607704,6.79392296 - C 6.31612146,7.18387854 6.31424414,7.81424414 6.70523878,8.20523878 - L 10.5,12 - L 6.70523878,15.7947612 - C 6.31424414,16.1857559 6.31612146,16.8161215 6.70607704,17.206077 - L 6.79392296,17.293923 - C 7.18188858,17.6818886 7.81574616,17.6842538 8.20523878,17.2947612 - L 12,13.5 - L 15.7947612,17.2947612 - C 16.1842538,17.6842538 16.8181114,17.6818886 17.206077,17.293923 - L 17.293923,17.206077 - C 17.6838785,16.8161215 17.6857559,16.1857559 17.2947612,15.7947612 - L 13.5,12 - L13.5,12 - Z" /> -</vector> diff --git a/android/lib/resource/src/main/res/drawable/account_input_background.xml b/android/lib/resource/src/main/res/drawable/account_input_background.xml deleted file mode 100644 index d31775f404..0000000000 --- a/android/lib/resource/src/main/res/drawable/account_input_background.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<selector xmlns:android="http://schemas.android.com/apk/res/android" - android:shape="rectangle"> - <item android:state_enabled="false"> - <shape android:shape="rectangle"> - <solid android:color="@color/white20" /> - </shape> - </item> - <item android:state_enabled="true"> - <shape android:shape="rectangle"> - <solid android:color="@color/white" /> - </shape> - </item> -</selector> diff --git a/android/lib/resource/src/main/res/drawable/account_login_border.xml b/android/lib/resource/src/main/res/drawable/account_login_border.xml deleted file mode 100644 index 7aa3362f35..0000000000 --- a/android/lib/resource/src/main/res/drawable/account_login_border.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<shape xmlns:android="http://schemas.android.com/apk/res/android" - android:shape="rectangle"> - <solid android:color="@color/blue" /> -</shape> diff --git a/android/lib/resource/src/main/res/drawable/account_login_border_error.xml b/android/lib/resource/src/main/res/drawable/account_login_border_error.xml deleted file mode 100644 index 7b0b225c85..0000000000 --- a/android/lib/resource/src/main/res/drawable/account_login_border_error.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<shape xmlns:android="http://schemas.android.com/apk/res/android" - android:shape="rectangle"> - <solid android:color="@color/red" /> -</shape> diff --git a/android/lib/resource/src/main/res/drawable/account_login_border_focused.xml b/android/lib/resource/src/main/res/drawable/account_login_border_focused.xml deleted file mode 100644 index fa32039e1d..0000000000 --- a/android/lib/resource/src/main/res/drawable/account_login_border_focused.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<shape xmlns:android="http://schemas.android.com/apk/res/android" - android:shape="rectangle"> - <solid android:color="@color/darkBlue" /> -</shape> diff --git a/android/lib/resource/src/main/res/drawable/account_login_corner.xml b/android/lib/resource/src/main/res/drawable/account_login_corner.xml deleted file mode 100644 index e4640e498d..0000000000 --- a/android/lib/resource/src/main/res/drawable/account_login_corner.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<vector xmlns:android="http://schemas.android.com/apk/res/android" - android:width="@dimen/account_login_corner_radius" - android:height="@dimen/account_login_corner_radius" - android:viewportWidth="4.0" - android:viewportHeight="4.0"> - <path android:fillColor="@color/blue" - android:pathData="M 0 4 H 2 A 2 2 0 0 1 4 2 V 0 H 0 Z" /> -</vector> diff --git a/android/lib/resource/src/main/res/drawable/account_login_corner_error.xml b/android/lib/resource/src/main/res/drawable/account_login_corner_error.xml deleted file mode 100644 index c19e1be609..0000000000 --- a/android/lib/resource/src/main/res/drawable/account_login_corner_error.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<vector xmlns:android="http://schemas.android.com/apk/res/android" - android:width="@dimen/account_login_corner_radius" - android:height="@dimen/account_login_corner_radius" - android:viewportWidth="4.0" - android:viewportHeight="4.0"> - <path android:fillColor="@color/blue" - android:pathData="M 0 4 H 1 A 3 3 0 0 1 4 1 V 0 H 0 Z" /> - <path android:fillColor="@color/red" - android:pathData="M 0 4 A 4 4 0 0 1 4 0 V 2 A 2 2 0 0 0 2 4 Z" /> -</vector> diff --git a/android/lib/resource/src/main/res/drawable/account_login_corner_focused.xml b/android/lib/resource/src/main/res/drawable/account_login_corner_focused.xml deleted file mode 100644 index a02110b51d..0000000000 --- a/android/lib/resource/src/main/res/drawable/account_login_corner_focused.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<vector xmlns:android="http://schemas.android.com/apk/res/android" - android:width="@dimen/account_login_corner_radius" - android:height="@dimen/account_login_corner_radius" - android:viewportWidth="4.0" - android:viewportHeight="4.0"> - <path android:fillColor="@color/blue" - android:pathData="M 0 4 H 1 A 3 3 0 0 1 4 1 V 0 H 0 Z" /> - <path android:fillColor="@color/darkBlue" - android:pathData="M 0 4 A 4 4 0 0 1 4 0 V 2 A 2 2 0 0 0 2 4 Z" /> -</vector> diff --git a/android/lib/resource/src/main/res/drawable/app_list_item_background.xml b/android/lib/resource/src/main/res/drawable/app_list_item_background.xml deleted file mode 100644 index a55c1e6d01..0000000000 --- a/android/lib/resource/src/main/res/drawable/app_list_item_background.xml +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<selector xmlns:android="http://schemas.android.com/apk/res/android"> - <item android:state_pressed="false" - android:state_focused="false"> - <shape android:shape="rectangle"> - <solid android:color="@color/blue40" /> - </shape> - </item> - <item android:state_pressed="false" - android:state_focused="true"> - <shape android:shape="rectangle"> - <solid android:color="@color/blue80" /> - </shape> - </item> - <item android:state_pressed="true"> - <shape android:shape="rectangle"> - <solid android:color="@color/blue60" /> - </shape> - </item> -</selector> diff --git a/android/lib/resource/src/main/res/drawable/blue_button_background.xml b/android/lib/resource/src/main/res/drawable/blue_button_background.xml deleted file mode 100644 index e87b080bee..0000000000 --- a/android/lib/resource/src/main/res/drawable/blue_button_background.xml +++ /dev/null @@ -1,23 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<selector xmlns:android="http://schemas.android.com/apk/res/android"> - <item android:state_pressed="false" - android:state_focused="false"> - <shape android:shape="rectangle"> - <corners android:radius="4dp" /> - <solid android:color="@color/blue80" /> - </shape> - </item> - <item android:state_pressed="false" - android:state_focused="true"> - <shape android:shape="rectangle"> - <corners android:radius="4dp" /> - <solid android:color="@color/blue40" /> - </shape> - </item> - <item android:state_pressed="true"> - <shape android:shape="rectangle"> - <corners android:radius="4dp" /> - <solid android:color="@color/blue60" /> - </shape> - </item> -</selector> diff --git a/android/lib/resource/src/main/res/drawable/cell_button_background.xml b/android/lib/resource/src/main/res/drawable/cell_button_background.xml deleted file mode 100644 index 857a8386e1..0000000000 --- a/android/lib/resource/src/main/res/drawable/cell_button_background.xml +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<selector xmlns:android="http://schemas.android.com/apk/res/android"> - <item android:state_pressed="false" - android:state_focused="false"> - <shape android:shape="rectangle"> - <solid android:color="@color/blue" /> - </shape> - </item> - <item android:state_pressed="false" - android:state_focused="true"> - <shape android:shape="rectangle"> - <solid android:color="@color/blue60" /> - </shape> - </item> - <item android:state_pressed="true"> - <shape android:shape="rectangle"> - <solid android:color="@color/blue80" /> - </shape> - </item> -</selector> diff --git a/android/lib/resource/src/main/res/drawable/cell_switch_background.xml b/android/lib/resource/src/main/res/drawable/cell_switch_background.xml deleted file mode 100644 index c7b44ce746..0000000000 --- a/android/lib/resource/src/main/res/drawable/cell_switch_background.xml +++ /dev/null @@ -1,22 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<selector xmlns:android="http://schemas.android.com/apk/res/android" - android:shape="rectangle"> - <item android:state_enabled="false"> - <shape android:shape="rectangle"> - <corners android:radius="@dimen/cell_switch_border_radius" /> - <stroke android:color="@color/white20" - android:width="2dp" /> - <size android:width="@dimen/cell_switch_width" - android:height="@dimen/cell_switch_height" /> - </shape> - </item> - <item android:state_enabled="true"> - <shape android:shape="rectangle"> - <corners android:radius="@dimen/cell_switch_border_radius" /> - <stroke android:color="@color/white" - android:width="2dp" /> - <size android:width="@dimen/cell_switch_width" - android:height="@dimen/cell_switch_height" /> - </shape> - </item> -</selector> diff --git a/android/lib/resource/src/main/res/drawable/dialog_background.xml b/android/lib/resource/src/main/res/drawable/dialog_background.xml deleted file mode 100644 index a552adc351..0000000000 --- a/android/lib/resource/src/main/res/drawable/dialog_background.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<inset xmlns:android="http://schemas.android.com/apk/res/android" - android:insetTop="@dimen/dialog_margin" - android:insetLeft="@dimen/dialog_margin" - android:insetRight="@dimen/dialog_margin" - android:insetBottom="@dimen/dialog_margin"> - <shape android:shape="rectangle"> - <corners android:radius="11dp" /> - <solid android:color="@color/darkBlue" /> - </shape> -</inset> diff --git a/android/lib/resource/src/main/res/drawable/edit_text_background.xml b/android/lib/resource/src/main/res/drawable/edit_text_background.xml deleted file mode 100644 index 06252ac37c..0000000000 --- a/android/lib/resource/src/main/res/drawable/edit_text_background.xml +++ /dev/null @@ -1,25 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<selector xmlns:android="http://schemas.android.com/apk/res/android" - android:shape="rectangle"> - <item android:state_enabled="false"> - <inset android:insetTop="1dp" - android:insetBottom="1dp" - android:insetLeft="1dp" - android:insetRight="1dp"> - <shape android:shape="rectangle"> - <corners android:radius="@dimen/edit_text_corner_radius" /> - <solid android:color="@color/white20" /> - </shape> - </inset> - </item> - <item android:state_enabled="true"> - <inset android:insetTop="1dp" - android:insetBottom="1dp" - android:insetLeft="1dp"> - <shape android:shape="rectangle"> - <corners android:radius="@dimen/edit_text_corner_radius" /> - <solid android:color="@color/white" /> - </shape> - </inset> - </item> -</selector> diff --git a/android/lib/resource/src/main/res/drawable/green_button_background.xml b/android/lib/resource/src/main/res/drawable/green_button_background.xml deleted file mode 100644 index b2a50d5678..0000000000 --- a/android/lib/resource/src/main/res/drawable/green_button_background.xml +++ /dev/null @@ -1,23 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<selector xmlns:android="http://schemas.android.com/apk/res/android"> - <item android:state_pressed="false" - android:state_focused="false"> - <shape android:shape="rectangle"> - <corners android:radius="4dp" /> - <solid android:color="@color/green" /> - </shape> - </item> - <item android:state_pressed="false" - android:state_focused="true"> - <shape android:shape="rectangle"> - <corners android:radius="4dp" /> - <solid android:color="@color/green80" /> - </shape> - </item> - <item android:state_pressed="true"> - <shape android:shape="rectangle"> - <corners android:radius="4dp" /> - <solid android:color="@color/green90" /> - </shape> - </item> -</selector> diff --git a/android/lib/resource/src/main/res/drawable/icon_notification_error.xml b/android/lib/resource/src/main/res/drawable/icon_notification_error.xml deleted file mode 100644 index 7574392129..0000000000 --- a/android/lib/resource/src/main/res/drawable/icon_notification_error.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<shape xmlns:android="http://schemas.android.com/apk/res/android" - android:shape="oval"> - <solid android:color="@color/red" /> - <size android:width="10dp" - android:height="10dp" /> -</shape> diff --git a/android/lib/resource/src/main/res/drawable/icon_notification_warning.xml b/android/lib/resource/src/main/res/drawable/icon_notification_warning.xml deleted file mode 100644 index c6baa04c1c..0000000000 --- a/android/lib/resource/src/main/res/drawable/icon_notification_warning.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<shape xmlns:android="http://schemas.android.com/apk/res/android" - android:shape="oval"> - <solid android:color="@color/yellow" /> - <size android:width="10dp" - android:height="10dp" /> -</shape> diff --git a/android/lib/resource/src/main/res/drawable/input_text_background.xml b/android/lib/resource/src/main/res/drawable/input_text_background.xml deleted file mode 100644 index d4b4b3c595..0000000000 --- a/android/lib/resource/src/main/res/drawable/input_text_background.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<shape xmlns:android="http://schemas.android.com/apk/res/android" - android:shape="rectangle"> - <corners android:radius="4dp" /> - <solid android:color="@color/white" /> -</shape> diff --git a/android/lib/resource/src/main/res/drawable/login_button_arrow.xml b/android/lib/resource/src/main/res/drawable/login_button_arrow.xml deleted file mode 100644 index 1909b78fe7..0000000000 --- a/android/lib/resource/src/main/res/drawable/login_button_arrow.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<selector xmlns:android="http://schemas.android.com/apk/res/android" - android:shape="rectangle"> - <item android:state_enabled="false" - android:drawable="@drawable/icon_arrow_blue20" /> - <item android:state_enabled="true" - android:drawable="@drawable/icon_arrow_white" /> -</selector> diff --git a/android/lib/resource/src/main/res/drawable/login_button_background.xml b/android/lib/resource/src/main/res/drawable/login_button_background.xml deleted file mode 100644 index c1041ef523..0000000000 --- a/android/lib/resource/src/main/res/drawable/login_button_background.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<selector xmlns:android="http://schemas.android.com/apk/res/android" - android:shape="rectangle"> - <item android:state_enabled="false"> - <shape android:shape="rectangle"> - <solid android:color="@color/white" /> - </shape> - </item> - <item android:state_enabled="true"> - <shape android:shape="rectangle"> - <solid android:color="@color/green" /> - </shape> - </item> -</selector> diff --git a/android/lib/resource/src/main/res/drawable/red_button_background.xml b/android/lib/resource/src/main/res/drawable/red_button_background.xml deleted file mode 100644 index e41121638f..0000000000 --- a/android/lib/resource/src/main/res/drawable/red_button_background.xml +++ /dev/null @@ -1,23 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<selector xmlns:android="http://schemas.android.com/apk/res/android"> - <item android:state_pressed="false" - android:state_focused="false"> - <shape android:shape="rectangle"> - <corners android:radius="4dp" /> - <solid android:color="@color/red" /> - </shape> - </item> - <item android:state_pressed="false" - android:state_focused="true"> - <shape android:shape="rectangle"> - <corners android:radius="4dp" /> - <solid android:color="@color/red80" /> - </shape> - </item> - <item android:state_pressed="true"> - <shape android:shape="rectangle"> - <corners android:radius="4dp" /> - <solid android:color="@color/red95" /> - </shape> - </item> -</selector> diff --git a/android/lib/resource/src/main/res/drawable/switch_thumb.xml b/android/lib/resource/src/main/res/drawable/switch_thumb.xml deleted file mode 100644 index 1b32766d34..0000000000 --- a/android/lib/resource/src/main/res/drawable/switch_thumb.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<shape xmlns:android="http://schemas.android.com/apk/res/android" - android:dither="true" - android:shape="oval" - android:useLevel="false" - android:visible="true"> - <size android:width="@dimen/switch_thumb_size" - android:height="@dimen/switch_thumb_size" /> - <padding android:bottom="@dimen/switch_thumb_padding" - android:left="@dimen/switch_thumb_padding" - android:right="@dimen/switch_thumb_padding" - android:top="@dimen/switch_thumb_padding" /> - <solid android:color="@color/switch_thumb_fill" /> - <stroke android:width="@dimen/switch_thumb_padding" - android:color="@color/switch_thumb_border" /> -</shape> diff --git a/android/lib/resource/src/main/res/drawable/switch_track.xml b/android/lib/resource/src/main/res/drawable/switch_track.xml deleted file mode 100644 index eb287d3316..0000000000 --- a/android/lib/resource/src/main/res/drawable/switch_track.xml +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<shape xmlns:android="http://schemas.android.com/apk/res/android" - android:dither="true" - android:shape="rectangle" - android:useLevel="false" - android:visible="true"> - <size android:width="@dimen/switch_width" - android:height="@dimen/switch_height" /> - <padding android:bottom="@dimen/switch_thumb_padding" - android:left="@dimen/switch_thumb_padding" - android:right="@dimen/switch_thumb_padding" - android:top="@dimen/switch_thumb_padding" /> - <solid android:color="@color/switch_track_fill" /> - <stroke android:width="@dimen/switch_track_stroke" - android:color="@color/switch_track_border" /> - <corners android:radius="@dimen/switch_track_radius" /> -</shape> diff --git a/android/lib/resource/src/main/res/drawable/text_input_cursor.xml b/android/lib/resource/src/main/res/drawable/text_input_cursor.xml deleted file mode 100644 index 56b2895c88..0000000000 --- a/android/lib/resource/src/main/res/drawable/text_input_cursor.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<shape xmlns:android="http://schemas.android.com/apk/res/android"> - <solid android:color="@color/darkBlue" /> - <size android:width="2sp" - android:height="24sp" /> -</shape> diff --git a/android/lib/resource/src/main/res/values/attrs.xml b/android/lib/resource/src/main/res/values/attrs.xml deleted file mode 100644 index c7e29bd8b6..0000000000 --- a/android/lib/resource/src/main/res/values/attrs.xml +++ /dev/null @@ -1,40 +0,0 @@ -<resources> - <declare-styleable name="Button"> - <attr name="buttonColor" format="enum"> - <enum name="blue" value="0" /> - <enum name="green" value="1" /> - <enum name="red" value="2" /> - </attr> - <attr name="detailImage" format="reference" /> - <attr name="showSpinner" format="boolean" /> - </declare-styleable> - <declare-styleable name="Cell"> - <attr name="footer" format="reference|string" /> - </declare-styleable> - <declare-styleable name="CopyableInformationView"> - <attr name="clipboardLabel" format="reference|string" /> - <attr name="copiedToast" format="reference|string" /> - </declare-styleable> - <declare-styleable name="InformationView"> - <attr name="description" format="reference|string" /> - <attr name="errorColor" format="reference|color" /> - <attr name="informationColor" format="reference|color" /> - <attr name="maxLength" format="integer" /> - <attr name="whenMissing" format="enum"> - <enum name="nothing" value="0" /> - <enum name="hide" value="1" /> - <enum name="showSpinner" value="2" /> - </attr> - </declare-styleable> - <declare-styleable name="TextAttribute"> - <attr name="text" format="reference|string" /> - </declare-styleable> - <declare-styleable name="Url"> - <attr name="url" format="reference|string" /> - </declare-styleable> - <declare-styleable name="UrlButton"> - <attr name="withToken" format="boolean" /> - </declare-styleable> - <attr name="actionListItemViewStyle" type="reference" /> - <attr name="applicationListItemViewStyle" type="reference" /> -</resources> diff --git a/android/lib/resource/src/main/res/values/colors.xml b/android/lib/resource/src/main/res/values/colors.xml index 1bcfd3d010..7ce616c7c0 100644 --- a/android/lib/resource/src/main/res/values/colors.xml +++ b/android/lib/resource/src/main/res/values/colors.xml @@ -1,30 +1,6 @@ <resources> <color name="colorPrimary">#294D73</color> <color name="blue">#294D73</color> - <color name="blue80">#CC294D73</color> - <color name="blue60">#99294D73</color> - <color name="blue40">#66294D73</color> - <color name="blue20">#33294D73</color> <color name="darkBlue">#192E45</color> - <color name="white">#FFFFFF</color> - <color name="white80">#CCFFFFFF</color> - <color name="white60">#99FFFFFF</color> - <color name="white40">#66FFFFFF</color> - <color name="white20">#33FFFFFF</color> - <color name="green">#44AD4D</color> - <color name="green90">#E644AD4D</color> - <color name="green80">#CC44AD4D</color> - <color name="red">#FFE34039</color> - <color name="red95">#F2E34039</color> - <color name="red80">#CCE34039</color> - <color name="red60">#99E34039</color> - <color name="yellow">#FFD323</color> <color name="icon_background">@color/darkBlue</color> - <!-- Switch Colors --> - <color name="switch_thumb_fill_checked">@color/green</color> - <color name="switch_thumb_fill_unchecked">@color/red</color> - <color name="switch_thumb_fill">@color/switch_thumb_fill_selector</color> - <color name="switch_thumb_border">@android:color/transparent</color> - <color name="switch_track_fill">@android:color/transparent</color> - <color name="switch_track_border">@color/white80</color> </resources> diff --git a/android/lib/resource/src/main/res/values/dimensions.xml b/android/lib/resource/src/main/res/values/dimensions.xml index b4e09ab70a..a499351d77 100644 --- a/android/lib/resource/src/main/res/values/dimensions.xml +++ b/android/lib/resource/src/main/res/values/dimensions.xml @@ -1,51 +1,7 @@ <resources> - <dimen name="dialog_margin">14dp</dimen> - <dimen name="account_login_input_height">48dp</dimen> - <dimen name="account_login_corner_radius">4dp</dimen> - <dimen name="account_login_border_width">2dp</dimen> - <dimen name="account_history_divider">1dp</dimen> - <dimen name="account_history_entry_height">48dp</dimen> - <dimen name="edit_text_corner_radius">4dp</dimen> - <dimen name="button_height">44dp</dimen> - <dimen name="cell_height">52dp</dimen> - <dimen name="cell_switch_border_radius">16dp</dimen> - <dimen name="cell_switch_width">48dp</dimen> - <dimen name="cell_switch_height">30dp</dimen> - <dimen name="cell_switch_knob_margin">4dp</dimen> - <dimen name="cell_switch_knob_max_translation">18dp</dimen> - <dimen name="cell_switch_knob_size">22dp</dimen> - <dimen name="settings_back_button_padding">12dp</dimen> - <dimen name="cell_left_padding">@dimen/side_margin</dimen> - <dimen name="cell_right_padding">16dp</dimen> - <dimen name="cell_inner_spacing">8dp</dimen> - <dimen name="cell_label_vertical_padding">14dp</dimen> - <dimen name="cell_footer_top_padding">6dp</dimen> - <dimen name="cell_footer_horizontal_padding">@dimen/side_margin</dimen> <dimen name="text_small">13sp</dimen> <dimen name="text_medium">16sp</dimen> <dimen name="text_medium_plus">18sp</dimen> <dimen name="text_big">24sp</dimen> - <dimen name="text_huge">30sp</dimen> - <dimen name="side_margin">22dp</dimen> - <dimen name="vertical_space">20dp</dimen> - <dimen name="half_vertical_space">10dp</dimen> - <dimen name="button_separation">18dp</dimen> - <dimen name="screen_vertical_margin">22dp</dimen> - <dimen name="progress_size">60dp</dimen> - <dimen name="icon_size">24dp</dimen> - <dimen name="widget_padding">16dp</dimen> - <dimen name="expanded_toolbar_height">104dp</dimen> - <dimen name="information_icon_size">28dp</dimen> - <dimen name="information_action_margin">20dp</dimen> - <dimen name="medium_padding">16dp</dimen> - <dimen name="small_padding">8dp</dimen> <dimen name="zero_size">0px</dimen> - <!-- Switch Dimens--> - <dimen name="switch_width">46dp</dimen> - <dimen name="switch_height">30dp</dimen> - <dimen name="switch_thumb_size">30dp</dimen> - <dimen name="switch_thumb_padding">8dp</dimen> - <dimen name="switch_track_radius">16dp</dimen> - <dimen name="switch_track_stroke">2dp</dimen> - <dimen name="top_bar_height">64dp</dimen> </resources> diff --git a/android/lib/resource/src/main/res/values/styles.xml b/android/lib/resource/src/main/res/values/styles.xml index e03dd86700..69ee118cac 100644 --- a/android/lib/resource/src/main/res/values/styles.xml +++ b/android/lib/resource/src/main/res/values/styles.xml @@ -4,92 +4,7 @@ <item name="android:navigationBarColor">@color/blue</item> <item name="android:statusBarColor">@color/blue</item> <item name="android:windowBackground">@color/blue</item> - <item name="switchStyle">@style/AppTheme.Switch</item> - <item name="actionListItemViewStyle">@style/ListItem.Action</item> - <item name="applicationListItemViewStyle">@style/ListItem.Action.Application</item> <item name="android:spotShadowAlpha">0</item> <item name="actionBarSize">48dp</item> </style> - <style name="InputText" parent="Widget.AppCompat.EditText"> - <item name="android:padding">14dp</item> - <item name="android:background">@drawable/input_text_background</item> - <item name="android:textCursorDrawable">@drawable/text_input_cursor</item> - <item name="android:textColorHint">@color/blue40</item> - <item name="android:textColor">@color/blue</item> - <item name="android:textSize">@dimen/text_small</item> - </style> - <style name="Button" parent="Widget.AppCompat.Button.Borderless"> - <item name="android:layout_height">wrap_content</item> - <item name="android:layout_width">match_parent</item> - <item name="android:minHeight">@dimen/button_height</item> - <item name="android:paddingTop">0dp</item> - <item name="android:paddingBottom">0dp</item> - <item name="android:textAllCaps">false</item> - <item name="android:textColor">@color/white</item> - <item name="android:textSize">@dimen/text_medium_plus</item> - <item name="android:textStyle">bold</item> - </style> - <style name="GreenButton" parent="Button"> - <item name="android:background">@drawable/green_button_background</item> - </style> - <style name="RedButton" parent="Button"> - <item name="android:background">@drawable/red_button_background</item> - </style> - <style name="BlueButton" parent="Button"> - <item name="android:background">@drawable/blue_button_background</item> - </style> - <style name="SettingsHeader"> - <item name="android:textColor">@color/white</item> - <item name="android:textStyle">bold</item> - </style> - <style name="SettingsExpandedHeader" parent="SettingsHeader"> - <item name="android:textSize">@dimen/text_huge</item> - </style> - <style name="SettingsCollapsedHeader" parent="SettingsHeader"> - <item name="android:textSize">@dimen/text_medium</item> - </style> - <style name="TextAppearance.Mullvad" parent="TextAppearance.AppCompat" /> - <style name="TextAppearance.Mullvad.Title1"> - <item name="android:textColor">@color/white</item> - <item name="android:textSize">@dimen/text_medium_plus</item> - </style> - <style name="TextAppearance.Mullvad.Small"> - <item name="android:textColor">@color/white60</item> - <item name="android:textSize">@dimen/text_small</item> - </style> - <style name="ListItem"> - <item name="android:layout_width">match_parent</item> - <item name="android:layout_height">wrap_content</item> - </style> - <style name="ListItem.DividerGroup"> - <item name="android:layout_height">@dimen/vertical_space</item> - </style> - <style name="ListItem.PlainText"> - <item name="android:focusable">false</item> - <item name="android:clickable">false</item> - <item name="android:paddingTop">5dp</item> - </style> - <style name="ListItem.Action"> - <item name="android:height">@dimen/cell_height</item> - <item name="android:layout_height">@dimen/cell_height</item> - <item name="android:background">@drawable/cell_button_background</item> - <item name="android:clickable">true</item> - <item name="android:focusable">true</item> - </style> - <style name="ListItem.Action.Application"> - <item name="android:background">@drawable/app_list_item_background</item> - </style> - <style name="ListItem.Action.Double"> - <item name="android:clickable">false</item> - <item name="android:focusable">false</item> - </style> - <!-- Switch Style --> - <style name="AppTheme.Switch"> - <item name="android:layout_width">@dimen/switch_width</item> - <item name="android:layout_height">@dimen/switch_height</item> - <item name="track">@drawable/switch_track</item> - <item name="android:thumb">@drawable/switch_thumb</item> - <item name="switchMinWidth">@dimen/switch_width</item> - <item name="showText">false</item> - </style> </resources> |
