-
Notifications
You must be signed in to change notification settings - Fork 426
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
AC-591 Improved UI of login button and FragmentDialogue buttons #672
Conversation
@rishabh-997 Can you please attach screenshots? |
yeah, I've posted the images on JIRA issue at link |
Codecov Report
@@ Coverage Diff @@
## master #672 +/- ##
=======================================
Coverage 12.54% 12.54%
=======================================
Files 233 233
Lines 10686 10686
Branches 993 993
=======================================
Hits 1341 1341
Misses 9264 9264
Partials 81 81 Continue to review full report at Codecov.
|
Hi rishabh, I checked out your screenshots :) |
@rishabh-997 Did you see this? Also, for darker-colored button backgrounds, the text should be white. E.g. the Please send the screenshots here in this PR. |
was engaged in kotlin migration, will update this today |
can we use the |
I have migrated buttons to Material Buttons but I think that change was not required as I still had to write all the boilerplate code. Nevertheless, Have a look at the PR now. |
@rishabh-997 Please update the screenshots :) |
|
@rishabh-997 I guess there's an error in your code, because the buttons are not actually visible. |
Exactly that's why I was not using material button as it overrides many functionalities... I tried using bordered style but it was worthless |
@rishabh-997 let's see what @f4ww4z says about this, otherwise we won't have any option but to rollback :/ |
Any suggestions @f4ww4z sir |
@rishabh-997 try playing around with the elevation a bit? also, please keep the same text color for the two buttons to maintain consistency. |
@rishabh-997 how about using the default button, with the background color the same as the appbar's color (dark green)? The text should be white of course. Right now it doesn't look like a button, and it won't be consistent with other buttons in the app.
The default |
Please resolve merge conflicts :) |
3c1d911
to
01632da
Compare
@f4ww4z sir, I changed the background as per you requested... Please select one of them, I'll update the PR as per that... |
Looks good Rishabh! |
aoolied requested changes migrated buttons to Material Buttons r Improved UI of login button and FragmentDialogue buttons updated colour of buttons added colour Updated UI for buttons
…mrs#672) I've modified the login_button_color.xml file to adapt it to changes in the background as well. I've changed the fragment_dialog_layout.xml so that all the custom dialogues now gives a better visual appeal to the app.
Description of what I changed
I've modified the login_button_color.xml file to adapt it to changes in the background as well.
I've changed the fragment_dialog_layout.xml so that all the custom dialogues now gives a better visual appeal to the app.
Issue I worked on
JIRA Issue: https://issues.openmrs.org/browse/AC-591
Checklist: I completed these to help reviewers :)
(the number above, next to the 'Commits' tab is 1).
existing code that was well tested you do not have to add tests)