I created a custom notification (I'll add more content into it later) and I want that its icon and text would be the same as for default notifications, how I can do it?

[![enter image description here](https://i.stack.imgur.com/xalBF.png)](https://i.stack.imgur.com/xalBF.png)

Now I just set some constants in my xml (which isn't good):

```
<?xml version="1.0" encoding="UTF-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:orientation="horizontal">

    <RelativeLayout
        android:layout_centerVertical="true"
        android:layout_width="match_parent"
        android:layout_height="46dp"
        android:orientation="horizontal">

        <ImageView
            android:id="@+id/notifiation_image"
            android:layout_width="46dp"
            android:layout_height="46dp"
            android:src="@drawable/icon" />

        <RelativeLayout
            android:layout_centerVertical="true"
            android:paddingLeft="10dp"
            android:id="@+id/texts"
            android:layout_toRightOf="@id/notifiation_image"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content">

            <TextView
                android:id="@+id/textContentTitle"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="Content title" />

            <TextView
                android:id="@+id/textSubText"
                android:layout_below="@id/textContentTitle"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="Subtext" />

        </RelativeLayout>

    </RelativeLayout>

</RelativeLayout>

```

service:

```
RemoteViews notificationView = new RemoteViews(getPackageName(),
                R.layout.notification);

mNotification = new NotificationCompat.Builder(mContext)
        ...
        .setCustomContentView(notificationView)
        ...
        .build();

```