Giter VIP home page Giter VIP logo

Comments (9)

jingtang10 avatar jingtang10 commented on May 12, 2024 1

thanks :) something like this may work: https://material.io/components/app-bars-top/android#regular-top-app-bar?

from android-fhir.

joiskash avatar joiskash commented on May 12, 2024 1

Screenshot_20210121-172017.jpg @fredhersch @jingtang10

from android-fhir.

jingtang10 avatar jingtang10 commented on May 12, 2024

@fredhersch can you please comment on what the UI should be in the case where the questionnaire is long and need scrolling? should the submit button always be at the bottom of the screen, or only appears when the user scrolls to the bottom of the screen?

from android-fhir.

fredhersch avatar fredhersch commented on May 12, 2024

@jingtang10 I suggest we position the save button in the toolbar in the top right. See this sample here

Register patient

from android-fhir.

joiskash avatar joiskash commented on May 12, 2024

I have positioned the button on the top right as suggested by Fred. I Changed the questionnaire_fragment linearLayout to a constraintLayout to do this. One thing to note is that since this is a fragment which is a part of the datacapturegallery activity the submit button is just below the app label but is in line with the Questionnaire title
Submit_button_top_right

from android-fhir.

jingtang10 avatar jingtang10 commented on May 12, 2024

@kashyapj2793 with the change made to the main activity now, will you be able to rebase this and move the submit button to the app bar?

from android-fhir.

joiskash avatar joiskash commented on May 12, 2024

Sure Ill rebase and work on this :)

from android-fhir.

fredhersch avatar fredhersch commented on May 12, 2024

@kashyapj2793 This looks good to me. Is it possible to show the submit button with different styling (just border outline for example) to see how it sits on the toolbar? Thanks!

from android-fhir.

joiskash avatar joiskash commented on May 12, 2024

Sorry @fredhersch this automatically got closed after I merged the pull request linked to the issue, but I see that you have created another issue to address the comment above. Just linking it here for reference #163

from android-fhir.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.