Skip to content
Snippets Groups Projects
Unverified Commit 570b0566 authored by Chilja Gossow's avatar Chilja Gossow Committed by GitHub
Browse files

Fixes some ui issues on submission consent in QR code flow (EXPOSUREAPP-4128) (#1803)


* fix some ui issues on submission consent in QR code flow

* accessibilty event

Co-authored-by: default avatarharambasicluka <64483219+harambasicluka@users.noreply.github.com>
Co-authored-by: default avatarMatthias Urhahn <matthias.urhahn@sap.com>
parent 71d22d19
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,7 @@ package de.rki.coronawarnapp.ui.submission.qrcode.consent
import android.os.Bundle
import android.view.View
import android.view.accessibility.AccessibilityEvent
import androidx.fragment.app.Fragment
import de.rki.coronawarnapp.R
import de.rki.coronawarnapp.databinding.FragmentSubmissionConsentBinding
......@@ -43,4 +44,9 @@ class SubmissionConsentFragment : Fragment(R.layout.fragment_submission_consent)
binding.countries = it
}
}
override fun onResume() {
super.onResume()
binding.contentContainer.sendAccessibilityEvent(AccessibilityEvent.TYPE_ANNOUNCEMENT)
}
}
This diff is collapsed.
......@@ -14,6 +14,7 @@
</data>
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/content_container"
android:layout_width="match_parent"
android:layout_height="match_parent">
......@@ -45,7 +46,7 @@
android:id="@+id/submission_consent_illustration"
android:layout_width="@dimen/match_constraint"
android:layout_height="wrap_content"
android:src="@drawable/ic_illustration_consent"
android:src="@drawable/ic_submission_consent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
......@@ -85,7 +86,7 @@
android:id="@+id/divider"
android:layout_width="@dimen/match_constraint"
android:layout_height="@dimen/card_divider"
android:layout_marginTop="@dimen/spacing_normal"
android:layout_marginTop="@dimen/spacing_tiny"
android:background="@color/colorHairline"
app:layout_constraintTop_toBottomOf="@id/include_submission_consent_body"
app:layout_constraintStart_toStartOf="@id/guideline_start"
......
......@@ -18,7 +18,7 @@
<!-- YTXT: Body for consent sub section your consent subtext -->
<string name="submission_consent_your_consent_subsection_tapping_agree" translatable="false">"By tapping on “Accept”, you consent to the following steps:"</string>
<!-- YTXT: Body for consent sub section your consent subtext first point -->
<string name="submission_consent_your_consent_subsection_first_point" translatable="false">"<b>The app will retrieve your test result.</b>If you change your mind later, you can delete the test in the app."</string>
<string name="submission_consent_your_consent_subsection_first_point" translatable="false">"<b>The app will retrieve your test result.</b> If you change your mind later, you can delete the test in the app."</string>
<!-- YTXT: Body for consent sub section your consent subtext second point -->
<string name="submission_consent_your_consent_subsection_second_point" translatable="false">"<b>If you have tested positive for coronavirus, the app will share your test result in order to warn other users whom you have encountered. This includes users of the official coronavirus apps of the countries mentioned above. If you provide additional information about the onset of your symptoms, this will also be shared.</b>"</string>
<!-- YTXT: Body for consent sub section your consent subtext third point -->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment