google/android-fhir

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.

Additional context
image

Thanks

Would you like to work on the issue?
@jingtang10 @f-odhiambo @SebaMutuku @MargaretNjenga

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>

Screenshot 2024-07-19 at 10 22 02 AM

Closing as per @santosh-pingle 's solution above.