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

Commit 0f2aa68e authored by Chris Wren's avatar Chris Wren
Browse files

proper geometry for heads up on tablets.

also some code cleanup since things are getting complicated.

Bug: 10074485
Change-Id: I900a60f0fdda8d2ef1bcfe01035d6f716e14aa56
parent e9a6f971
Loading
Loading
Loading
Loading
+2.17 KiB
Loading image diff...
+965 B
Loading image diff...
−500 B
Loading image diff...
+12 −6
Original line number Diff line number Diff line
@@ -24,12 +24,18 @@
    android:layout_height="wrap_content"
    android:layout_width="match_parent"
    android:orientation="vertical"
    android:paddingTop="@*android:dimen/status_bar_height"
    >
    <FrameLayout
            android:layout_height="wrap_content"
            android:layout_width="@dimen/notification_panel_width"
            android:id="@+id/content_slider"
            android:layout_marginStart="@dimen/notification_panel_margin_left"
            >
        <FrameLayout
                android:layout_height="wrap_content"
                android:layout_width="match_parent"
        android:id="@+id/contentHolder"
                android:id="@+id/content_holder"
                android:background="@drawable/heads_up_window_bg"
                />
    </FrameLayout>
</com.android.systemui.statusbar.policy.HeadsUpNotificationView>
+3 −0
Original line number Diff line number Diff line
@@ -212,4 +212,7 @@
    <dimen name="qs_tile_margin_below_icon">17dp</dimen>
    <!-- Quick Settings tile geometry: icon size -->
    <dimen name="qs_tile_icon_size">32dp</dimen>

    <!-- The width of the notification panel window: match_parent below sw600dp -->
    <dimen name="notification_panel_width">-1dp</dimen>
</resources>
Loading