[Android Themes] v.konvict:
am not sure what you mean by installing both frameworks but this is what i am trying to do

Over the past few days I have received several PMs regarding dark notifications. The mod is quite extensive and it is impossible to tell all steps in PM. So writing a post here which.

First of all, you'll need to modify the following 3 apks

- OPInCallUI

- OPSystemUI

- framework-res

In OPInCallUI, go to res/values/colors.xml. The following colors need to be changed

- op_notification_color_title

- op_notification_color_message

They should look like:

Quote:

<color name="op_notification_color_title">#ffffffff</color>

<color name="op_notification_color_message">#b3ffffff</color>

Coming to framework.res, you'll have to edit styles.xml. Below is a list of everything and hex codes have already been changed for dark notifications.

Quote:

<style name="TextAppearance.StatusBar.Icon" parent="@style/TextAppearance.StatusBar" />

<style name="TextAppearance.StatusBar.EventContent" parent="@style/TextAppearance.StatusBar">

<item name="textSize">@dimen/notification_text_size</item>

<item name="textColor">#ffffffff</item>

Quote:

<style name="TextAppearance.Material.Notification" parent="@style/TextAppearance.Material">

<item name="textSize">@dimen/notification_text_size</item>

<item name="textColor">#ffe0e0e0</item>

</style>

Quote:

<style name="TextAppearance.Material.Notification.Emphasi s" parent="@style/TextAppearance.Material.Notification">

<item name="textColor">#ffffffff</item>

</style>

Quote:

<style name="TextAppearance.Material.Notification.Info" parent="@style/TextAppearance.Material.Notification">

<item name="textSize">@dimen/notification_subtext_size</item>

<item name="textColor">#ffd1d1d1</item>

</style>

Quote:

<style name="TextAppearance.Material.Notification.Line2" parent="@style/TextAppearance.Material.Notification">

<item name="textSize">@dimen/notification_subtext_size</item>

</style>

Quote:

<style name="TextAppearance.Material.Notification.Time" parent="@style/TextAppearance.Material.Notification.Info" />

<style name="TextAppearance.Material.Notification.Title" parent="@style/TextAppearance.Material.Notification">

<item name="textSize">@dimen/notification_title_text_size</item>

<item name="textColor">#ffffffff</item>

Quote:

<style name="TextAppearance.StatusBar.EventContent.Info" parent="@style/TextAppearance.StatusBar.EventContent">

<item name="textSize">@dimen/notification_subtext_size</item>

<item name="textColor">#ffd1d1d1</item>

</style>

Quote:

<style name="TextAppearance.StatusBar.EventContent.Time" parent="@style/TextAppearance.StatusBar.EventContent">

<item name="textSize">@dimen/notification_subtext_size</item>

<item name="textColor">#ff1d1d1d</item>

</style>

Quote:

<style name="TextAppearance.StatusBar.EventContent.Emphas is" parent="@style/TextAppearance.StatusBar.EventContent">

<item name="textColor">#ffffffff</item>

</style>

Coming to OPSystemUI

In colors.xml, the following changes should be made

Quote:

<color name="notification_material_background_color">@and roid:color/black</color>

<color name="notification_material_background_dimmed_colo r">#ab000000</color>

<color name="notification_material_background_low_priorit y_color">#ff1e1e1e</color>

<color name="notification_shade_background_color">#ff0000 00</color>

<color name="notification_ripple_tinted_color">#30000000</color>

<color name="notification_guts_bg_color">#ff1e1e1e</color>

<color name="notification_guts_slider_color">#ff4285f4</color>

In styles.xml change

Quote:

<style name="TextAppearance.NotificationGuts" parent="@style/TextAppearance">

<item name="android:textSize">14.0sp</item>

<item name="android:textColor">@android:color/white</item>

<item name="android:fontFamily">roboto-regular</item>

</style>

In res\layout\disable_navbar_notification_remoteviews .xml , text color needs to be changed

Quote:

<TextView android:textSize="16.0sp" android:textColor="#ddffffff" android:id="@id/id_notification_title_disable_button" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/notification_title_disable_button" />

<TextView android:textSize="13.0sp" android:textColor="#89ffffff" android:id="@id/id_notification_content_disable_button" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="2.0dip" android:text="@string/notification_content_disable_button" />

Finally add the smali file in attachment to smali\com\android\systemui (obviously after deodexing) after changing its extension to .smali Thanks demigod1 (thyrus) for his work on smali

I believe this is everything that is needed. Happy Modding

https://xdaforums.com/oneplus-3/themes/mod-h2o2-accent-colors-grammar-fix-t3514804/page57