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 part of #5661: Add Missing style Attributes to TextViews #5682

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

Conversation

Harsh2118-hub
Copy link

@Harsh2118-hub Harsh2118-hub commented Jan 31, 2025

"Fix part of #5661"

-Edited attributeIds list in TextViewStyleCheck which don't has repeated IDs and id's for those text view and style.xml file has been updated.

-edited list
private val attributeIds = listOf(
"@+id/text_view_for_int_no_data_binding",
"@+id/walkthrough_topic_name_text_view",
"@+id/walkthrough_lesson_count_text_view",
"@+id/hint_bar_title",
"@+id/coming_soon_text_view",
"@+id/topic_name_text_view",
"@+id/lesson_count_text_view",
"@+id/multiple_choice_content_text_view",
"@+id/language_text_view",
"@+id/welcome_text_view",
"@+id/app_version_text_view",
"@+id/app_last_update_date_text_view",
"@+id/test_margin_text_view",
"@+id/content_text_view",
"@+id/action_options",
"@+id/action_help",
"@+id/action_close",
"@+id/continue_studying_text_view",
"@+id/language_unavailable_notice",
"@+id/story_progress_chapter_completed_text",
"@+id/profile_id_view_profile_name",
"@+id/profile_id_view_learner_id",
"@+id/learner_events_waiting_upload_label",
"@+id/learner_events_waiting_upload_count",
"@+id/learner_events_uploaded_label",
"@+id/learner_events_uploaded_count",
"@+id/uncategorized_events_waiting_upload_label",
"@+id/uncategorized_events_waiting_upload_count",
"@+id/uncategorized_events_uploaded_label",
"@+id/uncategorized_events_uploaded_count",
"@+id/text_view_for_live_data_no_data_binding",
"@+id/selection_interaction_textview",
"@+id/onboarding_steps_count",
"@+id/profile_picture_edit_dialog_view_picture",
"@+id/profile_picture_edit_dialog_change_picture",
"@+id/chapter_title",
"@+id/walkthrough_welcome_title_text_view",
"@+id/story_name_text_view",
"@+id/copyright_license_text_view",
"@+id/ga_update_notice_dialog_message",
"@+id/create_profile_picture_prompt",
"@+id/profile_reset_pin_main",
"@+id/submitted_answer_text_view",
"@+id/end_session_header_text_view",
"@+id/end_session_body_text_view",
"@+id/question_progress_text",
"@+id/congratulations_text_view",
"@+id/beta_notice_dialog_message",
"@+id/onboarding_language_explanation",
"@+id/create_profile_title",
"@+id/profile_name_text_view",
"@+id/resume_lesson_chapter_title_text_view",
"@+id/story_count_text_view",
"@+id/download_size_text_view",
"@+id/options_activity_selected_options_title",
"@+id/profile_select_text",
"@+id/extra_controls_title",
"@+id/view_all_text_view"
)

  • Applied the new styles in the respective layout XML files

  • Removed TextView attribute IDs from the exception list in TextViewStyleCheck.kt

-Created a new styles in styles.xml to define text appearance consistently.

-Updated textview to apply the newly created style .

from the exception list in TextViewStyleCheck.kt since it now follows the required style guidelines.

Essential Checklist

  • [ x] The PR title and explanation each start with "Fix #bugnum: " (If this PR fixes part of an issue, prefix the title with "Fix part of #bugnum: ...".)
  • [ x] Any changes to scripts/assets files have their rationale included in the PR explanation.
  • [ x] The PR follows the style guide.
  • [ x] The PR does not contain any unnecessary code changes from Android Studio (reference).
  • [ x] The PR is made from a branch that's not called "develop" and is up-to-date with "develop".
  • [ x] The PR is assigned to the appropriate reviewers (reference).

- Applied the new styles in the respective layout XML files
- Removed 2 TextView attribute IDs from the exception list in TextViewStyleCheck.kt
@Harsh2118-hub Harsh2118-hub requested review from a team as code owners January 31, 2025 12:53
@Harsh2118-hub Harsh2118-hub marked this pull request as draft January 31, 2025 12:53
@Harsh2118-hub
Copy link
Author

am i heading right? @manas-yu

@@ -146,4 +143,4 @@
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
</ScrollView>
</layout>
</layout>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Always add an extra line at the end of the file

@manas-yu
Copy link
Collaborator

manas-yu commented Jan 31, 2025

Hi @Harsh2118-hub , Ensure that all TextViews related to the given ID are resolved before removing them from the list. For example, both walkthrough_final_yes_text_view and walkthrough_final_no_text_view are also referenced below and should be handled accordingly.

android:id="@+id/walkthrough_final_yes_text_view"

android:id="@+id/walkthrough_final_no_text_view"

You can even confirm after removing the IDs if any reference is left out by running the command: bazel run //scripts:check_textview_styles -- $(pwd) or just use CTRL+Shift+f to search for all references of the id.

@@ -826,4 +826,17 @@
<item name="endIconDrawable">@drawable/ic_arrow_drop_down_black_24dp</item>
<item name="endIconTint">@color/component_color_shared_black_background_color</item>
</style>

<style name="WalkthroughFinalNoTextViewStyle" parent="TextView.Common1">
Copy link
Collaborator

Choose a reason for hiding this comment

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

You can reuse these styles for the respective IDs present in layout-land/walkthrough_final_fragment.xml

@Harsh2118-hub
Copy link
Author

@manas-yu thanks for guidance

@Harsh2118-hub
Copy link
Author

please take a look @manas-yu , this time the command- bazel run //scripts:check_textview_styles -- $(pwd) is working
Screenshot from 2025-02-01 15-48-22

Copy link

oppiabot bot commented Feb 1, 2025

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

@@ -189,14 +189,6 @@ private class TextViewStyleCheck {

// TODO(#5661): Add missing styles for TextView IDs.
private val attributeIds = listOf(
Copy link
Collaborator

Choose a reason for hiding this comment

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

Ah looks like this was overlooked in #5599 the attributeIds has repeated IDs and could cause an issue it would be better to replace it with the below :

Set of ids

private val attributeIds = listOf(
  "@+id/developer_options_text_view",
  "@+id/onboarding_language_text_view",
  "@+id/walkthrough_final_no_text_view",
  "@+id/walkthrough_final_yes_text_view",
  "@+id/walkthrough_final_title_text_view",
  "@+id/chapter_index",
  "@+id/test_text_view",
  "@+id/feedback_text_view",
  "@+id/item_selection_contents_text_view",
  "@+id/learner_analytics_sync_status_text_view",
  "@+id/text_view_for_int_no_data_binding",
  "@+id/walkthrough_topic_name_text_view",
  "@+id/walkthrough_lesson_count_text_view",
  "@+id/hint_bar_title",
  "@+id/coming_soon_text_view",
  "@+id/topic_name_text_view",
  "@+id/lesson_count_text_view",
  "@+id/multiple_choice_content_text_view",
  "@+id/language_text_view",
  "@+id/welcome_text_view",
  "@+id/app_version_text_view",
  "@+id/app_last_update_date_text_view",
  "@+id/test_margin_text_view",
  "@+id/content_text_view",
  "@+id/action_options",
  "@+id/action_help",
  "@+id/action_close",
  "@+id/continue_studying_text_view",
  "@+id/language_unavailable_notice",
  "@+id/story_progress_chapter_completed_text",
  "@+id/profile_id_view_profile_name",
  "@+id/profile_id_view_learner_id",
  "@+id/learner_events_waiting_upload_label",
  "@+id/learner_events_waiting_upload_count",
  "@+id/learner_events_uploaded_label",
  "@+id/learner_events_uploaded_count",
  "@+id/uncategorized_events_waiting_upload_label",
  "@+id/uncategorized_events_waiting_upload_count",
  "@+id/uncategorized_events_uploaded_label",
  "@+id/uncategorized_events_uploaded_count",
  "@+id/text_view_for_live_data_no_data_binding",
  "@+id/selection_interaction_textview",
  "@+id/onboarding_steps_count",
  "@+id/profile_picture_edit_dialog_view_picture",
  "@+id/profile_picture_edit_dialog_change_picture",
  "@+id/chapter_title",
  "@+id/walkthrough_welcome_title_text_view",
  "@+id/story_name_text_view",
  "@+id/copyright_license_text_view",
  "@+id/ga_update_notice_dialog_message",
  "@+id/create_profile_picture_prompt",
  "@+id/profile_reset_pin_main",
  "@+id/submitted_answer_text_view",
  "@+id/end_session_header_text_view",
  "@+id/end_session_body_text_view",
  "@+id/question_progress_text",
  "@+id/congratulations_text_view",
  "@+id/beta_notice_dialog_message",
  "@+id/onboarding_language_explanation",
  "@+id/create_profile_title",
  "@+id/profile_name_text_view",
  "@+id/resume_lesson_chapter_title_text_view",
  "@+id/story_count_text_view",
  "@+id/download_size_text_view",
  "@+id/options_activity_selected_options_title",
  "@+id/profile_select_text",
  "@+id/extra_controls_title",
  "@+id/view_all_text_view"
)

I think we can handle this change in this PR only as opening a separate one for this issue doesn't seem necessary. Please replace the current attributeIds with the one I provided above after removing the IDs you have already added the style attribute for.

</layout>
style="@style/TestTextViewStyle"
android:text="@string/app_name" />
</layout>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Add an extra line at the end of the file, same for the rest.

@manas-yu
Copy link
Collaborator

manas-yu commented Feb 1, 2025

Thanks @Harsh2118-hub for the changes and PTAL at this comment and re-run the command.

The only reference left is the walkthrough_final_title_text_view here which must have been overlooked due to the comment

Also add to the PR description for replacing the list of attributeIds with a Set, and also add "Fix part of #5661" in the PR explanation and title.

@Harsh2118-hub
Copy link
Author

Screenshot from 2025-02-01 19-39-53
Screenshot from 2025-02-01 21-08-37
Screenshot from 2025-02-01 21-09-15
Screenshot from 2025-02-01 21-09-59
Screenshot from 2025-02-01 21-10-30
Screenshot from 2025-02-01 21-11-05
Screenshot from 2025-02-01 21-11-37

screenshots for reference

@Harsh2118-hub
Copy link
Author

@manas-yu PTAL , can i move forward with remaning attributes id which are left .

Copy link

oppiabot bot commented Feb 2, 2025

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

@Harsh2118-hub Harsh2118-hub marked this pull request as ready for review February 3, 2025 12:38
@manas-yu
Copy link
Collaborator

manas-yu commented Feb 3, 2025

Thanks @Harsh2118-hub for the changes! You can work on three more IDs to complete the PR as mentioned here, and it will be good to go.

Also please update the PR description and title as I mentioned earlier
"Fix part of #5661" in the PR explanation and title both.
add the update of the list of attributeIds to a set in PR description

@Harsh2118-hub
Copy link
Author

screenshots for refernce
Screenshot from 2025-02-03 19-43-28
Screenshot from 2025-02-03 19-43-50
Screenshot from 2025-02-03 19-44-04

@manas-yu
Copy link
Collaborator

manas-yu commented Feb 3, 2025

Thanks, @Harsh2118-hub. This looks good. Just update the PR title and description with "Fix part of #5661" and resolve the left out comment.
@adhiamboperes PTAL I have taken a brief overview of this PR and also wanted to bring to your attention the update to #5599.

Copy link

github-actions bot commented Feb 4, 2025

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), 3636 bytes (Added)

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

Method count: 260299 (old), 260299 (new), 0 (No change)

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

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

Resources: 6830 (old), 6840 (new), 10 (Added)

  • 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: 1285 (old), 1285 (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: 853 (old), 853 (new), 0 (No change)
  • Style: 832 (old), 842 (new), 10 (Added):
    • style/ChapterIndexTextViewStyle (added)
    • style/DeveloperOptionsTextViewStyle (added)
    • style/FeedbackTextViewStyle (added)
    • style/ItemSelectionContentsTextViewStyle (added)
    • style/LearnerAnalyticsSyncStatusTextViewStyle (added)
    • And 5 others
  • 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), 3596 bytes (Added)
APK download size (estimated): 17 MiB (old), 17 MiB (new), 1158 bytes (Added)
Resources: 6780 (old), 6790 (new), 10 (Added)

  • Style: 832 (old), 842 (new), 10 (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), 1940 bytes (Added)

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

Method count: 115822 (old), 115822 (new), 0 (No change)

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

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

Resources: 5798 (old), 5799 (new), 1 (Added)

  • 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), 772 (new), 8 (Removed):
    • dimen/feedback_item_exploration_split_view_padding_bottom (removed)
    • dimen/feedback_item_exploration_split_view_padding_end (removed)
    • dimen/feedback_item_exploration_split_view_padding_start (removed)
    • dimen/feedback_item_exploration_split_view_padding_top (removed)
    • dimen/feedback_item_exploration_view_padding_bottom (removed)
    • And 3 others
  • Drawable: 342 (old), 342 (new), 0 (No change)
  • Id: 1231 (old), 1231 (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: 786 (old), 785 (new), 1 (Removed):
    • string/great (removed)
  • Style: 473 (old), 483 (new), 10 (Added):
    • style/ChapterIndexTextViewStyle (added)
    • style/DeveloperOptionsTextViewStyle (added)
    • style/FeedbackTextViewStyle (added)
    • style/ItemSelectionContentsTextViewStyle (added)
    • style/LearnerAnalyticsSyncStatusTextViewStyle (added)
    • And 5 others
  • 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), 1908 bytes (Added)
APK download size (estimated): 10 MiB (old), 10 MiB (new), 727 bytes (Added)
Resources: 5755 (old), 5756 (new), 1 (Added)

  • Dimen: 778 (old), 770 (new), 8 (Removed)
  • String: 786 (old), 785 (new), 1 (Removed)
  • Style: 473 (old), 483 (new), 10 (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), 2180 bytes (Added)

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

Method count: 115828 (old), 115828 (new), 0 (No change)

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

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

Resources: 5798 (old), 5799 (new), 1 (Added)

  • 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), 772 (new), 8 (Removed):
    • dimen/feedback_item_exploration_split_view_padding_bottom (removed)
    • dimen/feedback_item_exploration_split_view_padding_end (removed)
    • dimen/feedback_item_exploration_split_view_padding_start (removed)
    • dimen/feedback_item_exploration_split_view_padding_top (removed)
    • dimen/feedback_item_exploration_view_padding_bottom (removed)
    • And 3 others
  • Drawable: 342 (old), 342 (new), 0 (No change)
  • Id: 1231 (old), 1231 (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: 786 (old), 785 (new), 1 (Removed):
    • string/great (removed)
  • Style: 473 (old), 483 (new), 10 (Added):
    • style/ChapterIndexTextViewStyle (added)
    • style/DeveloperOptionsTextViewStyle (added)
    • style/FeedbackTextViewStyle (added)
    • style/ItemSelectionContentsTextViewStyle (added)
    • style/LearnerAnalyticsSyncStatusTextViewStyle (added)
    • And 5 others
  • 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: 10 MiB (old), 10 MiB (new), 2140 bytes (Added)
APK download size (estimated): 9 MiB (old), 9 MiB (new), 162 bytes (Added)
Resources: 5755 (old), 5756 (new), 1 (Added)

  • Dimen: 778 (old), 770 (new), 8 (Removed)
  • String: 786 (old), 785 (new), 1 (Removed)
  • Style: 473 (old), 483 (new), 10 (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), 2144 bytes (Added)

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

Method count: 115828 (old), 115828 (new), 0 (No change)

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

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

Resources: 5798 (old), 5799 (new), 1 (Added)

  • 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), 772 (new), 8 (Removed):
    • dimen/feedback_item_exploration_split_view_padding_bottom (removed)
    • dimen/feedback_item_exploration_split_view_padding_end (removed)
    • dimen/feedback_item_exploration_split_view_padding_start (removed)
    • dimen/feedback_item_exploration_split_view_padding_top (removed)
    • dimen/feedback_item_exploration_view_padding_bottom (removed)
    • And 3 others
  • Drawable: 342 (old), 342 (new), 0 (No change)
  • Id: 1231 (old), 1231 (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: 786 (old), 785 (new), 1 (Removed):
    • string/great (removed)
  • Style: 473 (old), 483 (new), 10 (Added):
    • style/ChapterIndexTextViewStyle (added)
    • style/DeveloperOptionsTextViewStyle (added)
    • style/FeedbackTextViewStyle (added)
    • style/ItemSelectionContentsTextViewStyle (added)
    • style/LearnerAnalyticsSyncStatusTextViewStyle (added)
    • And 5 others
  • 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: 10 MiB (old), 10 MiB (new), 2108 bytes (Added)
APK download size (estimated): 9 MiB (old), 9 MiB (new), 167 bytes (Added)
Resources: 5755 (old), 5756 (new), 1 (Added)

  • Dimen: 778 (old), 770 (new), 8 (Removed)
  • String: 786 (old), 785 (new), 1 (Removed)
  • Style: 473 (old), 483 (new), 10 (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)

@Harsh2118-hub Harsh2118-hub changed the title Fix #5661: Add Missing style Attributes to TextViews Fix part of #5661: Add Missing style Attributes to TextViews Feb 4, 2025
Copy link

github-actions bot commented Feb 5, 2025

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), 3640 bytes (Added)

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

Method count: 260299 (old), 260299 (new), 0 (No change)

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

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

Resources: 6830 (old), 6840 (new), 10 (Added)

  • 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: 1285 (old), 1285 (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: 853 (old), 853 (new), 0 (No change)
  • Style: 832 (old), 842 (new), 10 (Added):
    • style/ChapterIndexTextViewStyle (added)
    • style/DeveloperOptionsTextViewStyle (added)
    • style/FeedbackTextViewStyle (added)
    • style/ItemSelectionContentsTextViewStyle (added)
    • style/LearnerAnalyticsSyncStatusTextViewStyle (added)
    • And 5 others
  • 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), 3604 bytes (Added)
APK download size (estimated): 17 MiB (old), 17 MiB (new), 1164 bytes (Added)
Resources: 6780 (old), 6790 (new), 10 (Added)

  • Style: 832 (old), 842 (new), 10 (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), 1928 bytes (Added)

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

Method count: 115822 (old), 115822 (new), 0 (No change)

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

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

Resources: 5798 (old), 5799 (new), 1 (Added)

  • 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), 772 (new), 8 (Removed):
    • dimen/feedback_item_exploration_split_view_padding_bottom (removed)
    • dimen/feedback_item_exploration_split_view_padding_end (removed)
    • dimen/feedback_item_exploration_split_view_padding_start (removed)
    • dimen/feedback_item_exploration_split_view_padding_top (removed)
    • dimen/feedback_item_exploration_view_padding_bottom (removed)
    • And 3 others
  • Drawable: 342 (old), 342 (new), 0 (No change)
  • Id: 1231 (old), 1231 (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: 786 (old), 785 (new), 1 (Removed):
    • string/great (removed)
  • Style: 473 (old), 483 (new), 10 (Added):
    • style/ChapterIndexTextViewStyle (added)
    • style/DeveloperOptionsTextViewStyle (added)
    • style/FeedbackTextViewStyle (added)
    • style/ItemSelectionContentsTextViewStyle (added)
    • style/LearnerAnalyticsSyncStatusTextViewStyle (added)
    • And 5 others
  • 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), 1892 bytes (Added)
APK download size (estimated): 10 MiB (old), 10 MiB (new), 694 bytes (Added)
Resources: 5755 (old), 5756 (new), 1 (Added)

  • Dimen: 778 (old), 770 (new), 8 (Removed)
  • String: 786 (old), 785 (new), 1 (Removed)
  • Style: 473 (old), 483 (new), 10 (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), 2168 bytes (Added)

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

Method count: 115828 (old), 115828 (new), 0 (No change)

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

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

Resources: 5798 (old), 5799 (new), 1 (Added)

  • 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), 772 (new), 8 (Removed):
    • dimen/feedback_item_exploration_split_view_padding_bottom (removed)
    • dimen/feedback_item_exploration_split_view_padding_end (removed)
    • dimen/feedback_item_exploration_split_view_padding_start (removed)
    • dimen/feedback_item_exploration_split_view_padding_top (removed)
    • dimen/feedback_item_exploration_view_padding_bottom (removed)
    • And 3 others
  • Drawable: 342 (old), 342 (new), 0 (No change)
  • Id: 1231 (old), 1231 (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: 786 (old), 785 (new), 1 (Removed):
    • string/great (removed)
  • Style: 473 (old), 483 (new), 10 (Added):
    • style/ChapterIndexTextViewStyle (added)
    • style/DeveloperOptionsTextViewStyle (added)
    • style/FeedbackTextViewStyle (added)
    • style/ItemSelectionContentsTextViewStyle (added)
    • style/LearnerAnalyticsSyncStatusTextViewStyle (added)
    • And 5 others
  • 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: 10 MiB (old), 10 MiB (new), 2132 bytes (Added)
APK download size (estimated): 9 MiB (old), 9 MiB (new), 80 bytes (Added)
Resources: 5755 (old), 5756 (new), 1 (Added)

  • Dimen: 778 (old), 770 (new), 8 (Removed)
  • String: 786 (old), 785 (new), 1 (Removed)
  • Style: 473 (old), 483 (new), 10 (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), 2140 bytes (Added)

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

Method count: 115828 (old), 115828 (new), 0 (No change)

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

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

Resources: 5798 (old), 5799 (new), 1 (Added)

  • 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), 772 (new), 8 (Removed):
    • dimen/feedback_item_exploration_split_view_padding_bottom (removed)
    • dimen/feedback_item_exploration_split_view_padding_end (removed)
    • dimen/feedback_item_exploration_split_view_padding_start (removed)
    • dimen/feedback_item_exploration_split_view_padding_top (removed)
    • dimen/feedback_item_exploration_view_padding_bottom (removed)
    • And 3 others
  • Drawable: 342 (old), 342 (new), 0 (No change)
  • Id: 1231 (old), 1231 (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: 786 (old), 785 (new), 1 (Removed):
    • string/great (removed)
  • Style: 473 (old), 483 (new), 10 (Added):
    • style/ChapterIndexTextViewStyle (added)
    • style/DeveloperOptionsTextViewStyle (added)
    • style/FeedbackTextViewStyle (added)
    • style/ItemSelectionContentsTextViewStyle (added)
    • style/LearnerAnalyticsSyncStatusTextViewStyle (added)
    • And 5 others
  • 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: 10 MiB (old), 10 MiB (new), 2108 bytes (Added)
APK download size (estimated): 9 MiB (old), 9 MiB (new), 178 bytes (Added)
Resources: 5755 (old), 5756 (new), 1 (Added)

  • Dimen: 778 (old), 770 (new), 8 (Removed)
  • String: 786 (old), 785 (new), 1 (Removed)
  • Style: 473 (old), 483 (new), 10 (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)

@Harsh2118-hub
Copy link
Author

PTAL @adhiamboperes

@Harsh2118-hub
Copy link
Author

Hi @manas-yu , I wanted to follow up on this PR and check if there are any updates. Please let me know if there's anything I can do to assist or anything I can do to expedite the review.

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

Successfully merging this pull request may close these issues.

3 participants