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

Commit 1328569d authored by Jorim Jaggi's avatar Jorim Jaggi
Browse files

Fix more card on Keyguard overflow.

Bug: 15719165
Change-Id: Ie1e99dd722d7fcd52c0ce2eda968885835004b2b
parent 5eb4c190
Loading
Loading
Loading
Loading
+33 −19
Original line number Diff line number Diff line
@@ -30,11 +30,16 @@
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        />

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent">
        <TextView
            android:id="@+id/more_text"
            android:layout_width="32dp"
            android:layout_height="32dp"
            android:layout_marginStart="20dp"
            android:layout_marginEnd="16dp"
            android:layout_gravity="center_vertical"
            android:background="@drawable/keyguard_overflow_number_background"
            android:gravity="center"
@@ -42,13 +47,22 @@
            android:textStyle="bold"
            android:textSize="14dp"
            />
        <com.android.systemui.statusbar.StatusBarIconView
            android:id="@+id/more_icon_overflow"
            android:layout_width="@dimen/status_bar_icon_size"
            android:layout_height="match_parent"
            android:src="@drawable/stat_notify_more"
            android:tint="@color/keyguard_overflow_content_color"
            android:visibility="gone"
            />
        <com.android.systemui.statusbar.NotificationOverflowIconsView
            android:id="@+id/overflow_icons_view"
            android:layout_gravity="center_vertical"
        android:layout_marginStart="68dp"
        android:layout_width="120dp"
            android:layout_marginEnd="8dp"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            />
    </LinearLayout>

    <com.android.systemui.statusbar.NotificationScrimView
        android:id="@+id/scrim_view"
+1 −0
Original line number Diff line number Diff line
@@ -38,6 +38,7 @@ public class NotificationOverflowContainer extends ActivatableNotificationView {
        super.onFinishInflate();
        mIconsView = (NotificationOverflowIconsView) findViewById(R.id.overflow_icons_view);
        mIconsView.setMoreText((TextView) findViewById(R.id.more_text));
        mIconsView.setOverflowIndicator(findViewById(R.id.more_icon_overflow));
    }

    public NotificationOverflowIconsView getIconsView() {