Comments (9)
thanks :) something like this may work: https://material.io/components/app-bars-top/android#regular-top-app-bar?
from android-fhir.
from android-fhir.
@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.
@jingtang10 I suggest we position the save button in the toolbar in the top right. See this sample here
from android-fhir.
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
from android-fhir.
@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.
Sure Ill rebase and work on this :)
from android-fhir.
@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.
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)
- Flaky QuestionnaireUiEspressoTest$dateTimePicker_shouldSetAnswerWhenDateAndTimeAreFilled has 12/24h problem
- Kokoro: Build and Device Tests failing due to ... Firebase Test Lab internal bug?! HOT 1
- Knowledge Manager uses the name instead of URL to fetch resources HOT 15
- Clicking on "manual sync" does not initiate the one-time sync. HOT 5
- Upload on sync fails for LocalChangeResourceReferenceEntity HOT 2
- Upload on sync fails here with HOT 1
- The response metadata is not updated in the payload of the resource. HOT 1
- Resource creation using AllChangesSquashedBundlePost upload strategy. HOT 1
- Sync upload local changes reordering patch issue HOT 7
- Deploy pre-built SNAPSHOT pre-release (dev, unstable) versions of Engine and DataCapture to a Maven repo HOT 7
- Configurable hyphen("-") answer option in dropdown menu. HOT 3
- Speed up initially processing questionnaireStateFlow HOT 1
- Date Picker Constraint Not Enforced on 'Ok' Button Click. HOT 5
- Fix case when we purge a resource with forcePurge and related resource in LocalChange HOT 1
- Several records of resources with same resource Id returned leading to duplication HOT 9
- Troubleshooting failing Kokoro CI checks HOT 1
- Previous button invisible when launched in review mode HOT 3
- Demo app crashes with ServerConfiguration is not provided HOT 1
- Improve initial load for calculated-expression HOT 1
- Open choice missing string value HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-fhir.