Fixing title position inside banner for active live item
This commit is contained in:
parent
2a0331dc04
commit
4bb9a68603
@ -34,11 +34,15 @@
|
|||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/locationLiveMessageBannerTitle"
|
android:id="@+id/locationLiveMessageBannerTitle"
|
||||||
style="@style/Widget.Vector.TextView.Caption"
|
style="@style/Widget.Vector.TextView.Caption"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginHorizontal="8dp"
|
android:layout_marginHorizontal="8dp"
|
||||||
|
android:ellipsize="end"
|
||||||
|
android:lines="1"
|
||||||
android:textColor="?colorOnSurface"
|
android:textColor="?colorOnSurface"
|
||||||
app:layout_constraintBottom_toTopOf="@id/locationLiveMessageBannerSubTitle"
|
app:layout_constraintBottom_toTopOf="@id/locationLiveMessageBannerSubTitle"
|
||||||
|
app:layout_constraintEnd_toStartOf="@id/locationLiveMessageBannerStop"
|
||||||
|
app:layout_constraintHorizontal_bias="0"
|
||||||
app:layout_constraintStart_toEndOf="@id/locationLiveMessageBannerIcon"
|
app:layout_constraintStart_toEndOf="@id/locationLiveMessageBannerIcon"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
app:layout_constraintVertical_chainStyle="packed"
|
app:layout_constraintVertical_chainStyle="packed"
|
||||||
@ -47,10 +51,14 @@
|
|||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/locationLiveMessageBannerSubTitle"
|
android:id="@+id/locationLiveMessageBannerSubTitle"
|
||||||
style="@style/Widget.Vector.TextView.Caption"
|
style="@style/Widget.Vector.TextView.Caption"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:ellipsize="end"
|
||||||
|
android:lines="1"
|
||||||
android:textColor="?vctr_content_secondary"
|
android:textColor="?vctr_content_secondary"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
app:layout_constraintEnd_toEndOf="@id/locationLiveMessageBannerTitle"
|
||||||
|
app:layout_constraintHorizontal_bias="0"
|
||||||
app:layout_constraintStart_toStartOf="@id/locationLiveMessageBannerTitle"
|
app:layout_constraintStart_toStartOf="@id/locationLiveMessageBannerTitle"
|
||||||
app:layout_constraintTop_toBottomOf="@id/locationLiveMessageBannerTitle"
|
app:layout_constraintTop_toBottomOf="@id/locationLiveMessageBannerTitle"
|
||||||
tools:text="9min left" />
|
tools:text="9min left" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user