Skip to content
This repository was archived by the owner on Feb 17, 2020. It is now read-only.

Commit 3fdc7df

Browse files
committed
No match_parent in ConstraintLayout
1 parent c195bea commit 3fdc7df

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

app/src/main/res/layout/item_schedule_event_talk.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@
1616

1717
<net.squanchy.schedule.view.ScheduleSpeakerView
1818
android:id="@+id/speaker_container"
19-
android:layout_width="match_parent"
19+
android:layout_width="@dimen/match_constraint"
2020
android:layout_height="wrap_content"
2121
android:layout_marginBottom="@dimen/card_title_margin_top"
2222
app:layout_constraintStart_toStartOf="parent"
23-
app:layout_constraintTop_toTopOf="parent">
23+
app:layout_constraintTop_toTopOf="parent"
24+
app:layout_constraintEnd_toEndOf="parent">
2425

2526
<LinearLayout
2627
android:id="@+id/speakerPhotosContainer"
@@ -52,7 +53,7 @@
5253
<TextView
5354
android:id="@+id/title"
5455
style="@style/Schedule.Card.Title"
55-
android:layout_width="match_parent"
56+
android:layout_width="@dimen/match_constraint"
5657
android:layout_height="wrap_content"
5758
android:layout_marginTop="@dimen/card_title_margin_top"
5859
app:layout_constraintStart_toStartOf="parent"

0 commit comments

Comments
 (0)