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

Commit a032c901 authored by Joe Onorato's avatar Joe Onorato
Browse files

Provide a public resource with the dimensions of the large notification icon.

Bug: 3301067
Change-Id: I4ef66ee35df34a5288681a0e80e9877d57398dd0
parent 71a2e13d
Loading
Loading
Loading
Loading
+22 −0
Original line number Diff line number Diff line
@@ -11473,6 +11473,28 @@
 visibility="public"
>
</field>
<field name="notification_large_icon_height"
 type="int"
 transient="false"
 volatile="false"
 value="17104902"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="notification_large_icon_width"
 type="int"
 transient="false"
 volatile="false"
 value="17104901"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="thumbnail_height"
 type="int"
 transient="false"
+6 −0
Original line number Diff line number Diff line
@@ -68,4 +68,10 @@
         is along the minor axis (that is the screen is portrait).  This may
         be either a fraction or a dimension. -->
    <item type="dimen" name="dialog_min_width_minor">95%</item>

    <!-- The width of the big icons in notifications. -->
    <dimen name="notification_large_icon_width">60dp</dimen>
    <!-- The width of the big icons in notifications. -->
    <dimen name="notification_large_icon_height">60dp</dimen>

</resources>
+2 −0
Original line number Diff line number Diff line
@@ -1470,6 +1470,8 @@

  <public type="dimen" name="dialog_min_width_major" />
  <public type="dimen" name="dialog_min_width_minor" />
  <public type="dimen" name="notification_large_icon_width" />
  <public type="dimen" name="notification_large_icon_height" />

  <!-- Standard content view for a {@link android.app.ListFragment}.
       If you are implementing a subclass of ListFragment with your
+2 −2
Original line number Diff line number Diff line
@@ -18,8 +18,8 @@

    <ImageView
        android:id="@+id/large_icon"
        android:layout_width="@dimen/notification_large_icon_width"
        android:layout_height="@dimen/notification_large_icon_height"
        android:layout_width="@android:dimen/notification_large_icon_width"
        android:layout_height="@android:dimen/notification_large_icon_height"
        android:layout_alignParentTop="true"
        android:layout_alignParentLeft="true"
        android:scaleType="center"
+2 −2
Original line number Diff line number Diff line
@@ -25,8 +25,8 @@

    <ImageView
        android:id="@+id/large_icon"
        android:layout_width="@dimen/notification_large_icon_width"
        android:layout_height="@dimen/notification_large_icon_height"
        android:layout_width="@android:dimen/notification_large_icon_width"
        android:layout_height="@android:dimen/notification_large_icon_height"
        android:scaleType="center"
        android:visibility="gone"
        />
Loading