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
Make submit button a different colour to the toolbar #163
Comments
Can I work on this issue? |
Hi Varun - thanks for your interest. Can you clone the repo locally and try to run the datacapturegallery app first. Once you've done that and you're clear what to do I can grant write access. |
Sure. I'd love to do that. |
@fredhersch after reviewing https://material.io/components/app-bars-top/android#using-top-app-bars I could not find any example of a button with a border in the top app bar. Do we definitely still want this? Also, can you please share the original mock here for Varun's reference? |
You are right @jingtang10 . The goal is to show the submit button in a different colour! That will be sufficient. I will update the issue. |
@varunvjha let's make the submit button #eee on the dark toolbar background. Thanks |
@fredhersch I cannot see an example in the spec for the top action bar that has a button with a different background color. I wonder if we should use https://material.io/components/buttons-floating-action-button#usage for the submit button? |
@jingtang10 What happens if you try and set the background of the button to a different colour? Not sure the FAB is the right component .. will have to do some research! |
I don't think we want to go with a FAB for form submission. Once we get paginated forms we'll want to make it super clear where the form ends and where you are supposed to submit! With OpenSRP we went with an approach where we put submit in the top header and also as a button on the page. Let me get Roger (lead designer on OpenSRP) added to the repo so he can weigh in. |
thanks @mberg - can you or Roger post some screenshots? I think we will probably end up having the option to have the button inside or outside. |
Is this issue still open ?? Can I work on this ?? |
this is open but i think we need to do some product and UX work here first. |
@jingtang10 Can I work on it? |
@jingtang10 I want to work on this. Please assign it to me. |
@jingtang10 if this issue is still open can you please assign this issue to me? I think I can fix this issue. |
@jingtang10 while you're at it, you might also wanna change the border colors (usually the secondary color in colors.xml) of outline styled text fields for dark mode. Attaching screenshots for reference (see how the edit text fields become visible when clicked upon but not other wise) Willing to work on the above and the button implementation if you are done deciding the type of implementation you require. |
@sakets3010 please use the markdown |
@epicadk thanks for pointing out,hope it looks better now. |
Thanks for reporting this @sakets3010. Can you please create a separate issue with screenshots? By the way I'm not seeing this behavior on my device. |
We have not had clear direction on this one. @fredhersch @rowo. Plus, the current look and feel is consistent with material guidelines. I'm going to close this. Please feel free to reopen with a mock. Thanks! |
@jingtang10 sure,i will mention the device name in a separate issue. |
In the questionnaire with submit button on toolbar. Can we show the submit button with different styling (just border outline for example).
The text was updated successfully, but these errors were encountered: