Add N-Style to your Theme
In this tutorial I want you to show how you can add the Android N-Style to your theme. (Notifications & Quicksettings)
Obviously, it doesn't look to 100% like Android N and some things differs from it...
If your have any improvements, let me know. :)
SCREENSHOTS ARE ATTACHED
In this tutorial I want you to show how you can add the Android N-Style to your theme. (Notifications & Quicksettings)
Obviously, it doesn't look to 100% like Android N and some things differs from it...
If your have any improvements, let me know. :)
SCREENSHOTS ARE ATTACHED
1. Quicksettings:
Prepare folders
- Add a folder called "com.android.systemui" in your overlays folder
- Add the following structure inside this folder: "/res/values"
- Add 1 file calles "colors.xml" and 1 file "dimens.xml" in the "values" folder
Add codes
- Add in colors.xml: Code:
<color name="system_primary_color">#ff263238</color>
- Add in colors.xml: Code:
<color name="system_secondary_color">#ff263238</color>
- Add in dimens.xml: Code:
<dimen name="status_bar_header_height_expanded">100.0dip</dimen>
- Add in dimens.xml: Code:
<dimen name="status_bar_expanded_header_elevation">0.0dp</dimen>
- Add in dimens.xml: Code:
<dimen name="clock_expanded_bottom_margin">43.0dip</dimen>
- Add in dimens.xml: Code:
<dimen name="qs_brightness_padding_top">-10.0dip</dimen>
- Add in dimens.xml: Code:
<dimen name="notification_side_padding">0.0dip</dimen>
- Add in dimens.xml: Code:
<dimen name="battery_level_text_size">0.0sp</dimen>
1. Notifications:
Add codes
- Add in dimens.xml: Code:
<dimen name="notification_material_shadow_rounded_rect_radius">0.0dip</dimen>
- Add in dimens.xml: Code:
<dimen name="notification_material_rounded_rect_radius">0.0dip</dimen>
- Add in dimens.xml: Code:
<dimen name="notification_material_rounded_rect_radius_negative">0.0dip</dimen>
- Add in dimens.xml: Code:
<dimen name="notification_padding">0.0dip</dimen>
- Add in dimens.xml: Code:
<dimen name="notifications_top_padding">0.0dip</dimen>