Skip to content
Snippets Groups Projects
Unverified Commit 9eee83dd authored by BMItter's avatar BMItter Committed by GitHub
Browse files

Create QR code card - Overlapping views issue (EXPOSUREAPP-6544) (#2910)

* fixed overlapping items - trace location card

* androidx.appcompat.widget.AppCompatImageView
parent 0d38485a
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:padding="@dimen/spacing_normal" android:padding="@dimen/spacing_normal">
tools:showIn="@layout/home_card_container_layout">
<TextView <TextView
android:id="@+id/create_trace_location_card_headline" android:id="@+id/create_trace_location_card_headline"
...@@ -30,26 +28,36 @@ ...@@ -30,26 +28,36 @@
android:text="@string/create_trace_location_card_subtitle" android:text="@string/create_trace_location_card_subtitle"
app:layout_constraintEnd_toStartOf="@id/create_trace_location_card_icon" app:layout_constraintEnd_toStartOf="@id/create_trace_location_card_icon"
app:layout_constraintStart_toStartOf="@id/create_trace_location_card_headline" app:layout_constraintStart_toStartOf="@id/create_trace_location_card_headline"
app:layout_constraintTop_toBottomOf="@id/create_trace_location_card_headline" /> app:layout_constraintTop_toBottomOf="@id/create_trace_location_card_headline"
tools:text="@string/create_trace_location_card_subtitle" />
<ImageView <androidx.appcompat.widget.AppCompatImageView
android:id="@+id/create_trace_location_card_icon" android:id="@+id/create_trace_location_card_icon"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
app:srcCompat="@drawable/ic_event_organizer"
android:importantForAccessibility="no" android:importantForAccessibility="no"
app:layout_constraintBottom_toTopOf="@+id/create_trace_location_card_button"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="@id/create_trace_location_card_subtitle" /> app:layout_constraintTop_toTopOf="@+id/create_trace_location_card_headline"
app:srcCompat="@drawable/ic_event_organizer"
tools:src="@drawable/ic_event_organizer" />
<androidx.constraintlayout.widget.Barrier
android:id="@+id/button_barrier_event_card"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:barrierDirection="bottom"
app:constraint_referenced_ids="create_trace_location_card_icon,create_trace_location_card_subtitle" />
<Button <Button
android:id="@+id/create_trace_location_card_button" android:id="@+id/create_trace_location_card_button"
style="@style/buttonPrimary" style="@style/buttonPrimary"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="@dimen/spacing_normal" android:layout_marginTop="@dimen/spacing_small"
android:text="@string/create_trace_location_card_button" android:text="@string/create_trace_location_card_button"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/create_trace_location_card_subtitle" /> app:layout_constraintTop_toBottomOf="@id/button_barrier_event_card" />
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>
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