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

Commit 9cdd2d3b authored by Ioana Alexandru's avatar Ioana Alexandru
Browse files

[Notif redesign] Add verification icon to top line views

This is needed so that we can use NotificationTopLineViews for CallStyle
conversations.

Bug: 378660052
Test: builds; will be used in follow-up CL
Flag: android.app.notifications_redesign_templates
Change-Id: I28db80cb389c88d37da772389e88063a6fbc3793
parent 2f6cdb0d
Loading
Loading
Loading
Loading
+36 −0
Original line number Diff line number Diff line
@@ -108,6 +108,42 @@
        android:visibility="gone"
        />

    <TextView
        android:id="@+id/verification_divider"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:textAppearance="@style/TextAppearance.DeviceDefault.Notification.Info"
        android:layout_marginStart="@dimen/notification_header_separating_margin"
        android:layout_marginEnd="@dimen/notification_header_separating_margin"
        android:text="@string/notification_header_divider_symbol"
        android:singleLine="true"
        android:visibility="gone"
        />

    <ImageView
        android:id="@+id/verification_icon"
        android:layout_width="@dimen/notification_2025_badge_size"
        android:layout_height="@dimen/notification_2025_badge_size"
        android:layout_marginStart="@dimen/notification_header_separating_margin"
        android:layout_marginEnd="@dimen/notification_header_separating_margin"
        android:baseline="@dimen/notification_2025_badge_baseline"
        android:scaleType="fitCenter"
        android:visibility="gone"
        />

    <TextView
        android:id="@+id/verification_text"
        android:textAppearance="@style/TextAppearance.DeviceDefault.Notification.Info"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginStart="@dimen/notification_header_separating_margin"
        android:layout_marginEnd="@dimen/notification_header_separating_margin"
        android:layout_weight="100"
        android:showRelative="true"
        android:singleLine="true"
        android:visibility="gone"
        />

    <ImageButton
        android:id="@+id/feedback"
        android:layout_width="@dimen/notification_feedback_size"