UI/UX Design: The name for a specific field be equidistant from its intended field and another field
arulferiandevops opened this issue · 3 comments
Issue: The name for a specific field be equidistant from its intended field and another field
Solution requested: The name for a specific field should be closer to its intended field than another field
Feature Request
On the UI/UX design, the name for a specific field is currently equidistant from its intended field and another field.
Solution
The name for a specific field should be closer to its intended field than another field.
Thanks
Would you like to work on the issue?
@jingtang10 @f-odhiambo @SebaMutuku @MargaretNjenga
this should be also achievable using the customization options from https://google.github.io/android-fhir/use/SDCL/Customize-how-a-Questionnaire-is-displayed/#localize-questionnaires
I tried to reduce the space between the view and question text without requiring changes in the datacapture module. You need to override the attribute questionnaireQuestionHeaderStyle by providing a custom style where you modify the padding and margin values.
<item name="questionnaireQuestionHeaderStyle">
@style/Catalog.QuestionHeaderStyle
</item>
<style name="Catalog.QuestionHeaderStyle" parent="">
<item name="android:paddingBottom">1dp</item>
<item name="android:layout_marginTop">16dp</item>
</style>
Closing as per @santosh-pingle 's solution above.