-
Notifications
You must be signed in to change notification settings - Fork 499
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
Fixes #4185: Added Dark Mode for HelpActivity , FaqListActivity , FaqSingleActivity #4245
Conversation
@bhaktideshmukh Haven't looked at the changes yet but also update the color for ActionBar to the correct color. You might want to look at the theme in the manifest that this screen is using and refer to OppiaActionBarTheme we are currently using for another theme for this. |
Do you mean to update 'android:theme="@style/Widget.AppCompat.ActionBar" ' to 'android:theme="@style/OppiaThemeWithoutActionBar" in the toolbar section. |
Un-assigning until approved / re-assigned by @ayush0402 |
@bhaktideshmukh We are not supposed to change anything directly in the manifest file. If you look at the current declaration of |
I have updated the theme in Faq_list_activity.xml -- is this what you suggested? |
PTAL @ayush0402 |
Hi @bhaktideshmukh, I'm going to mark this PR as stale because it hasn't had any updates for 7 days. If no further activity occurs within 7 days, it will be automatically closed so that others can take up the issue. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bhaktideshmukh Thanks, overall this looks good. Just had a few suggestions.
Also, I think the content of the FAQ and other list items in FAQ questions list should be using sub_text color
(which is defined in color_defs as color_def_oppia_silver
.) and not the Body Header color, you might need to confirm this from the mocks and let me know if It is actually mentioned otherwise in the mocks.
android:background="?attr/colorPrimary" | ||
android:background="@color/color_def_oppia_green" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be a component_color.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
android:background="@color/oppia_primary" | ||
android:background="@color/color_def_oppia_green" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto.
android:background="?attr/colorPrimary" | ||
android:background="@color/color_def_oppia_green" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bhaktideshmukh Thanks, overall this looks good. Just had a few suggestions. Also, I think the content of the FAQ and other list items in FAQ questions list should be using
sub_text color
(which is defined in color_defs ascolor_def_oppia_silver
.) and not the Body Header color, you might need to confirm this from the mocks and let me know if It is actually mentioned otherwise in the mocks.
Content of FAQ in mocks is mentioned as 'oppia_primary_text'.
Unassigning @ayush0402 since the review is done. |
Hi @bhaktideshmukh, it looks like some changes were requested on this pull request by @ayush0402. PTAL. Thanks! |
This divider issue is still pending. |
Unassigning @Akshatkamboj14 since the review is done. |
Hi @bhaktideshmukh, it looks like some changes were requested on this pull request by @Akshatkamboj14. PTAL. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bhaktideshmukh Please separate FAQListActivity colors from FAQSingleActivity
colors correctly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, Thanks.
Explanation
Fixes #4185
Added dark mode for HelpActivity , FaqListActivity , FaqSingleActivity.
Mocks Link
ScreenShots
Essential Checklist
For UI-specific PRs only
If your PR includes UI-related changes, then: