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

Commit bde0d4fe authored by Selim Cinek's avatar Selim Cinek
Browse files

Removed the devider above the actions

The templates had a divider line above
the actions. this is now gone.

Change-Id: I85e8c773c4c49d9eaeceb20915cc98941d537ee6
parent 9c4c4146
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -3200,7 +3200,6 @@ public class Notification implements Parcelable

        private void resetStandardTemplateWithActions(RemoteViews big) {
            big.setViewVisibility(R.id.actions, View.GONE);
            big.setViewVisibility(R.id.action_divider, View.GONE);
            big.removeAllViews(R.id.actions);
        }

@@ -3212,7 +3211,6 @@ public class Notification implements Parcelable
            int N = mActions.size();
            if (N > 0) {
                big.setViewVisibility(R.id.actions, View.VISIBLE);
                big.setViewVisibility(R.id.action_divider, View.VISIBLE);
                if (N>MAX_ACTION_BUTTONS) N=MAX_ACTION_BUTTONS;
                for (int i=0; i<N; i++) {
                    final RemoteViews button = generateActionButton(mActions.get(i));
+0 −6
Original line number Diff line number Diff line
@@ -55,12 +55,6 @@
        </FrameLayout>
        <include layout="@layout/notification_template_right_icon" />
    </FrameLayout>
    <ImageView
        android:layout_width="match_parent"
        android:layout_height="1dp"
        android:id="@+id/action_divider"
        android:visibility="gone"
        android:background="@drawable/notification_template_divider" />
    <include
        layout="@layout/notification_material_action_list"
        android:layout_width="match_parent"
+0 −8
Original line number Diff line number Diff line
@@ -52,14 +52,6 @@
                android:layout_marginBottom="16dp"
                android:scaleType="centerCrop"
                />
        <ImageView
                android:layout_width="match_parent"
                android:layout_height="1dp"
                android:layout_marginStart="-16dp"
                android:layout_marginEnd="-16dp"
                android:id="@+id/action_divider"
                android:visibility="gone"
                android:background="@drawable/notification_template_divider" />
        <include layout="@layout/notification_material_action_list" />
    </LinearLayout>
</FrameLayout>
+0 −8
Original line number Diff line number Diff line
@@ -62,14 +62,6 @@
                android:contentDescription="@string/notification_work_profile_content_description"
                />
        </LinearLayout>
        <ImageView
            android:layout_width="match_parent"
            android:layout_height="1dp"
            android:layout_marginStart="-16dp"
            android:layout_marginEnd="-16dp"
            android:id="@+id/action_divider"
            android:visibility="gone"
            android:background="@drawable/notification_template_divider" />
        <include layout="@layout/notification_material_action_list" />
    </LinearLayout>
    <include layout="@layout/notification_template_right_icon" />
+0 −8
Original line number Diff line number Diff line
@@ -130,14 +130,6 @@
            android:visibility="gone"
            android:layout_weight="0"
        />
        <ImageView
            android:layout_width="match_parent"
            android:layout_height="1dip"
            android:id="@+id/action_divider"
            android:visibility="gone"
            android:layout_marginStart="-16dp"
            android:layout_marginEnd="-16dp"
            android:background="@drawable/notification_template_divider" />
        <include layout="@layout/notification_material_action_list" />
    </LinearLayout>
    <include layout="@layout/notification_template_right_icon" />
Loading