Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #5039 : Align policy text and symbols to the left, partial fix for list items #5573

Open
wants to merge 17 commits into
base: develop
Choose a base branch
from

Conversation

TanishMoral11
Copy link
Contributor

@TanishMoral11 TanishMoral11 commented Nov 7, 2024

Fix #5039: This PR addresses the issue described by ensuring that policy text and special symbols (such as bullet points and question marks) within policy descriptions are aligned to the left. The content now displays correctly in an LTR (left-to-right) format. However, this is only a partial fix as there are still outstanding issues with the alignment of <li> (list item) tags.

Implemented Changes:

  • Used LeftAlignedSymbolsSpan to ensure text and symbols are left-aligned.
  • Modified PoliciesFragmentPresenter to parse and format the text appropriately for LTR display.

Known Limitations:

  • Alignment for <li> tags within parsed HTML content is not fully resolved. Further work is required to properly align list items.

Essential Checklist

Progress Till Now :-

2024-11-07_19-52-22.mp4

@TanishMoral11 TanishMoral11 requested review from a team as code owners November 7, 2024 14:30
@TanishMoral11 TanishMoral11 marked this pull request as draft November 7, 2024 14:31
@TanishMoral11
Copy link
Contributor Author

Hey @adhiamboperes ,

I have created a draft PR addressing #5039 , which focuses on ensuring that policy text and symbols (such as bullet points and question marks) are aligned to the left in an LTR format. While this change improves the overall text alignment, there remains an outstanding issue with the alignment of <li> (list item) tags when rendered within parsed HTML content.

Issue Summary:

Although most text and individual symbols are now correctly aligned, list items created using the <li> tag within the policy descriptions are not fully aligned to the left. The current span-based approach successfully formats standard text and symbols but does not affect <li> elements, leading to inconsistencies in the displayed content.

Request for Guidance:

I kindly ask for your insights or recommendations on potential solutions for handling the alignment of <li> tags in this context. Specifically, any advice on:

  • Custom parsing strategies that could be employed for list elements.
  • Advanced spans or Android-specific methods to ensure <li> tags align correctly within parsed text.

Thanks !!

@TanishMoral11
Copy link
Contributor Author

Hey @adhiamboperes PTAL

@oppiabot oppiabot bot assigned adhiamboperes and unassigned TanishMoral11 Nov 11, 2024
Copy link

oppiabot bot commented Nov 11, 2024

Unassigning @TanishMoral11 since a re-review was requested. @TanishMoral11, please make sure you have addressed all review comments. Thanks!

@adhiamboperes adhiamboperes changed the title Fix #5039 : Align policy text and symbols to the left, partial fix for list items Fix part of #5039 : Align policy text and symbols to the left, partial fix for list items Nov 12, 2024
@adhiamboperes
Copy link
Collaborator

Thanks @TanishMoral11! The solution for bullets look good. As for the items in

  • tags, One approach attempted by @Vishwajith-Shettigar was to take the raw string, like val policyDescription and use regex to extract the reguired tag (in this case li) and apply the necessary formatting, then setting the mofidified string to the textview. E.g. in https://github.com/oppia/oppia-android/pull/5286/files and https://github.com/oppia/oppia-android/pull/5212/files.

  • @TanishMoral11
    Copy link
    Contributor Author

    Hey @adhiamboperes , PTAL

    2024-11-13_00-39-44.mp4

    @TanishMoral11 TanishMoral11 marked this pull request as ready for review November 12, 2024 19:16
    @oppiabot oppiabot bot assigned adhiamboperes and unassigned TanishMoral11 Nov 12, 2024
    Copy link

    oppiabot bot commented Nov 12, 2024

    Unassigning @TanishMoral11 since a re-review was requested. @TanishMoral11, please make sure you have addressed all review comments. Thanks!

    @TanishMoral11 TanishMoral11 changed the title Fix part of #5039 : Align policy text and symbols to the left, partial fix for list items Fix #5039 : Align policy text and symbols to the left, partial fix for list items Nov 12, 2024
    Copy link
    Collaborator

    @adhiamboperes adhiamboperes left a comment

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    Thanks @TanishMoral11.

    While the solution appears correct, a number of cleanup changes are required to get the PR merge ready.

    Also, the video you have uploaded in the comments does not play. Please re-upload it to the PR description and ensure it can play.

    @TanishMoral11
    Copy link
    Contributor Author

    Hey @adhiamboperes PTAL ,

    Thank you for your detailed review and valuable feedback.

    I have addressed all your requested adjustments, including:

    • Retaining the separation of the create methods as per your guidance to preserve their distinct purposes.
    • Reverting to named arguments for improved readability, following your recommendation.
    • Ensuring minor formatting issues have been resolved, including inserting new lines at EOF where necessary.

    Additionally, I have re-uploaded the video demonstration to the PR description, ensuring it is now accessible and plays correctly.

    Thank you again for your guidance. I look forward to your review of these updates. Please let me know if there are any further adjustments needed.

    2024-11-13_00-39-44.mp4

    @oppiabot oppiabot bot assigned adhiamboperes and unassigned TanishMoral11 Nov 14, 2024
    Copy link

    oppiabot bot commented Nov 14, 2024

    Unassigning @TanishMoral11 since a re-review was requested. @TanishMoral11, please make sure you have addressed all review comments. Thanks!

    Copy link

    github-actions bot commented Dec 2, 2024

    APK & AAB differences analysis

    Note that this is a summarized snapshot. See the CI artifacts for detailed differences.

    Dev

    Expand to see flavor specifics

    Universal APK

    APK file size: 19 MiB (old), 19 MiB (new), 748 bytes (Added)

    APK download size (estimated): 17 MiB (old), 17 MiB (new), 51 bytes (Added)

    Method count: 260158 (old), 260165 (new), 7 (Added)

    Features: 2 (old), 2 (new), 0 (No change)

    Permissions: 6 (old), 6 (new), 0 (No change)

    Resources: 6816 (old), 6816 (new), 0 (No change)

    • Anim: 43 (old), 43 (new), 0 (No change)
    • Animator: 26 (old), 26 (new), 0 (No change)
    • Array: 15 (old), 15 (new), 0 (No change)
    • Attr: 922 (old), 922 (new), 0 (No change)
    • Bool: 9 (old), 9 (new), 0 (No change)
    • Color: 967 (old), 967 (new), 0 (No change)
    • Dimen: 1048 (old), 1048 (new), 0 (No change)
    • Drawable: 380 (old), 380 (new), 0 (No change)
    • Id: 1275 (old), 1275 (new), 0 (No change)
    • Integer: 37 (old), 37 (new), 0 (No change)
    • Interpolator: 11 (old), 11 (new), 0 (No change)
    • Layout: 380 (old), 380 (new), 0 (No change)
    • Menu: 3 (old), 3 (new), 0 (No change)
    • Mipmap: 1 (old), 1 (new), 0 (No change)
    • Plurals: 10 (old), 10 (new), 0 (No change)
    • Raw: 2 (old), 2 (new), 0 (No change)
    • String: 850 (old), 850 (new), 0 (No change)
    • Style: 831 (old), 831 (new), 0 (No change)
    • Xml: 6 (old), 6 (new), 0 (No change)

    Lesson assets: 111 (old), 111 (new), 0 (No change)

    AAB differences

    Expand to see AAB specifics

    Supported configurations:

    • hdpi (same)
    • ldpi (same)
    • mdpi (same)
    • tvdpi (same)
    • xhdpi (same)
    • xxhdpi (same)
    • xxxhdpi (same)

    Base APK

    APK file size: 18 MiB (old), 18 MiB (new), 748 bytes (Added)
    APK download size (estimated): 17 MiB (old), 17 MiB (new), 93 bytes (Added)
    Method count: 260158 (old), 260165 (new), 7 (Added)

    Configuration hdpi

    APK file size: 50 KiB (old), 50 KiB (new), 0 bytes (No change)
    APK download size (estimated): 18 KiB (old), 18 KiB (new), 0 bytes (No change)

    Configuration ldpi

    APK file size: 49 KiB (old), 49 KiB (new), 0 bytes (No change)
    APK download size (estimated): 14 KiB (old), 14 KiB (new), 0 bytes (No change)

    Configuration mdpi

    APK file size: 45 KiB (old), 45 KiB (new), 0 bytes (No change)
    APK download size (estimated): 14 KiB (old), 14 KiB (new), 0 bytes (No change)

    Configuration tvdpi

    APK file size: 86 KiB (old), 86 KiB (new), 0 bytes (No change)
    APK download size (estimated): 29 KiB (old), 29 KiB (new), 0 bytes (No change)

    Configuration xhdpi

    APK file size: 57 KiB (old), 57 KiB (new), 0 bytes (No change)
    APK download size (estimated): 21 KiB (old), 21 KiB (new), 0 bytes (No change)

    Configuration xxhdpi

    APK file size: 63 KiB (old), 63 KiB (new), 0 bytes (No change)
    APK download size (estimated): 29 KiB (old), 29 KiB (new), 0 bytes (No change)

    Configuration xxxhdpi

    APK file size: 63 KiB (old), 63 KiB (new), 0 bytes (No change)
    APK download size (estimated): 28 KiB (old), 28 KiB (new), 0 bytes (No change)

    Alpha

    Expand to see flavor specifics

    Universal APK

    APK file size: 11 MiB (old), 11 MiB (new), 368 bytes (Added)

    APK download size (estimated): 10 MiB (old), 10 MiB (new), 992 bytes (Added)

    Method count: 116247 (old), 116250 (new), 3 (Added)

    Features: 2 (old), 2 (new), 0 (No change)

    Permissions: 6 (old), 6 (new), 0 (No change)

    Resources: 5784 (old), 5784 (new), 0 (No change)

    • Anim: 33 (old), 33 (new), 0 (No change)
    • Animator: 24 (old), 24 (new), 0 (No change)
    • Array: 14 (old), 14 (new), 0 (No change)
    • Attr: 888 (old), 888 (new), 0 (No change)
    • Bool: 8 (old), 8 (new), 0 (No change)
    • Color: 820 (old), 820 (new), 0 (No change)
    • Dimen: 780 (old), 780 (new), 0 (No change)
    • Drawable: 342 (old), 342 (new), 0 (No change)
    • Id: 1221 (old), 1221 (new), 0 (No change)
    • Integer: 32 (old), 32 (new), 0 (No change)
    • Interpolator: 11 (old), 11 (new), 0 (No change)
    • Layout: 343 (old), 343 (new), 0 (No change)
    • Menu: 1 (old), 1 (new), 0 (No change)
    • Mipmap: 1 (old), 1 (new), 0 (No change)
    • Plurals: 10 (old), 10 (new), 0 (No change)
    • String: 783 (old), 783 (new), 0 (No change)
    • Style: 472 (old), 472 (new), 0 (No change)
    • Xml: 1 (old), 1 (new), 0 (No change)

    Lesson assets: 111 (old), 111 (new), 0 (No change)

    AAB differences

    Expand to see AAB specifics

    Supported configurations:

    • hdpi (same)
    • ldpi (same)
    • mdpi (same)
    • tvdpi (same)
    • xhdpi (same)
    • xxhdpi (same)
    • xxxhdpi (same)

    Base APK

    APK file size: 11 MiB (old), 11 MiB (new), 372 bytes (Added)
    APK download size (estimated): 10 MiB (old), 10 MiB (new), 22 bytes (Removed)
    Method count: 116247 (old), 116250 (new), 3 (Added)

    Configuration hdpi

    APK file size: 43 KiB (old), 43 KiB (new), 0 bytes (No change)
    APK download size (estimated): 17 KiB (old), 17 KiB (new), 0 bytes (No change)

    Configuration ldpi

    APK file size: 44 KiB (old), 44 KiB (new), 0 bytes (No change)
    APK download size (estimated): 13 KiB (old), 13 KiB (new), 0 bytes (No change)

    Configuration mdpi

    APK file size: 38 KiB (old), 38 KiB (new), 0 bytes (No change)
    APK download size (estimated): 13 KiB (old), 13 KiB (new), 0 bytes (No change)

    Configuration tvdpi

    APK file size: 73 KiB (old), 73 KiB (new), 0 bytes (No change)
    APK download size (estimated): 27 KiB (old), 27 KiB (new), 0 bytes (No change)

    Configuration xhdpi

    APK file size: 50 KiB (old), 50 KiB (new), 0 bytes (No change)
    APK download size (estimated): 20 KiB (old), 20 KiB (new), 0 bytes (No change)

    Configuration xxhdpi

    APK file size: 55 KiB (old), 55 KiB (new), 0 bytes (No change)
    APK download size (estimated): 28 KiB (old), 28 KiB (new), 0 bytes (No change)

    Configuration xxxhdpi

    APK file size: 55 KiB (old), 55 KiB (new), 0 bytes (No change)
    APK download size (estimated): 27 KiB (old), 27 KiB (new), 0 bytes (No change)

    Beta

    Expand to see flavor specifics

    Universal APK

    APK file size: 11 MiB (old), 11 MiB (new), 448 bytes (Added)

    APK download size (estimated): 10 MiB (old), 10 MiB (new), 868 bytes (Added)

    Method count: 116253 (old), 116256 (new), 3 (Added)

    Features: 2 (old), 2 (new), 0 (No change)

    Permissions: 6 (old), 6 (new), 0 (No change)

    Resources: 5784 (old), 5784 (new), 0 (No change)

    • Anim: 33 (old), 33 (new), 0 (No change)
    • Animator: 24 (old), 24 (new), 0 (No change)
    • Array: 14 (old), 14 (new), 0 (No change)
    • Attr: 888 (old), 888 (new), 0 (No change)
    • Bool: 8 (old), 8 (new), 0 (No change)
    • Color: 820 (old), 820 (new), 0 (No change)
    • Dimen: 780 (old), 780 (new), 0 (No change)
    • Drawable: 342 (old), 342 (new), 0 (No change)
    • Id: 1221 (old), 1221 (new), 0 (No change)
    • Integer: 32 (old), 32 (new), 0 (No change)
    • Interpolator: 11 (old), 11 (new), 0 (No change)
    • Layout: 343 (old), 343 (new), 0 (No change)
    • Menu: 1 (old), 1 (new), 0 (No change)
    • Mipmap: 1 (old), 1 (new), 0 (No change)
    • Plurals: 10 (old), 10 (new), 0 (No change)
    • String: 783 (old), 783 (new), 0 (No change)
    • Style: 472 (old), 472 (new), 0 (No change)
    • Xml: 1 (old), 1 (new), 0 (No change)

    Lesson assets: 111 (old), 111 (new), 0 (No change)

    AAB differences

    Expand to see AAB specifics

    Supported configurations:

    • hdpi (same)
    • ldpi (same)
    • mdpi (same)
    • tvdpi (same)
    • xhdpi (same)
    • xxhdpi (same)
    • xxxhdpi (same)

    Base APK

    APK file size: 11 MiB (old), 11 MiB (new), 452 bytes (Added)
    APK download size (estimated): 10 MiB (old), 10 MiB (new), 1358 bytes (Added)
    Method count: 116253 (old), 116256 (new), 3 (Added)

    Configuration hdpi

    APK file size: 43 KiB (old), 43 KiB (new), 0 bytes (No change)
    APK download size (estimated): 17 KiB (old), 17 KiB (new), 0 bytes (No change)

    Configuration ldpi

    APK file size: 44 KiB (old), 44 KiB (new), 0 bytes (No change)
    APK download size (estimated): 13 KiB (old), 13 KiB (new), 0 bytes (No change)

    Configuration mdpi

    APK file size: 38 KiB (old), 38 KiB (new), 0 bytes (No change)
    APK download size (estimated): 13 KiB (old), 13 KiB (new), 0 bytes (No change)

    Configuration tvdpi

    APK file size: 73 KiB (old), 73 KiB (new), 0 bytes (No change)
    APK download size (estimated): 27 KiB (old), 27 KiB (new), 0 bytes (No change)

    Configuration xhdpi

    APK file size: 50 KiB (old), 50 KiB (new), 0 bytes (No change)
    APK download size (estimated): 20 KiB (old), 20 KiB (new), 0 bytes (No change)

    Configuration xxhdpi

    APK file size: 55 KiB (old), 55 KiB (new), 0 bytes (No change)
    APK download size (estimated): 28 KiB (old), 28 KiB (new), 0 bytes (No change)

    Configuration xxxhdpi

    APK file size: 55 KiB (old), 55 KiB (new), 0 bytes (No change)
    APK download size (estimated): 27 KiB (old), 27 KiB (new), 0 bytes (No change)

    Ga

    Expand to see flavor specifics

    Universal APK

    APK file size: 11 MiB (old), 11 MiB (new), 452 bytes (Added)

    APK download size (estimated): 10 MiB (old), 10 MiB (new), 380 bytes (Added)

    Method count: 116253 (old), 116256 (new), 3 (Added)

    Features: 2 (old), 2 (new), 0 (No change)

    Permissions: 6 (old), 6 (new), 0 (No change)

    Resources: 5784 (old), 5784 (new), 0 (No change)

    • Anim: 33 (old), 33 (new), 0 (No change)
    • Animator: 24 (old), 24 (new), 0 (No change)
    • Array: 14 (old), 14 (new), 0 (No change)
    • Attr: 888 (old), 888 (new), 0 (No change)
    • Bool: 8 (old), 8 (new), 0 (No change)
    • Color: 820 (old), 820 (new), 0 (No change)
    • Dimen: 780 (old), 780 (new), 0 (No change)
    • Drawable: 342 (old), 342 (new), 0 (No change)
    • Id: 1221 (old), 1221 (new), 0 (No change)
    • Integer: 32 (old), 32 (new), 0 (No change)
    • Interpolator: 11 (old), 11 (new), 0 (No change)
    • Layout: 343 (old), 343 (new), 0 (No change)
    • Menu: 1 (old), 1 (new), 0 (No change)
    • Mipmap: 1 (old), 1 (new), 0 (No change)
    • Plurals: 10 (old), 10 (new), 0 (No change)
    • String: 783 (old), 783 (new), 0 (No change)
    • Style: 472 (old), 472 (new), 0 (No change)
    • Xml: 1 (old), 1 (new), 0 (No change)

    Lesson assets: 111 (old), 111 (new), 0 (No change)

    AAB differences

    Expand to see AAB specifics

    Supported configurations:

    • hdpi (same)
    • ldpi (same)
    • mdpi (same)
    • tvdpi (same)
    • xhdpi (same)
    • xxhdpi (same)
    • xxxhdpi (same)

    Base APK

    APK file size: 11 MiB (old), 11 MiB (new), 456 bytes (Added)
    APK download size (estimated): 10 MiB (old), 10 MiB (new), 999 bytes (Added)
    Method count: 116253 (old), 116256 (new), 3 (Added)

    Configuration hdpi

    APK file size: 43 KiB (old), 43 KiB (new), 0 bytes (No change)
    APK download size (estimated): 17 KiB (old), 17 KiB (new), 0 bytes (No change)

    Configuration ldpi

    APK file size: 44 KiB (old), 44 KiB (new), 0 bytes (No change)
    APK download size (estimated): 13 KiB (old), 13 KiB (new), 0 bytes (No change)

    Configuration mdpi

    APK file size: 38 KiB (old), 38 KiB (new), 0 bytes (No change)
    APK download size (estimated): 13 KiB (old), 13 KiB (new), 0 bytes (No change)

    Configuration tvdpi

    APK file size: 73 KiB (old), 73 KiB (new), 0 bytes (No change)
    APK download size (estimated): 27 KiB (old), 27 KiB (new), 0 bytes (No change)

    Configuration xhdpi

    APK file size: 50 KiB (old), 50 KiB (new), 0 bytes (No change)
    APK download size (estimated): 20 KiB (old), 20 KiB (new), 0 bytes (No change)

    Configuration xxhdpi

    APK file size: 55 KiB (old), 55 KiB (new), 0 bytes (No change)
    APK download size (estimated): 28 KiB (old), 28 KiB (new), 0 bytes (No change)

    Configuration xxxhdpi

    APK file size: 55 KiB (old), 55 KiB (new), 0 bytes (No change)
    APK download size (estimated): 27 KiB (old), 27 KiB (new), 0 bytes (No change)

    Copy link

    github-actions bot commented Dec 3, 2024

    APK & AAB differences analysis

    Note that this is a summarized snapshot. See the CI artifacts for detailed differences.

    Dev

    Expand to see flavor specifics

    Universal APK

    APK file size: 19 MiB (old), 19 MiB (new), 11 KiB (Removed)

    APK download size (estimated): 17 MiB (old), 17 MiB (new), 5340 bytes (Removed)

    Method count: 260184 (old), 260165 (new), 19 (Removed)

    Features: 2 (old), 2 (new), 0 (No change)

    Permissions: 6 (old), 6 (new), 0 (No change)

    Resources: 6818 (old), 6816 (new), 2 (Removed)

    • Anim: 43 (old), 43 (new), 0 (No change)
    • Animator: 26 (old), 26 (new), 0 (No change)
    • Array: 15 (old), 15 (new), 0 (No change)
    • Attr: 922 (old), 922 (new), 0 (No change)
    • Bool: 9 (old), 9 (new), 0 (No change)
    • Color: 967 (old), 967 (new), 0 (No change)
    • Dimen: 1048 (old), 1048 (new), 0 (No change)
    • Drawable: 380 (old), 380 (new), 0 (No change)
    • Id: 1275 (old), 1275 (new), 0 (No change)
    • Integer: 37 (old), 37 (new), 0 (No change)
    • Interpolator: 11 (old), 11 (new), 0 (No change)
    • Layout: 380 (old), 380 (new), 0 (No change)
    • Menu: 3 (old), 3 (new), 0 (No change)
    • Mipmap: 1 (old), 1 (new), 0 (No change)
    • Plurals: 10 (old), 10 (new), 0 (No change)
    • Raw: 2 (old), 2 (new), 0 (No change)
    • String: 852 (old), 850 (new), 2 (Removed):
      • string/profile_edit_delete_success_dialog_positive_button (removed)
      • string/profile_edit_delete_successful_message (removed)
    • Style: 831 (old), 831 (new), 0 (No change)
    • Xml: 6 (old), 6 (new), 0 (No change)

    Lesson assets: 111 (old), 111 (new), 0 (No change)

    AAB differences

    Expand to see AAB specifics

    Supported configurations:

    • hdpi (same)
    • ldpi (same)
    • mdpi (same)
    • tvdpi (same)
    • xhdpi (same)
    • xxhdpi (same)
    • xxxhdpi (same)

    Base APK

    APK file size: 18 MiB (old), 18 MiB (new), 11 KiB (Removed)
    APK download size (estimated): 17 MiB (old), 17 MiB (new), 6797 bytes (Removed)
    Method count: 260184 (old), 260165 (new), 19 (Removed)
    Resources: 6768 (old), 6766 (new), 2 (Removed)

    • String: 852 (old), 850 (new), 2 (Removed)

    Configuration hdpi

    APK file size: 50 KiB (old), 50 KiB (new), 0 bytes (No change)
    APK download size (estimated): 18 KiB (old), 18 KiB (new), 0 bytes (No change)

    Configuration ldpi

    APK file size: 49 KiB (old), 49 KiB (new), 0 bytes (No change)
    APK download size (estimated): 14 KiB (old), 14 KiB (new), 0 bytes (No change)

    Configuration mdpi

    APK file size: 45 KiB (old), 45 KiB (new), 0 bytes (No change)
    APK download size (estimated): 14 KiB (old), 14 KiB (new), 0 bytes (No change)

    Configuration tvdpi

    APK file size: 86 KiB (old), 86 KiB (new), 0 bytes (No change)
    APK download size (estimated): 29 KiB (old), 29 KiB (new), 0 bytes (No change)

    Configuration xhdpi

    APK file size: 57 KiB (old), 57 KiB (new), 0 bytes (No change)
    APK download size (estimated): 21 KiB (old), 21 KiB (new), 0 bytes (No change)

    Configuration xxhdpi

    APK file size: 63 KiB (old), 63 KiB (new), 0 bytes (No change)
    APK download size (estimated): 29 KiB (old), 29 KiB (new), 0 bytes (No change)

    Configuration xxxhdpi

    APK file size: 63 KiB (old), 63 KiB (new), 0 bytes (No change)
    APK download size (estimated): 28 KiB (old), 28 KiB (new), 0 bytes (No change)

    Alpha

    Expand to see flavor specifics

    Universal APK

    APK file size: 11 MiB (old), 11 MiB (new), 11 KiB (Removed)

    APK download size (estimated): 10 MiB (old), 10 MiB (new), 8195 bytes (Removed)

    Method count: 116262 (old), 116250 (new), 12 (Removed)

    Features: 2 (old), 2 (new), 0 (No change)

    Permissions: 6 (old), 6 (new), 0 (No change)

    Resources: 5786 (old), 5784 (new), 2 (Removed)

    • Anim: 33 (old), 33 (new), 0 (No change)
    • Animator: 24 (old), 24 (new), 0 (No change)
    • Array: 14 (old), 14 (new), 0 (No change)
    • Attr: 888 (old), 888 (new), 0 (No change)
    • Bool: 8 (old), 8 (new), 0 (No change)
    • Color: 820 (old), 820 (new), 0 (No change)
    • Dimen: 780 (old), 780 (new), 0 (No change)
    • Drawable: 342 (old), 342 (new), 0 (No change)
    • Id: 1221 (old), 1221 (new), 0 (No change)
    • Integer: 32 (old), 32 (new), 0 (No change)
    • Interpolator: 11 (old), 11 (new), 0 (No change)
    • Layout: 343 (old), 343 (new), 0 (No change)
    • Menu: 1 (old), 1 (new), 0 (No change)
    • Mipmap: 1 (old), 1 (new), 0 (No change)
    • Plurals: 10 (old), 10 (new), 0 (No change)
    • String: 785 (old), 783 (new), 2 (Removed):
      • string/profile_edit_delete_success_dialog_positive_button (removed)
      • string/profile_edit_delete_successful_message (removed)
    • Style: 472 (old), 472 (new), 0 (No change)
    • Xml: 1 (old), 1 (new), 0 (No change)

    Lesson assets: 111 (old), 111 (new), 0 (No change)

    AAB differences

    Expand to see AAB specifics

    Supported configurations:

    • hdpi (same)
    • ldpi (same)
    • mdpi (same)
    • tvdpi (same)
    • xhdpi (same)
    • xxhdpi (same)
    • xxxhdpi (same)

    Base APK

    APK file size: 11 MiB (old), 11 MiB (new), 11 KiB (Removed)
    APK download size (estimated): 10 MiB (old), 10 MiB (new), 4331 bytes (Removed)
    Method count: 116262 (old), 116250 (new), 12 (Removed)
    Resources: 5743 (old), 5741 (new), 2 (Removed)

    • String: 785 (old), 783 (new), 2 (Removed)

    Configuration hdpi

    APK file size: 43 KiB (old), 43 KiB (new), 0 bytes (No change)
    APK download size (estimated): 17 KiB (old), 17 KiB (new), 0 bytes (No change)

    Configuration ldpi

    APK file size: 44 KiB (old), 44 KiB (new), 0 bytes (No change)
    APK download size (estimated): 13 KiB (old), 13 KiB (new), 0 bytes (No change)

    Configuration mdpi

    APK file size: 38 KiB (old), 38 KiB (new), 0 bytes (No change)
    APK download size (estimated): 13 KiB (old), 13 KiB (new), 0 bytes (No change)

    Configuration tvdpi

    APK file size: 73 KiB (old), 73 KiB (new), 0 bytes (No change)
    APK download size (estimated): 27 KiB (old), 27 KiB (new), 0 bytes (No change)

    Configuration xhdpi

    APK file size: 50 KiB (old), 50 KiB (new), 0 bytes (No change)
    APK download size (estimated): 20 KiB (old), 20 KiB (new), 0 bytes (No change)

    Configuration xxhdpi

    APK file size: 55 KiB (old), 55 KiB (new), 0 bytes (No change)
    APK download size (estimated): 28 KiB (old), 28 KiB (new), 0 bytes (No change)

    Configuration xxxhdpi

    APK file size: 55 KiB (old), 55 KiB (new), 0 bytes (No change)
    APK download size (estimated): 27 KiB (old), 27 KiB (new), 0 bytes (No change)

    Beta

    Expand to see flavor specifics

    Universal APK

    APK file size: 11 MiB (old), 11 MiB (new), 11 KiB (Removed)

    APK download size (estimated): 10 MiB (old), 10 MiB (new), 6481 bytes (Removed)

    Method count: 116268 (old), 116256 (new), 12 (Removed)

    Features: 2 (old), 2 (new), 0 (No change)

    Permissions: 6 (old), 6 (new), 0 (No change)

    Resources: 5786 (old), 5784 (new), 2 (Removed)

    • Anim: 33 (old), 33 (new), 0 (No change)
    • Animator: 24 (old), 24 (new), 0 (No change)
    • Array: 14 (old), 14 (new), 0 (No change)
    • Attr: 888 (old), 888 (new), 0 (No change)
    • Bool: 8 (old), 8 (new), 0 (No change)
    • Color: 820 (old), 820 (new), 0 (No change)
    • Dimen: 780 (old), 780 (new), 0 (No change)
    • Drawable: 342 (old), 342 (new), 0 (No change)
    • Id: 1221 (old), 1221 (new), 0 (No change)
    • Integer: 32 (old), 32 (new), 0 (No change)
    • Interpolator: 11 (old), 11 (new), 0 (No change)
    • Layout: 343 (old), 343 (new), 0 (No change)
    • Menu: 1 (old), 1 (new), 0 (No change)
    • Mipmap: 1 (old), 1 (new), 0 (No change)
    • Plurals: 10 (old), 10 (new), 0 (No change)
    • String: 785 (old), 783 (new), 2 (Removed):
      • string/profile_edit_delete_success_dialog_positive_button (removed)
      • string/profile_edit_delete_successful_message (removed)
    • Style: 472 (old), 472 (new), 0 (No change)
    • Xml: 1 (old), 1 (new), 0 (No change)

    Lesson assets: 111 (old), 111 (new), 0 (No change)

    AAB differences

    Expand to see AAB specifics

    Supported configurations:

    • hdpi (same)
    • ldpi (same)
    • mdpi (same)
    • tvdpi (same)
    • xhdpi (same)
    • xxhdpi (same)
    • xxxhdpi (same)

    Base APK

    APK file size: 11 MiB (old), 11 MiB (new), 11 KiB (Removed)
    APK download size (estimated): 10 MiB (old), 10 MiB (new), 5710 bytes (Removed)
    Method count: 116268 (old), 116256 (new), 12 (Removed)
    Resources: 5743 (old), 5741 (new), 2 (Removed)

    • String: 785 (old), 783 (new), 2 (Removed)

    Configuration hdpi

    APK file size: 43 KiB (old), 43 KiB (new), 0 bytes (No change)
    APK download size (estimated): 17 KiB (old), 17 KiB (new), 0 bytes (No change)

    Configuration ldpi

    APK file size: 44 KiB (old), 44 KiB (new), 0 bytes (No change)
    APK download size (estimated): 13 KiB (old), 13 KiB (new), 0 bytes (No change)

    Configuration mdpi

    APK file size: 38 KiB (old), 38 KiB (new), 0 bytes (No change)
    APK download size (estimated): 13 KiB (old), 13 KiB (new), 0 bytes (No change)

    Configuration tvdpi

    APK file size: 73 KiB (old), 73 KiB (new), 0 bytes (No change)
    APK download size (estimated): 27 KiB (old), 27 KiB (new), 0 bytes (No change)

    Configuration xhdpi

    APK file size: 50 KiB (old), 50 KiB (new), 0 bytes (No change)
    APK download size (estimated): 20 KiB (old), 20 KiB (new), 0 bytes (No change)

    Configuration xxhdpi

    APK file size: 55 KiB (old), 55 KiB (new), 0 bytes (No change)
    APK download size (estimated): 28 KiB (old), 28 KiB (new), 0 bytes (No change)

    Configuration xxxhdpi

    APK file size: 55 KiB (old), 55 KiB (new), 0 bytes (No change)
    APK download size (estimated): 27 KiB (old), 27 KiB (new), 0 bytes (No change)

    Ga

    Expand to see flavor specifics

    Universal APK

    APK file size: 11 MiB (old), 11 MiB (new), 11 KiB (Removed)

    APK download size (estimated): 10 MiB (old), 10 MiB (new), 7754 bytes (Removed)

    Method count: 116268 (old), 116256 (new), 12 (Removed)

    Features: 2 (old), 2 (new), 0 (No change)

    Permissions: 6 (old), 6 (new), 0 (No change)

    Resources: 5786 (old), 5784 (new), 2 (Removed)

    • Anim: 33 (old), 33 (new), 0 (No change)
    • Animator: 24 (old), 24 (new), 0 (No change)
    • Array: 14 (old), 14 (new), 0 (No change)
    • Attr: 888 (old), 888 (new), 0 (No change)
    • Bool: 8 (old), 8 (new), 0 (No change)
    • Color: 820 (old), 820 (new), 0 (No change)
    • Dimen: 780 (old), 780 (new), 0 (No change)
    • Drawable: 342 (old), 342 (new), 0 (No change)
    • Id: 1221 (old), 1221 (new), 0 (No change)
    • Integer: 32 (old), 32 (new), 0 (No change)
    • Interpolator: 11 (old), 11 (new), 0 (No change)
    • Layout: 343 (old), 343 (new), 0 (No change)
    • Menu: 1 (old), 1 (new), 0 (No change)
    • Mipmap: 1 (old), 1 (new), 0 (No change)
    • Plurals: 10 (old), 10 (new), 0 (No change)
    • String: 785 (old), 783 (new), 2 (Removed):
      • string/profile_edit_delete_success_dialog_positive_button (removed)
      • string/profile_edit_delete_successful_message (removed)
    • Style: 472 (old), 472 (new), 0 (No change)
    • Xml: 1 (old), 1 (new), 0 (No change)

    Lesson assets: 111 (old), 111 (new), 0 (No change)

    AAB differences

    Expand to see AAB specifics

    Supported configurations:

    • hdpi (same)
    • ldpi (same)
    • mdpi (same)
    • tvdpi (same)
    • xhdpi (same)
    • xxhdpi (same)
    • xxxhdpi (same)

    Base APK

    APK file size: 11 MiB (old), 11 MiB (new), 11 KiB (Removed)
    APK download size (estimated): 10 MiB (old), 10 MiB (new), 7527 bytes (Removed)
    Method count: 116268 (old), 116256 (new), 12 (Removed)
    Resources: 5743 (old), 5741 (new), 2 (Removed)

    • String: 785 (old), 783 (new), 2 (Removed)

    Configuration hdpi

    APK file size: 43 KiB (old), 43 KiB (new), 0 bytes (No change)
    APK download size (estimated): 17 KiB (old), 17 KiB (new), 0 bytes (No change)

    Configuration ldpi

    APK file size: 44 KiB (old), 44 KiB (new), 0 bytes (No change)
    APK download size (estimated): 13 KiB (old), 13 KiB (new), 0 bytes (No change)

    Configuration mdpi

    APK file size: 38 KiB (old), 38 KiB (new), 0 bytes (No change)
    APK download size (estimated): 13 KiB (old), 13 KiB (new), 0 bytes (No change)

    Configuration tvdpi

    APK file size: 73 KiB (old), 73 KiB (new), 0 bytes (No change)
    APK download size (estimated): 27 KiB (old), 27 KiB (new), 0 bytes (No change)

    Configuration xhdpi

    APK file size: 50 KiB (old), 50 KiB (new), 0 bytes (No change)
    APK download size (estimated): 20 KiB (old), 20 KiB (new), 0 bytes (No change)

    Configuration xxhdpi

    APK file size: 55 KiB (old), 55 KiB (new), 0 bytes (No change)
    APK download size (estimated): 28 KiB (old), 28 KiB (new), 0 bytes (No change)

    Configuration xxxhdpi

    APK file size: 55 KiB (old), 55 KiB (new), 0 bytes (No change)
    APK download size (estimated): 27 KiB (old), 27 KiB (new), 0 bytes (No change)

    1 similar comment
    Copy link

    github-actions bot commented Dec 5, 2024

    APK & AAB differences analysis

    Note that this is a summarized snapshot. See the CI artifacts for detailed differences.

    Dev

    Expand to see flavor specifics

    Universal APK

    APK file size: 19 MiB (old), 19 MiB (new), 11 KiB (Removed)

    APK download size (estimated): 17 MiB (old), 17 MiB (new), 5340 bytes (Removed)

    Method count: 260184 (old), 260165 (new), 19 (Removed)

    Features: 2 (old), 2 (new), 0 (No change)

    Permissions: 6 (old), 6 (new), 0 (No change)

    Resources: 6818 (old), 6816 (new), 2 (Removed)

    • Anim: 43 (old), 43 (new), 0 (No change)
    • Animator: 26 (old), 26 (new), 0 (No change)
    • Array: 15 (old), 15 (new), 0 (No change)
    • Attr: 922 (old), 922 (new), 0 (No change)
    • Bool: 9 (old), 9 (new), 0 (No change)
    • Color: 967 (old), 967 (new), 0 (No change)
    • Dimen: 1048 (old), 1048 (new), 0 (No change)
    • Drawable: 380 (old), 380 (new), 0 (No change)
    • Id: 1275 (old), 1275 (new), 0 (No change)
    • Integer: 37 (old), 37 (new), 0 (No change)
    • Interpolator: 11 (old), 11 (new), 0 (No change)
    • Layout: 380 (old), 380 (new), 0 (No change)
    • Menu: 3 (old), 3 (new), 0 (No change)
    • Mipmap: 1 (old), 1 (new), 0 (No change)
    • Plurals: 10 (old), 10 (new), 0 (No change)
    • Raw: 2 (old), 2 (new), 0 (No change)
    • String: 852 (old), 850 (new), 2 (Removed):
      • string/profile_edit_delete_success_dialog_positive_button (removed)
      • string/profile_edit_delete_successful_message (removed)
    • Style: 831 (old), 831 (new), 0 (No change)
    • Xml: 6 (old), 6 (new), 0 (No change)

    Lesson assets: 111 (old), 111 (new), 0 (No change)

    AAB differences

    Expand to see AAB specifics

    Supported configurations:

    • hdpi (same)
    • ldpi (same)
    • mdpi (same)
    • tvdpi (same)
    • xhdpi (same)
    • xxhdpi (same)
    • xxxhdpi (same)

    Base APK

    APK file size: 18 MiB (old), 18 MiB (new), 11 KiB (Removed)
    APK download size (estimated): 17 MiB (old), 17 MiB (new), 6797 bytes (Removed)
    Method count: 260184 (old), 260165 (new), 19 (Removed)
    Resources: 6768 (old), 6766 (new), 2 (Removed)

    • String: 852 (old), 850 (new), 2 (Removed)

    Configuration hdpi

    APK file size: 50 KiB (old), 50 KiB (new), 0 bytes (No change)
    APK download size (estimated): 18 KiB (old), 18 KiB (new), 0 bytes (No change)

    Configuration ldpi

    APK file size: 49 KiB (old), 49 KiB (new), 0 bytes (No change)
    APK download size (estimated): 14 KiB (old), 14 KiB (new), 0 bytes (No change)

    Configuration mdpi

    APK file size: 45 KiB (old), 45 KiB (new), 0 bytes (No change)
    APK download size (estimated): 14 KiB (old), 14 KiB (new), 0 bytes (No change)

    Configuration tvdpi

    APK file size: 86 KiB (old), 86 KiB (new), 0 bytes (No change)
    APK download size (estimated): 29 KiB (old), 29 KiB (new), 0 bytes (No change)

    Configuration xhdpi

    APK file size: 57 KiB (old), 57 KiB (new), 0 bytes (No change)
    APK download size (estimated): 21 KiB (old), 21 KiB (new), 0 bytes (No change)

    Configuration xxhdpi

    APK file size: 63 KiB (old), 63 KiB (new), 0 bytes (No change)
    APK download size (estimated): 29 KiB (old), 29 KiB (new), 0 bytes (No change)

    Configuration xxxhdpi

    APK file size: 63 KiB (old), 63 KiB (new), 0 bytes (No change)
    APK download size (estimated): 28 KiB (old), 28 KiB (new), 0 bytes (No change)

    Alpha

    Expand to see flavor specifics

    Universal APK

    APK file size: 11 MiB (old), 11 MiB (new), 11 KiB (Removed)

    APK download size (estimated): 10 MiB (old), 10 MiB (new), 8195 bytes (Removed)

    Method count: 116262 (old), 116250 (new), 12 (Removed)

    Features: 2 (old), 2 (new), 0 (No change)

    Permissions: 6 (old), 6 (new), 0 (No change)

    Resources: 5786 (old), 5784 (new), 2 (Removed)

    • Anim: 33 (old), 33 (new), 0 (No change)
    • Animator: 24 (old), 24 (new), 0 (No change)
    • Array: 14 (old), 14 (new), 0 (No change)
    • Attr: 888 (old), 888 (new), 0 (No change)
    • Bool: 8 (old), 8 (new), 0 (No change)
    • Color: 820 (old), 820 (new), 0 (No change)
    • Dimen: 780 (old), 780 (new), 0 (No change)
    • Drawable: 342 (old), 342 (new), 0 (No change)
    • Id: 1221 (old), 1221 (new), 0 (No change)
    • Integer: 32 (old), 32 (new), 0 (No change)
    • Interpolator: 11 (old), 11 (new), 0 (No change)
    • Layout: 343 (old), 343 (new), 0 (No change)
    • Menu: 1 (old), 1 (new), 0 (No change)
    • Mipmap: 1 (old), 1 (new), 0 (No change)
    • Plurals: 10 (old), 10 (new), 0 (No change)
    • String: 785 (old), 783 (new), 2 (Removed):
      • string/profile_edit_delete_success_dialog_positive_button (removed)
      • string/profile_edit_delete_successful_message (removed)
    • Style: 472 (old), 472 (new), 0 (No change)
    • Xml: 1 (old), 1 (new), 0 (No change)

    Lesson assets: 111 (old), 111 (new), 0 (No change)

    AAB differences

    Expand to see AAB specifics

    Supported configurations:

    • hdpi (same)
    • ldpi (same)
    • mdpi (same)
    • tvdpi (same)
    • xhdpi (same)
    • xxhdpi (same)
    • xxxhdpi (same)

    Base APK

    APK file size: 11 MiB (old), 11 MiB (new), 11 KiB (Removed)
    APK download size (estimated): 10 MiB (old), 10 MiB (new), 4331 bytes (Removed)
    Method count: 116262 (old), 116250 (new), 12 (Removed)
    Resources: 5743 (old), 5741 (new), 2 (Removed)

    • String: 785 (old), 783 (new), 2 (Removed)

    Configuration hdpi

    APK file size: 43 KiB (old), 43 KiB (new), 0 bytes (No change)
    APK download size (estimated): 17 KiB (old), 17 KiB (new), 0 bytes (No change)

    Configuration ldpi

    APK file size: 44 KiB (old), 44 KiB (new), 0 bytes (No change)
    APK download size (estimated): 13 KiB (old), 13 KiB (new), 0 bytes (No change)

    Configuration mdpi

    APK file size: 38 KiB (old), 38 KiB (new), 0 bytes (No change)
    APK download size (estimated): 13 KiB (old), 13 KiB (new), 0 bytes (No change)

    Configuration tvdpi

    APK file size: 73 KiB (old), 73 KiB (new), 0 bytes (No change)
    APK download size (estimated): 27 KiB (old), 27 KiB (new), 0 bytes (No change)

    Configuration xhdpi

    APK file size: 50 KiB (old), 50 KiB (new), 0 bytes (No change)
    APK download size (estimated): 20 KiB (old), 20 KiB (new), 0 bytes (No change)

    Configuration xxhdpi

    APK file size: 55 KiB (old), 55 KiB (new), 0 bytes (No change)
    APK download size (estimated): 28 KiB (old), 28 KiB (new), 0 bytes (No change)

    Configuration xxxhdpi

    APK file size: 55 KiB (old), 55 KiB (new), 0 bytes (No change)
    APK download size (estimated): 27 KiB (old), 27 KiB (new), 0 bytes (No change)

    Beta

    Expand to see flavor specifics

    Universal APK

    APK file size: 11 MiB (old), 11 MiB (new), 11 KiB (Removed)

    APK download size (estimated): 10 MiB (old), 10 MiB (new), 6481 bytes (Removed)

    Method count: 116268 (old), 116256 (new), 12 (Removed)

    Features: 2 (old), 2 (new), 0 (No change)

    Permissions: 6 (old), 6 (new), 0 (No change)

    Resources: 5786 (old), 5784 (new), 2 (Removed)

    • Anim: 33 (old), 33 (new), 0 (No change)
    • Animator: 24 (old), 24 (new), 0 (No change)
    • Array: 14 (old), 14 (new), 0 (No change)
    • Attr: 888 (old), 888 (new), 0 (No change)
    • Bool: 8 (old), 8 (new), 0 (No change)
    • Color: 820 (old), 820 (new), 0 (No change)
    • Dimen: 780 (old), 780 (new), 0 (No change)
    • Drawable: 342 (old), 342 (new), 0 (No change)
    • Id: 1221 (old), 1221 (new), 0 (No change)
    • Integer: 32 (old), 32 (new), 0 (No change)
    • Interpolator: 11 (old), 11 (new), 0 (No change)
    • Layout: 343 (old), 343 (new), 0 (No change)
    • Menu: 1 (old), 1 (new), 0 (No change)
    • Mipmap: 1 (old), 1 (new), 0 (No change)
    • Plurals: 10 (old), 10 (new), 0 (No change)
    • String: 785 (old), 783 (new), 2 (Removed):
      • string/profile_edit_delete_success_dialog_positive_button (removed)
      • string/profile_edit_delete_successful_message (removed)
    • Style: 472 (old), 472 (new), 0 (No change)
    • Xml: 1 (old), 1 (new), 0 (No change)

    Lesson assets: 111 (old), 111 (new), 0 (No change)

    AAB differences

    Expand to see AAB specifics

    Supported configurations:

    • hdpi (same)
    • ldpi (same)
    • mdpi (same)
    • tvdpi (same)
    • xhdpi (same)
    • xxhdpi (same)
    • xxxhdpi (same)

    Base APK

    APK file size: 11 MiB (old), 11 MiB (new), 11 KiB (Removed)
    APK download size (estimated): 10 MiB (old), 10 MiB (new), 5710 bytes (Removed)
    Method count: 116268 (old), 116256 (new), 12 (Removed)
    Resources: 5743 (old), 5741 (new), 2 (Removed)

    • String: 785 (old), 783 (new), 2 (Removed)

    Configuration hdpi

    APK file size: 43 KiB (old), 43 KiB (new), 0 bytes (No change)
    APK download size (estimated): 17 KiB (old), 17 KiB (new), 0 bytes (No change)

    Configuration ldpi

    APK file size: 44 KiB (old), 44 KiB (new), 0 bytes (No change)
    APK download size (estimated): 13 KiB (old), 13 KiB (new), 0 bytes (No change)

    Configuration mdpi

    APK file size: 38 KiB (old), 38 KiB (new), 0 bytes (No change)
    APK download size (estimated): 13 KiB (old), 13 KiB (new), 0 bytes (No change)

    Configuration tvdpi

    APK file size: 73 KiB (old), 73 KiB (new), 0 bytes (No change)
    APK download size (estimated): 27 KiB (old), 27 KiB (new), 0 bytes (No change)

    Configuration xhdpi

    APK file size: 50 KiB (old), 50 KiB (new), 0 bytes (No change)
    APK download size (estimated): 20 KiB (old), 20 KiB (new), 0 bytes (No change)

    Configuration xxhdpi

    APK file size: 55 KiB (old), 55 KiB (new), 0 bytes (No change)
    APK download size (estimated): 28 KiB (old), 28 KiB (new), 0 bytes (No change)

    Configuration xxxhdpi

    APK file size: 55 KiB (old), 55 KiB (new), 0 bytes (No change)
    APK download size (estimated): 27 KiB (old), 27 KiB (new), 0 bytes (No change)

    Ga

    Expand to see flavor specifics

    Universal APK

    APK file size: 11 MiB (old), 11 MiB (new), 11 KiB (Removed)

    APK download size (estimated): 10 MiB (old), 10 MiB (new), 7754 bytes (Removed)

    Method count: 116268 (old), 116256 (new), 12 (Removed)

    Features: 2 (old), 2 (new), 0 (No change)

    Permissions: 6 (old), 6 (new), 0 (No change)

    Resources: 5786 (old), 5784 (new), 2 (Removed)

    • Anim: 33 (old), 33 (new), 0 (No change)
    • Animator: 24 (old), 24 (new), 0 (No change)
    • Array: 14 (old), 14 (new), 0 (No change)
    • Attr: 888 (old), 888 (new), 0 (No change)
    • Bool: 8 (old), 8 (new), 0 (No change)
    • Color: 820 (old), 820 (new), 0 (No change)
    • Dimen: 780 (old), 780 (new), 0 (No change)
    • Drawable: 342 (old), 342 (new), 0 (No change)
    • Id: 1221 (old), 1221 (new), 0 (No change)
    • Integer: 32 (old), 32 (new), 0 (No change)
    • Interpolator: 11 (old), 11 (new), 0 (No change)
    • Layout: 343 (old), 343 (new), 0 (No change)
    • Menu: 1 (old), 1 (new), 0 (No change)
    • Mipmap: 1 (old), 1 (new), 0 (No change)
    • Plurals: 10 (old), 10 (new), 0 (No change)
    • String: 785 (old), 783 (new), 2 (Removed):
      • string/profile_edit_delete_success_dialog_positive_button (removed)
      • string/profile_edit_delete_successful_message (removed)
    • Style: 472 (old), 472 (new), 0 (No change)
    • Xml: 1 (old), 1 (new), 0 (No change)

    Lesson assets: 111 (old), 111 (new), 0 (No change)

    AAB differences

    Expand to see AAB specifics

    Supported configurations:

    • hdpi (same)
    • ldpi (same)
    • mdpi (same)
    • tvdpi (same)
    • xhdpi (same)
    • xxhdpi (same)
    • xxxhdpi (same)

    Base APK

    APK file size: 11 MiB (old), 11 MiB (new), 11 KiB (Removed)
    APK download size (estimated): 10 MiB (old), 10 MiB (new), 7527 bytes (Removed)
    Method count: 116268 (old), 116256 (new), 12 (Removed)
    Resources: 5743 (old), 5741 (new), 2 (Removed)

    • String: 785 (old), 783 (new), 2 (Removed)

    Configuration hdpi

    APK file size: 43 KiB (old), 43 KiB (new), 0 bytes (No change)
    APK download size (estimated): 17 KiB (old), 17 KiB (new), 0 bytes (No change)

    Configuration ldpi

    APK file size: 44 KiB (old), 44 KiB (new), 0 bytes (No change)
    APK download size (estimated): 13 KiB (old), 13 KiB (new), 0 bytes (No change)

    Configuration mdpi

    APK file size: 38 KiB (old), 38 KiB (new), 0 bytes (No change)
    APK download size (estimated): 13 KiB (old), 13 KiB (new), 0 bytes (No change)

    Configuration tvdpi

    APK file size: 73 KiB (old), 73 KiB (new), 0 bytes (No change)
    APK download size (estimated): 27 KiB (old), 27 KiB (new), 0 bytes (No change)

    Configuration xhdpi

    APK file size: 50 KiB (old), 50 KiB (new), 0 bytes (No change)
    APK download size (estimated): 20 KiB (old), 20 KiB (new), 0 bytes (No change)

    Configuration xxhdpi

    APK file size: 55 KiB (old), 55 KiB (new), 0 bytes (No change)
    APK download size (estimated): 28 KiB (old), 28 KiB (new), 0 bytes (No change)

    Configuration xxxhdpi

    APK file size: 55 KiB (old), 55 KiB (new), 0 bytes (No change)
    APK download size (estimated): 27 KiB (old), 27 KiB (new), 0 bytes (No change)

    Copy link

    github-actions bot commented Dec 6, 2024

    APK & AAB differences analysis

    Note that this is a summarized snapshot. See the CI artifacts for detailed differences.

    Dev

    Expand to see flavor specifics

    Universal APK

    APK file size: 19 MiB (old), 19 MiB (new), 11 KiB (Removed)

    APK download size (estimated): 17 MiB (old), 17 MiB (new), 4800 bytes (Removed)

    Method count: 260177 (old), 260165 (new), 12 (Removed)

    Features: 2 (old), 2 (new), 0 (No change)

    Permissions: 6 (old), 6 (new), 0 (No change)

    Resources: 6818 (old), 6816 (new), 2 (Removed)

    • Anim: 43 (old), 43 (new), 0 (No change)
    • Animator: 26 (old), 26 (new), 0 (No change)
    • Array: 15 (old), 15 (new), 0 (No change)
    • Attr: 922 (old), 922 (new), 0 (No change)
    • Bool: 9 (old), 9 (new), 0 (No change)
    • Color: 967 (old), 967 (new), 0 (No change)
    • Dimen: 1048 (old), 1048 (new), 0 (No change)
    • Drawable: 380 (old), 380 (new), 0 (No change)
    • Id: 1275 (old), 1275 (new), 0 (No change)
    • Integer: 37 (old), 37 (new), 0 (No change)
    • Interpolator: 11 (old), 11 (new), 0 (No change)
    • Layout: 380 (old), 380 (new), 0 (No change)
    • Menu: 3 (old), 3 (new), 0 (No change)
    • Mipmap: 1 (old), 1 (new), 0 (No change)
    • Plurals: 10 (old), 10 (new), 0 (No change)
    • Raw: 2 (old), 2 (new), 0 (No change)
    • String: 852 (old), 850 (new), 2 (Removed):
      • string/profile_edit_delete_success_dialog_positive_button (removed)
      • string/profile_edit_delete_successful_message (removed)
    • Style: 831 (old), 831 (new), 0 (No change)
    • Xml: 6 (old), 6 (new), 0 (No change)

    Lesson assets: 111 (old), 111 (new), 0 (No change)

    AAB differences

    Expand to see AAB specifics

    Supported configurations:

    • hdpi (same)
    • ldpi (same)
    • mdpi (same)
    • tvdpi (same)
    • xhdpi (same)
    • xxhdpi (same)
    • xxxhdpi (same)

    Base APK

    APK file size: 18 MiB (old), 18 MiB (new), 11 KiB (Removed)
    APK download size (estimated): 17 MiB (old), 17 MiB (new), 6358 bytes (Removed)
    Method count: 260177 (old), 260165 (new), 12 (Removed)
    Resources: 6768 (old), 6766 (new), 2 (Removed)

    • String: 852 (old), 850 (new), 2 (Removed)

    Configuration hdpi

    APK file size: 50 KiB (old), 50 KiB (new), 0 bytes (No change)
    APK download size (estimated): 18 KiB (old), 18 KiB (new), 0 bytes (No change)

    Configuration ldpi

    APK file size: 49 KiB (old), 49 KiB (new), 0 bytes (No change)
    APK download size (estimated): 14 KiB (old), 14 KiB (new), 0 bytes (No change)

    Configuration mdpi

    APK file size: 45 KiB (old), 45 KiB (new), 0 bytes (No change)
    APK download size (estimated): 14 KiB (old), 14 KiB (new), 0 bytes (No change)

    Configuration tvdpi

    APK file size: 86 KiB (old), 86 KiB (new), 0 bytes (No change)
    APK download size (estimated): 29 KiB (old), 29 KiB (new), 0 bytes (No change)

    Configuration xhdpi

    APK file size: 57 KiB (old), 57 KiB (new), 0 bytes (No change)
    APK download size (estimated): 21 KiB (old), 21 KiB (new), 0 bytes (No change)

    Configuration xxhdpi

    APK file size: 63 KiB (old), 63 KiB (new), 0 bytes (No change)
    APK download size (estimated): 29 KiB (old), 29 KiB (new), 0 bytes (No change)

    Configuration xxxhdpi

    APK file size: 63 KiB (old), 63 KiB (new), 0 bytes (No change)
    APK download size (estimated): 28 KiB (old), 28 KiB (new), 0 bytes (No change)

    Alpha

    Expand to see flavor specifics

    Universal APK

    APK file size: 11 MiB (old), 11 MiB (new), 11 KiB (Removed)

    APK download size (estimated): 10 MiB (old), 10 MiB (new), 8629 bytes (Removed)

    Method count: 116253 (old), 116250 (new), 3 (Removed)

    Features: 2 (old), 2 (new), 0 (No change)

    Permissions: 6 (old), 6 (new), 0 (No change)

    Resources: 5786 (old), 5784 (new), 2 (Removed)

    • Anim: 33 (old), 33 (new), 0 (No change)
    • Animator: 24 (old), 24 (new), 0 (No change)
    • Array: 14 (old), 14 (new), 0 (No change)
    • Attr: 888 (old), 888 (new), 0 (No change)
    • Bool: 8 (old), 8 (new), 0 (No change)
    • Color: 820 (old), 820 (new), 0 (No change)
    • Dimen: 780 (old), 780 (new), 0 (No change)
    • Drawable: 342 (old), 342 (new), 0 (No change)
    • Id: 1221 (old), 1221 (new), 0 (No change)
    • Integer: 32 (old), 32 (new), 0 (No change)
    • Interpolator: 11 (old), 11 (new), 0 (No change)
    • Layout: 343 (old), 343 (new), 0 (No change)
    • Menu: 1 (old), 1 (new), 0 (No change)
    • Mipmap: 1 (old), 1 (new), 0 (No change)
    • Plurals: 10 (old), 10 (new), 0 (No change)
    • String: 785 (old), 783 (new), 2 (Removed):
      • string/profile_edit_delete_success_dialog_positive_button (removed)
      • string/profile_edit_delete_successful_message (removed)
    • Style: 472 (old), 472 (new), 0 (No change)
    • Xml: 1 (old), 1 (new), 0 (No change)

    Lesson assets: 111 (old), 111 (new), 0 (No change)

    AAB differences

    Expand to see AAB specifics

    Supported configurations:

    • hdpi (same)
    • ldpi (same)
    • mdpi (same)
    • tvdpi (same)
    • xhdpi (same)
    • xxhdpi (same)
    • xxxhdpi (same)

    Base APK

    APK file size: 11 MiB (old), 11 MiB (new), 11 KiB (Removed)
    APK download size (estimated): 10 MiB (old), 10 MiB (new), 4819 bytes (Removed)
    Method count: 116253 (old), 116250 (new), 3 (Removed)
    Resources: 5743 (old), 5741 (new), 2 (Removed)

    • String: 785 (old), 783 (new), 2 (Removed)

    Configuration hdpi

    APK file size: 43 KiB (old), 43 KiB (new), 0 bytes (No change)
    APK download size (estimated): 17 KiB (old), 17 KiB (new), 0 bytes (No change)

    Configuration ldpi

    APK file size: 44 KiB (old), 44 KiB (new), 0 bytes (No change)
    APK download size (estimated): 13 KiB (old), 13 KiB (new), 0 bytes (No change)

    Configuration mdpi

    APK file size: 38 KiB (old), 38 KiB (new), 0 bytes (No change)
    APK download size (estimated): 13 KiB (old), 13 KiB (new), 0 bytes (No change)

    Configuration tvdpi

    APK file size: 73 KiB (old), 73 KiB (new), 0 bytes (No change)
    APK download size (estimated): 27 KiB (old), 27 KiB (new), 0 bytes (No change)

    Configuration xhdpi

    APK file size: 50 KiB (old), 50 KiB (new), 0 bytes (No change)
    APK download size (estimated): 20 KiB (old), 20 KiB (new), 0 bytes (No change)

    Configuration xxhdpi

    APK file size: 55 KiB (old), 55 KiB (new), 0 bytes (No change)
    APK download size (estimated): 28 KiB (old), 28 KiB (new), 0 bytes (No change)

    Configuration xxxhdpi

    APK file size: 55 KiB (old), 55 KiB (new), 0 bytes (No change)
    APK download size (estimated): 27 KiB (old), 27 KiB (new), 0 bytes (No change)

    Beta

    Expand to see flavor specifics

    Universal APK

    APK file size: 11 MiB (old), 11 MiB (new), 11 KiB (Removed)

    APK download size (estimated): 10 MiB (old), 10 MiB (new), 5758 bytes (Removed)

    Method count: 116259 (old), 116256 (new), 3 (Removed)

    Features: 2 (old), 2 (new), 0 (No change)

    Permissions: 6 (old), 6 (new), 0 (No change)

    Resources: 5786 (old), 5784 (new), 2 (Removed)

    • Anim: 33 (old), 33 (new), 0 (No change)
    • Animator: 24 (old), 24 (new), 0 (No change)
    • Array: 14 (old), 14 (new), 0 (No change)
    • Attr: 888 (old), 888 (new), 0 (No change)
    • Bool: 8 (old), 8 (new), 0 (No change)
    • Color: 820 (old), 820 (new), 0 (No change)
    • Dimen: 780 (old), 780 (new), 0 (No change)
    • Drawable: 342 (old), 342 (new), 0 (No change)
    • Id: 1221 (old), 1221 (new), 0 (No change)
    • Integer: 32 (old), 32 (new), 0 (No change)
    • Interpolator: 11 (old), 11 (new), 0 (No change)
    • Layout: 343 (old), 343 (new), 0 (No change)
    • Menu: 1 (old), 1 (new), 0 (No change)
    • Mipmap: 1 (old), 1 (new), 0 (No change)
    • Plurals: 10 (old), 10 (new), 0 (No change)
    • String: 785 (old), 783 (new), 2 (Removed):
      • string/profile_edit_delete_success_dialog_positive_button (removed)
      • string/profile_edit_delete_successful_message (removed)
    • Style: 472 (old), 472 (new), 0 (No change)
    • Xml: 1 (old), 1 (new), 0 (No change)

    Lesson assets: 111 (old), 111 (new), 0 (No change)

    AAB differences

    Expand to see AAB specifics

    Supported configurations:

    • hdpi (same)
    • ldpi (same)
    • mdpi (same)
    • tvdpi (same)
    • xhdpi (same)
    • xxhdpi (same)
    • xxxhdpi (same)

    Base APK

    APK file size: 11 MiB (old), 11 MiB (new), 11 KiB (Removed)
    APK download size (estimated): 10 MiB (old), 10 MiB (new), 5128 bytes (Removed)
    Method count: 116259 (old), 116256 (new), 3 (Removed)
    Resources: 5743 (old), 5741 (new), 2 (Removed)

    • String: 785 (old), 783 (new), 2 (Removed)

    Configuration hdpi

    APK file size: 43 KiB (old), 43 KiB (new), 0 bytes (No change)
    APK download size (estimated): 17 KiB (old), 17 KiB (new), 0 bytes (No change)

    Configuration ldpi

    APK file size: 44 KiB (old), 44 KiB (new), 0 bytes (No change)
    APK download size (estimated): 13 KiB (old), 13 KiB (new), 0 bytes (No change)

    Configuration mdpi

    APK file size: 38 KiB (old), 38 KiB (new), 0 bytes (No change)
    APK download size (estimated): 13 KiB (old), 13 KiB (new), 0 bytes (No change)

    Configuration tvdpi

    APK file size: 73 KiB (old), 73 KiB (new), 0 bytes (No change)
    APK download size (estimated): 27 KiB (old), 27 KiB (new), 0 bytes (No change)

    Configuration xhdpi

    APK file size: 50 KiB (old), 50 KiB (new), 0 bytes (No change)
    APK download size (estimated): 20 KiB (old), 20 KiB (new), 0 bytes (No change)

    Configuration xxhdpi

    APK file size: 55 KiB (old), 55 KiB (new), 0 bytes (No change)
    APK download size (estimated): 28 KiB (old), 28 KiB (new), 0 bytes (No change)

    Configuration xxxhdpi

    APK file size: 55 KiB (old), 55 KiB (new), 0 bytes (No change)
    APK download size (estimated): 27 KiB (old), 27 KiB (new), 0 bytes (No change)

    Ga

    Expand to see flavor specifics

    Universal APK

    APK file size: 11 MiB (old), 11 MiB (new), 11 KiB (Removed)

    APK download size (estimated): 10 MiB (old), 10 MiB (new), 5606 bytes (Removed)

    Method count: 116259 (old), 116256 (new), 3 (Removed)

    Features: 2 (old), 2 (new), 0 (No change)

    Permissions: 6 (old), 6 (new), 0 (No change)

    Resources: 5786 (old), 5784 (new), 2 (Removed)

    • Anim: 33 (old), 33 (new), 0 (No change)
    • Animator: 24 (old), 24 (new), 0 (No change)
    • Array: 14 (old), 14 (new), 0 (No change)
    • Attr: 888 (old), 888 (new), 0 (No change)
    • Bool: 8 (old), 8 (new), 0 (No change)
    • Color: 820 (old), 820 (new), 0 (No change)
    • Dimen: 780 (old), 780 (new), 0 (No change)
    • Drawable: 342 (old), 342 (new), 0 (No change)
    • Id: 1221 (old), 1221 (new), 0 (No change)
    • Integer: 32 (old), 32 (new), 0 (No change)
    • Interpolator: 11 (old), 11 (new), 0 (No change)
    • Layout: 343 (old), 343 (new), 0 (No change)
    • Menu: 1 (old), 1 (new), 0 (No change)
    • Mipmap: 1 (old), 1 (new), 0 (No change)
    • Plurals: 10 (old), 10 (new), 0 (No change)
    • String: 785 (old), 783 (new), 2 (Removed):
      • string/profile_edit_delete_success_dialog_positive_button (removed)
      • string/profile_edit_delete_successful_message (removed)
    • Style: 472 (old), 472 (new), 0 (No change)
    • Xml: 1 (old), 1 (new), 0 (No change)

    Lesson assets: 111 (old), 111 (new), 0 (No change)

    AAB differences

    Expand to see AAB specifics

    Supported configurations:

    • hdpi (same)
    • ldpi (same)
    • mdpi (same)
    • tvdpi (same)
    • xhdpi (same)
    • xxhdpi (same)
    • xxxhdpi (same)

    Base APK

    APK file size: 11 MiB (old), 11 MiB (new), 11 KiB (Removed)
    APK download size (estimated): 10 MiB (old), 10 MiB (new), 6142 bytes (Removed)
    Method count: 116259 (old), 116256 (new), 3 (Removed)
    Resources: 5743 (old), 5741 (new), 2 (Removed)

    • String: 785 (old), 783 (new), 2 (Removed)

    Configuration hdpi

    APK file size: 43 KiB (old), 43 KiB (new), 0 bytes (No change)
    APK download size (estimated): 17 KiB (old), 17 KiB (new), 0 bytes (No change)

    Configuration ldpi

    APK file size: 44 KiB (old), 44 KiB (new), 0 bytes (No change)
    APK download size (estimated): 13 KiB (old), 13 KiB (new), 0 bytes (No change)

    Configuration mdpi

    APK file size: 38 KiB (old), 38 KiB (new), 0 bytes (No change)
    APK download size (estimated): 13 KiB (old), 13 KiB (new), 0 bytes (No change)

    Configuration tvdpi

    APK file size: 73 KiB (old), 73 KiB (new), 0 bytes (No change)
    APK download size (estimated): 27 KiB (old), 27 KiB (new), 0 bytes (No change)

    Configuration xhdpi

    APK file size: 50 KiB (old), 50 KiB (new), 0 bytes (No change)
    APK download size (estimated): 20 KiB (old), 20 KiB (new), 0 bytes (No change)

    Configuration xxhdpi

    APK file size: 55 KiB (old), 55 KiB (new), 0 bytes (No change)
    APK download size (estimated): 28 KiB (old), 28 KiB (new), 0 bytes (No change)

    Configuration xxxhdpi

    APK file size: 55 KiB (old), 55 KiB (new), 0 bytes (No change)
    APK download size (estimated): 27 KiB (old), 27 KiB (new), 0 bytes (No change)

    @TanishMoral11
    Copy link
    Contributor Author

    TanishMoral11 commented Dec 10, 2024

    Hey @adhiamboperes Could You PTAL ,

    Explanation of Implementation

    I’ve made updates to handle the left alignment of text, especially bullet points, in the Policies page for both RTL and LTR layouts.

    1. Left-Aligned Bullet Points:
      A custom span (LeftAlignedSymbolsSpan) was added to ensure that bullet points are always left-aligned, regardless of text direction.

    2. Text Alignment Adjustments:
      The text in the policy description was explicitly set to left-aligned for both layout direction (View.LAYOUT_DIRECTION_LTR) and text direction (View.TEXT_DIRECTION_LTR), ensuring consistent presentation.

    Test Passed Screen Shot :
    Screenshot 2024-12-10 211515

    After Changes Video :
    https://github.com/user-attachments/assets/db3a82db-4a71-4aeb-b483-9eb822da7080

    @oppiabot oppiabot bot assigned adhiamboperes and unassigned TanishMoral11 Dec 10, 2024
    Copy link

    oppiabot bot commented Dec 10, 2024

    Unassigning @TanishMoral11 since a re-review was requested. @TanishMoral11, please make sure you have addressed all review comments. Thanks!

    Copy link
    Collaborator

    @adhiamboperes adhiamboperes left a comment

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    Thanks @TanishMoral11!

    I have some clarifications, and a few comments to solve the CI failures.

    1. Please fix the unuused attribute error utility/src/main/java/org/oppia/android/util/parser/html/ListItemLeadingMarginSpan.kt:149:13: warning: variable 'textWidth' is never used
    2. LeftAlignedSymbolsSpan.kt is a new class, but it does not seem to have been added to a Bazel BUILD file, so Bazel may not be able to find it during build.
    3. Is locale the correct package for LeftAlignedSymbolsSpan? Please verify that that is the same packake where similar utilities are created.

    Lastly, please do a spot check in a few lessons/revision cards to verify that the bullets behavior remains unaffected.

    Comment on lines 7 to 8
    // Custom span to force LTR alignment for symbols as well
    // Custom span to force LTR alignment for all text including symbols
    Copy link
    Collaborator

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    This should be a KDOC rather than a comment.

    Copy link
    Contributor Author

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    Done.

    @TanishMoral11
    Copy link
    Contributor Author

    Thanks @adhiamboperes , PTAL !!

    2. [LeftAlignedSymbolsSpan.kt](https://github.com/oppia/oppia-android/pull/5573/files#diff-629cfdb57266c5bf09ed4b58981c9004970b425495035e4eef5655f5cef1d374) is a new class, but it does not seem to have been added to a Bazel BUILD file, so Bazel may not be able to find it during build.

    I Added LeftAlignedSymbolsSpan.kt To The Bazel BUILD File But Encountered Test Failures. Could You Help Me Understand Which Tests Are Failing And Any Specific Integration Requirements?

    3. Is locale the correct package for LeftAlignedSymbolsSpan? Please verify that that is the same packake where similar utilities are created.

    Yeah, You're Right About The Package Location. I Moved LeftAlignedSymbolsSpan To org.oppia.android.util.parser.html Since It's An HTML Parsing Utility.

    Lastly, please do a spot check in a few lessons/revision cards to verify that the bullets behavior remains unaffected.

    I've Tested The App, And As Yet No Misbehavior Was Detected Related To These Changes.

    Copy link

    oppiabot bot commented Dec 16, 2024

    Unassigning @TanishMoral11 since a re-review was requested. @TanishMoral11, please make sure you have addressed all review comments. Thanks!

    Copy link
    Collaborator

    @adhiamboperes adhiamboperes left a comment

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    Apologies for taking a while to review this, @TanishMoral11.

    A few points to note on Bazel:

    1. I have taken a look at your CI failures. The latest error is app/policies/PoliciesFragmentPresenter_updated.kt:78:56: warning: parameter 'lineIndex' is never used, could be renamed to _ parsedHtmlDescription.split("\n").forEachIndexed { lineIndex, line ->. Unless you fix this error, you won't be able to see if there are additional errors.
    2. You can read this wiki page for information on how to read Bazel CI errors. A youtube video is also linked.
    3. You should set aside some time to set up the project build in Bazel, so that you can run Bazel builds locally. Additionally, some more advanced issues you'll encounter will require you to have Bazel set up. The discussions section will be helpful in searching for solutions to some common setup issues.

    @@ -46,6 +46,7 @@ kt_android_library(
    name = "list_item_leading_margin_span",
    srcs = [
    "ListItemLeadingMarginSpan.kt",
    "LeftAlignedSymbolsSpan.kt",
    Copy link
    Collaborator

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    @TanishMoral11, to answer your question regarding adding this class to the build file:

    1. Sometimes a kt lib can have multiple source files like you have added here, and for tag_handlers, but it depends on usecase. E.g., if you want to use LeftAlignedSymbolsSpan in a different part of the codepase, you will need to add a dependency on the lib, list_item_leading_margin_span, which will provide both ListItemLeadingMarginSpan and LeftAlignedSymbolsSpan. On the other hand, each class can have it's own lib if they are only used in a standalone way, like most of the other utility classes in this package and their corresponding libs in this BUILD file.

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    None yet
    Projects
    None yet
    2 participants