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

Commit 9054d94c authored by Jorim Jaggi's avatar Jorim Jaggi
Browse files

Move Carrier label into universal status bar header.

Also introduces a different height for the header area on keyguard,
as it looks better with less padding when no background is here (and
is closer to the mocks).

Change-Id: Ie9b94dcf823c3e4af83a22f5fae15d9033e146fd
parent 0d74eeb9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@
    androidprv:layout_maxWidth="@dimen/keyguard_security_width"
    androidprv:layout_maxHeight="@dimen/keyguard_security_height"
    android:gravity="center_horizontal|top"
    android:layout_marginTop="32dp"
    android:layout_marginTop="48dp"
    android:layout_marginBottom="32dp"
    android:contentDescription="@string/keyguard_accessibility_status">
    <LinearLayout
+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@
    </item>
    <item>
        <shape>
            <solid android:color="#ff374248" />
            <solid android:color="#ff384248" />
            <corners android:radius="@*android:dimen/notification_quantum_rounded_rect_radius" />
        </shape>
    </item>
+0 −9
Original line number Diff line number Diff line
@@ -34,15 +34,6 @@
        android:layout_gravity="bottom"
        />

    <com.android.keyguard.CarrierText
        android:id="@+id/keyguard_carrier_text"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginTop="2dp"
        android:layout_marginLeft="8dp"
        android:ellipsize="marquee"
        android:textAppearance="?android:attr/textAppearanceMedium" />

    <include
        layout="@layout/keyguard_status_view"
        android:layout_height="wrap_content"
+9 −0
Original line number Diff line number Diff line
@@ -65,6 +65,15 @@
            />
    </RelativeLayout>

    <com.android.keyguard.CarrierText
        android:id="@+id/keyguard_carrier_text"
        android:layout_width="wrap_content"
        android:layout_height="@dimen/status_bar_header_height_keyguard"
        android:layout_marginLeft="8dp"
        android:gravity="center_vertical"
        android:ellipsize="marquee"
        android:textAppearance="?android:attr/textAppearanceMedium" />

    <FrameLayout android:id="@+id/system_icons_container"
        android:layout_width="wrap_content"
        android:layout_height="@dimen/status_bar_header_height"
+3 −0
Original line number Diff line number Diff line
@@ -158,6 +158,9 @@
    <!-- Height of the status bar header bar when expanded -->
    <dimen name="status_bar_header_height_expanded">144dp</dimen>

    <!-- Height of the status bar header bar when on Keyguard -->
    <dimen name="status_bar_header_height_keyguard">40dp</dimen>

    <!-- Gravity for the notification panel -->
    <!-- 0x37 = fill_horizontal|top -->
    <integer name="notification_panel_layout_gravity">0x37</integer>
Loading