From c26a341645031e83738a7c6bd9a8028b8c5708c8 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Fri, 11 Jun 2021 12:40:15 +0200 Subject: [PATCH 01/49] Fix small regression on margin --- .../layout/view_attachment_type_selector.xml | 265 +++++++++--------- 1 file changed, 135 insertions(+), 130 deletions(-) diff --git a/vector/src/main/res/layout/view_attachment_type_selector.xml b/vector/src/main/res/layout/view_attachment_type_selector.xml index 4d54d2980a..648ca91820 100644 --- a/vector/src/main/res/layout/view_attachment_type_selector.xml +++ b/vector/src/main/res/layout/view_attachment_type_selector.xml @@ -1,162 +1,167 @@ - + android:paddingStart="8dp" + android:paddingEnd="8dp"> + android:layout_height="wrap_content" + android:background="@drawable/bg_attachment_type_selector" + android:orientation="vertical" + android:paddingTop="16dp" + android:paddingBottom="16dp" + tools:ignore="UselessParent"> + android:layout_height="match_parent" + android:layout_margin="16dp" + android:baselineAligned="false" + android:orientation="horizontal" + android:weightSum="3"> - + - + + + + + + + + + + + + + + + + + + + + + + + - + android:layout_height="match_parent" + android:layout_margin="16dp" + android:baselineAligned="false" + android:orientation="horizontal" + android:weightSum="3"> - + - + - + + + - + - + - + - - - - - - - - - - - - - + - + - + - - - - - - - - - - + + - - + From a2db0e4cceef0e6b6f4461acd9c5ccb93542bd8f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 14 Jun 2021 07:33:43 +0000 Subject: [PATCH 02/49] Bump epoxy_version from 4.6.1 to 4.6.2 Bumps `epoxy_version` from 4.6.1 to 4.6.2. Updates `epoxy` from 4.6.1 to 4.6.2 - [Release notes](https://github.com/airbnb/epoxy/releases) - [Changelog](https://github.com/airbnb/epoxy/blob/master/CHANGELOG.md) - [Commits](https://github.com/airbnb/epoxy/compare/4.6.1...4.6.2) Updates `epoxy-glide-preloading` from 4.6.1 to 4.6.2 - [Release notes](https://github.com/airbnb/epoxy/releases) - [Changelog](https://github.com/airbnb/epoxy/blob/master/CHANGELOG.md) - [Commits](https://github.com/airbnb/epoxy/compare/4.6.1...4.6.2) Updates `epoxy-processor` from 4.6.1 to 4.6.2 - [Release notes](https://github.com/airbnb/epoxy/releases) - [Changelog](https://github.com/airbnb/epoxy/blob/master/CHANGELOG.md) - [Commits](https://github.com/airbnb/epoxy/compare/4.6.1...4.6.2) Updates `epoxy-paging` from 4.6.1 to 4.6.2 - [Release notes](https://github.com/airbnb/epoxy/releases) - [Changelog](https://github.com/airbnb/epoxy/blob/master/CHANGELOG.md) - [Commits](https://github.com/airbnb/epoxy/compare/4.6.1...4.6.2) --- updated-dependencies: - dependency-name: com.airbnb.android:epoxy dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: com.airbnb.android:epoxy-glide-preloading dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: com.airbnb.android:epoxy-processor dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: com.airbnb.android:epoxy-paging dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- vector/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vector/build.gradle b/vector/build.gradle index 427e2e18af..dcc91ce87d 100644 --- a/vector/build.gradle +++ b/vector/build.gradle @@ -299,7 +299,7 @@ android { dependencies { - def epoxy_version = '4.6.1' + def epoxy_version = '4.6.2' def fragment_version = '1.3.4' def arrow_version = "0.8.2" def markwon_version = '4.1.2' From f54246f71887cb48439334e5e24f38fff48d357a Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Mon, 14 Jun 2021 12:45:44 +0200 Subject: [PATCH 03/49] Update bg color on room list --- vector/src/main/res/layout/fragment_room_list.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vector/src/main/res/layout/fragment_room_list.xml b/vector/src/main/res/layout/fragment_room_list.xml index 9fe328ab6b..fac0c0f170 100644 --- a/vector/src/main/res/layout/fragment_room_list.xml +++ b/vector/src/main/res/layout/fragment_room_list.xml @@ -5,13 +5,14 @@ android:id="@+id/stateView" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="?colorSurface"> + android:background="?android:colorBackground"> Date: Mon, 14 Jun 2021 12:47:46 +0200 Subject: [PATCH 04/49] Cleanup --- vector/src/main/res/values/colors.xml | 5 ----- vector/src/main/res/values/theme_dark.xml | 1 - vector/src/main/res/values/theme_light.xml | 1 - 3 files changed, 7 deletions(-) diff --git a/vector/src/main/res/values/colors.xml b/vector/src/main/res/values/colors.xml index 1eae207f0a..60e63f7661 100644 --- a/vector/src/main/res/values/colors.xml +++ b/vector/src/main/res/values/colors.xml @@ -104,11 +104,6 @@ #E3E8F0 #E3E8F0 - - #C1C6CD - #8E99A4 - #8E99A4 - #AAAAAAAA #55555555 diff --git a/vector/src/main/res/values/theme_dark.xml b/vector/src/main/res/values/theme_dark.xml index 0eb46baee0..50a6e99d9b 100644 --- a/vector/src/main/res/values/theme_dark.xml +++ b/vector/src/main/res/values/theme_dark.xml @@ -29,7 +29,6 @@ @color/vctr_room_active_widgets_banner_text_dark @color/vctr_reaction_background_off_dark @color/vctr_reaction_background_on_dark - @color/vctr_bottom_nav_icon_color_dark @color/vctr_waiting_background_color_dark @color/vctr_chat_effect_snow_background_dark @color/element_system_dark diff --git a/vector/src/main/res/values/theme_light.xml b/vector/src/main/res/values/theme_light.xml index e976ca6e8d..256695f833 100644 --- a/vector/src/main/res/values/theme_light.xml +++ b/vector/src/main/res/values/theme_light.xml @@ -29,7 +29,6 @@ @color/vctr_room_active_widgets_banner_text_light @color/vctr_reaction_background_off_light @color/vctr_reaction_background_on_light - @color/vctr_bottom_nav_icon_color_light @color/vctr_waiting_background_color_light @color/vctr_chat_effect_snow_background_light @color/element_background_light From 1793885ec69c56c8e91058d89789a32443d5a78f Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Mon, 14 Jun 2021 20:20:19 +0200 Subject: [PATCH 05/49] TextAppearances: import from figma and apply to login screens --- .../layout/activity_debug_button_styles.xml | 7 ++ .../layout/activity_test_material_theme.xml | 12 ++- .../res/layout/debug_text_appearance.xml | 74 +++++++++++++ .../main/res/layout/activity_signed_out.xml | 6 +- vector/src/main/res/layout/fragment_login.xml | 12 ++- .../layout/fragment_login_account_created.xml | 15 ++- .../res/layout/fragment_login_captcha.xml | 5 +- ...fragment_login_generic_text_input_form.xml | 9 +- ...agment_login_generic_text_input_form_2.xml | 12 ++- .../layout/fragment_login_reset_password.xml | 6 +- .../fragment_login_reset_password_2.xml | 12 ++- ...login_reset_password_mail_confirmation.xml | 9 +- ...gin_reset_password_mail_confirmation_2.xml | 9 +- .../fragment_login_reset_password_success.xml | 9 +- ...ragment_login_reset_password_success_2.xml | 9 +- .../fragment_login_server_selection.xml | 19 ++-- .../fragment_login_server_selection_2.xml | 20 ++-- .../layout/fragment_login_server_url_form.xml | 13 ++- .../fragment_login_server_url_form_2.xml | 5 +- .../fragment_login_signin_password_2.xml | 8 +- .../layout/fragment_login_signin_to_any_2.xml | 6 +- .../fragment_login_signin_username_2.xml | 9 +- .../fragment_login_signup_password_2.xml | 15 ++- ...fragment_login_signup_signin_selection.xml | 9 +- .../fragment_login_signup_username_2.xml | 12 ++- .../main/res/layout/fragment_login_splash.xml | 12 ++- .../res/layout/fragment_login_splash_2.xml | 12 ++- .../res/layout/fragment_login_sso_only_2.xml | 3 +- .../main/res/layout/fragment_login_terms.xml | 6 +- .../res/layout/fragment_login_terms_2.xml | 6 +- .../layout/fragment_login_wait_for_email.xml | 6 +- .../fragment_login_wait_for_email_2.xml | 9 +- .../res/layout/fragment_reauth_confirm.xml | 4 +- .../fragment_room_preview_no_preview.xml | 10 +- .../src/main/res/layout/item_login_text.xml | 3 +- .../src/main/res/layout/item_login_title.xml | 3 +- .../res/layout/item_login_title_small.xml | 3 +- vector/src/main/res/layout/item_policy.xml | 6 +- .../main/res/layout/vector_invite_view.xml | 9 +- .../layout/vector_preference_push_rule.xml | 7 +- .../res/layout/view_room_widgets_banner.xml | 2 +- vector/src/main/res/values/styles_buttons.xml | 4 - .../src/main/res/values/styles_text_view.xml | 8 ++ .../src/main/res/values/text_appearances.xml | 102 ++++++++++-------- vector/src/main/res/values/theme_dark.xml | 11 ++ vector/src/main/res/values/theme_light.xml | 11 ++ 46 files changed, 395 insertions(+), 164 deletions(-) create mode 100644 vector/src/debug/res/layout/debug_text_appearance.xml create mode 100644 vector/src/main/res/values/styles_text_view.xml diff --git a/vector/src/debug/res/layout/activity_debug_button_styles.xml b/vector/src/debug/res/layout/activity_debug_button_styles.xml index 3973f7cbb6..b0baab6e38 100644 --- a/vector/src/debug/res/layout/activity_debug_button_styles.xml +++ b/vector/src/debug/res/layout/activity_debug_button_styles.xml @@ -12,12 +12,19 @@ android:orientation="vertical" android:padding="16dp"> +