From 5615ebf2f09a75164fffb4636249e8217adb7281 Mon Sep 17 00:00:00 2001
From: Christoph Kecht <christoph.kecht@web.de>
Date: Mon, 17 May 2021 13:41:09 +0200
Subject: [PATCH] Add (missing) arrow icon to create RAT profile card (closes
 #3162) (#3161)

* Bump to next Version 1.11.0.8 (DEV) #2220

* Update submission_create_rat_profile_card.xml

* Fix card padding.

Co-authored-by: Matthias Urhahn <matthias.urhahn@sap.com>
Co-authored-by: CWA Technical User <67319337+Corona-Warn-App-Technical-User@users.noreply.github.com>
Co-authored-by: Mohamed Metwalli <mohamed.metwalli@sap.com>
Co-authored-by: darken <darken@darken.eu>
---
 .../submission_create_rat_profile_card.xml    | 27 +++++++++++++++----
 1 file changed, 22 insertions(+), 5 deletions(-)

diff --git a/Corona-Warn-App/src/main/res/layout/submission_create_rat_profile_card.xml b/Corona-Warn-App/src/main/res/layout/submission_create_rat_profile_card.xml
index 0e89fd2eb..c530af992 100644
--- a/Corona-Warn-App/src/main/res/layout/submission_create_rat_profile_card.xml
+++ b/Corona-Warn-App/src/main/res/layout/submission_create_rat_profile_card.xml
@@ -3,19 +3,33 @@
     xmlns:app="http://schemas.android.com/apk/res-auto"
     style="@style/GreyCard.Ripple"
     android:layout_width="match_parent"
-    android:layout_height="match_parent"
-    android:padding="24dp">
+    android:layout_height="wrap_content">
 
     <TextView
         android:id="@+id/title"
         style="@style/headline6"
-        android:layout_width="match_parent"
+        android:layout_width="0dp"
         android:layout_height="wrap_content"
+        android:layout_marginStart="@dimen/spacing_normal"
+        android:layout_marginTop="@dimen/spacing_normal"
+        android:layout_marginEnd="@dimen/spacing_small"
         android:text="@string/rat_profile_create_card_title"
-        app:layout_constraintEnd_toEndOf="parent"
+        app:layout_constraintEnd_toStartOf="@+id/dispatcher_card_icon"
         app:layout_constraintStart_toStartOf="parent"
         app:layout_constraintTop_toTopOf="parent" />
 
+    <ImageView
+        android:id="@+id/dispatcher_card_icon"
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:layout_marginTop="@dimen/spacing_small"
+        android:layout_marginEnd="@dimen/spacing_normal"
+        android:importantForAccessibility="no"
+        app:layout_constraintEnd_toEndOf="parent"
+        app:layout_constraintTop_toTopOf="parent"
+        app:srcCompat="@drawable/ic_forward"
+        app:tint="@color/colorTextPrimary1" />
+
     <ImageView
         android:id="@+id/illustration"
         android:layout_width="wrap_content"
@@ -32,10 +46,13 @@
         style="@style/subtitle"
         android:layout_width="match_parent"
         android:layout_height="wrap_content"
+        android:layout_marginHorizontal="24dp"
         android:layout_marginTop="18dp"
+        android:layout_marginBottom="24dp"
         android:text="@string/rat_profile_create_card_subtitle"
+        app:layout_constraintBottom_toBottomOf="parent"
         app:layout_constraintEnd_toEndOf="parent"
         app:layout_constraintStart_toStartOf="parent"
         app:layout_constraintTop_toBottomOf="@id/illustration" />
 
-</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
+</androidx.constraintlayout.widget.ConstraintLayout>
-- 
GitLab