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

Commit 6ab53b16 authored by Jeff DeCew's avatar Jeff DeCew
Browse files

Notification Title is 16pt in Big state

Bug: 163626038
Test: manual
Change-Id: Ifc4089a8c8ef8fe78b85ecc4f50c6bbacc46e2e4
parent 64179247
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@
    android:orientation="horizontal"
    >
    <TextView android:id="@+id/title"
        android:textAppearance="@style/TextAppearance.DeviceDefault.Notification.Title"
        android:textAppearance="@style/TextAppearance.DeviceDefault.Notification.BigTitle"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:singleLine="true"
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@
    style="@style/Widget.DeviceDefault.Notification.Text"
    android:id="@+id/text"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_height="@dimen/notification_text_height"
    android:layout_gravity="top"
    android:layout_marginTop="@dimen/notification_text_margin_top"
    android:ellipsize="marquee"
+7 −2
Original line number Diff line number Diff line
@@ -239,7 +239,7 @@
    <dimen name="emphasized_button_stroke_width">1dp</dimen>

    <!-- height of the content margin to accomodate for the header -->
    <dimen name="notification_content_margin_top">46dp</dimen>
    <dimen name="notification_content_margin_top">50dp</dimen>

    <!-- height of the content margin that is applied at the end of the notification content -->
    <dimen name="notification_content_margin">20dp</dimen>
@@ -451,6 +451,8 @@
    <dimen name="notification_text_size">14sp</dimen>
    <!-- Size of notification text titles (see TextAppearance.StatusBar.EventContent.Title) -->
    <dimen name="notification_title_text_size">14sp</dimen>
    <!-- Size of big notification text titles (see TextAppearance.StatusBar.EventContent.BigTitle) -->
    <dimen name="notification_big_title_text_size">16sp</dimen>
    <!-- Size of smaller notification text (see TextAppearance.StatusBar.EventContent.Line2, Info, Time) -->
    <dimen name="notification_subtext_size">12sp</dimen>
    <!-- Top padding for notifications in the standard layout. -->
@@ -469,7 +471,10 @@
    <dimen name="notification_large_icon_circle_padding">11dp</dimen>

    <!-- The margin on top of the text of the notification -->
    <dimen name="notification_text_margin_top">0.5dp</dimen>
    <dimen name="notification_text_margin_top">6dp</dimen>

    <!-- Height of a single line text view in a notification -->
    <dimen name="notification_text_height">20sp</dimen>

    <!-- The padding on top of inbox style elements -->
    <dimen name="notification_inbox_item_top_padding">5dp</dimen>
+3 −0
Original line number Diff line number Diff line
@@ -290,6 +290,9 @@ easier.
    <style name="TextAppearance.DeviceDefault.Notification.Title" parent="TextAppearance.Material.Notification.Title">
        <item name="fontFamily">@string/config_headlineFontFamilyMedium</item>
    </style>
    <style name="TextAppearance.DeviceDefault.Notification.BigTitle" parent="TextAppearance.Material.Notification.BigTitle">
        <item name="fontFamily">@string/config_headlineFontFamilyMedium</item>
    </style>
    <style name="TextAppearance.DeviceDefault.Notification.Reply" parent="TextAppearance.Material.Notification.Reply">
        <item name="fontFamily">@string/config_bodyFontFamily</item>
    </style>
+5 −0
Original line number Diff line number Diff line
@@ -477,6 +477,11 @@ please see styles_device_defaults.xml.
        <item name="textSize">@dimen/notification_title_text_size</item>
    </style>

    <style name="TextAppearance.Material.Notification.BigTitle">
        <item name="fontFamily">sans-serif-medium</item>
        <item name="textSize">@dimen/notification_big_title_text_size</item>
    </style>

    <style name="TextAppearance.Material.Notification.Line2">
        <item name="textSize">@dimen/notification_subtext_size</item>
    </style>