Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 250c185d authored by chelseahao's avatar chelseahao
Browse files

Make device connection summary marquee.

Test: atest
Flag: EXEMPT minor visual change
Bug: 401116719
Change-Id: I04c7add04d962b19ae1ec8b88a92b33a9328fddd
parent a0c101ea
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -52,7 +52,7 @@
        android:gravity="center_vertical"
        android:textSize="14sp" />

    <TextView
    <com.android.systemui.util.DelayableMarqueeTextView
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:id="@+id/bluetooth_device_summary"
@@ -60,7 +60,9 @@
        android:paddingEnd="10dp"
        android:paddingBottom="15dp"
        android:maxLines="1"
        android:ellipsize="end"
        android:ellipsize="marquee"
        android:marqueeRepeatLimit="1"
        android:singleLine="true"
        app:layout_constraintTop_toBottomOf="@+id/bluetooth_device_name"
        app:layout_constraintStart_toEndOf="@+id/bluetooth_device_icon"
        app:layout_constraintEnd_toStartOf="@+id/guideline"
+2 −0
Original line number Diff line number Diff line
@@ -419,6 +419,8 @@ constructor(
                }
                nameView.text = item.deviceName
                summaryView.text = item.connectionSummary
                // needed for marquee
                summaryView.isSelected = true

                actionIconView.setOnClickListener {
                    mutableDeviceItemClick.value =