NiLS Floating Panel Theme API
 Share
The version of the browser you are using is no longer supported. Please upgrade to a supported browser.Dismiss

 
View only
 
 
Still loading...
ABCDEFGHIJKLMNOPQRSTU
1
VersionNameTypeDescriptionExamples
2
0.8background drawableNotification Background (can be 9-patch or any other drawable)background.9.png , @android:drawable/transparent
3
0.8preview_bgdrawableNotification Background when appeared on preview mode (can be 9-patch or any other drawable)preview_bg.9.png , @android:drawable/transparent
4
0.8text_bg drawableNotification Title & Text background (can be 9-patch or any other drawable)text_bg.9.png , @android:drawable/transparent
5
0.8preview_text_bg drawableNotification Title & Text background when appeared on preview mode (can be 9-patch or any other drawable)preview_text_bg.9.png , @android:drawable/transparent
6
0.8icon_bg_mask drawableA mask drawable that used to crop the notification iconicon_bg_mask.png
7
0.8icon_bgdrawableNotification icon backgroundicon_bg.png , @android:drawable/transparent
8
0.8icon_fg drawableNotification icon foreground image that will appear on top of the notification iconicon_fg.png , @android:drawable/transparent
9
0.8titleColor colorNotification title text color (can be overriden by the user)#ffadadad , @android:color/white
10
0.8textColor colorNotification body text color (can be overriden by the user)#ffadadad , @android:color/white
11
0.8bgColor colorNotification background color (can be overriden by the user). will be used only if there isn't background drawable#ffadadad , @android:color/white
12
0.8iconBGColor colorNotification icon background color (can be overriden by the user) . will be used only if there isn't icon background drawable.#ffadadad , @android:color/white
13
0.8notificationHeight dimenNotification height in dp. Depracted & ignored.48dp
14
0.8iconSize dimenIcon size in dp. (can be overriden by the user)48dp
15
0.9alt_backgrounddrawablealternate background (will appear on even items)like background
16
0.9alt_text_bgdrawablealternate text background (will appear on even items)like text_bg
17
0.9alt_icon_bgdrawablealternate icon background (will appear on even items)like icon_bg
18
0.9altBgColorcoloralternate background color (will appear on even items)like bgColor
19
0.9altIconBgColorcoloralternate icon background color (will appear on even items)like iconBgColor
20
0.9notificationHeight dimendepracted
21
0.9notifications_list_spacingdimenspacing between notifications (in dp)4dp
22
0.9dividerdrawablea drawable that will appear between notificationsicon_bg.png , @android:drawable/transparent
23
0.9themeNamestringthe name that will appear in the theme list dropdown"Teardrop"
24
0.9title_family_namestringtitle font family name "sens"
25
0.9text_family_namestringtext font family name "sens"
26
0.9time_family_namestringtime font family name "sens"
27
0.9title_font_styleinttitle font style (bold, italic, etc..)0 - normal, 1 - bold, 2 - italic, 3 - bold italic
28
0.9text_font_styleinttext font style (bold, italic, etc..)0 - normal, 1 - bold, 2 - italic, 3 - bold italic
29
0.9time_font_styleinttime font style (bold, italic, etc..)0 - normal, 1 - bold, 2 - italic, 3 - bold italic
30
0.9title_font_sizedimentitle font size (in sp)18sp
31
0.9text_font_sizedimentext font size (in sp)18sp
32
0.9time_font_sizedimentime font size (in sp)18sp
33
example for the new font style
34
<string name="title_family_name">sans-serif-condensed</string>
<integer name="title_font_style">2</integer>
<dimen name="title_font_size">12sp</dimen>
35
1.5.1notification_layoutlayouta custom layout for the notification viewmust contain the following elements:
"front" - non-root positioned ViewGroup that supports MarginViewParams
"notification_bg" - ViewGroup - placeholder for notification icon background
"icon_bg" - ImageView - placeholder for notification icon background image
"icon_fg" - ImageView - placeholder for notification icon foreground image
"notification_image" - ImageView - placeholder for notification icon
"app_icon" - ImageView - Optional - placeholder for app icon that will appear only if the notification has a large icon
"notification_text_container" - ViewGroup - the area of all of the text fileds
"notification_title" - TextView - placeholder for the title text
"notification_text" - TextView - placeholder for the notification text
"notification_time" - TextView - placeholder for the notification time
36
1.5.1prominentIconBgboolset true to paint the icon background with the prominent color of the app's icontrue, false
37
1.5.1prominentAppIconBgboolset true to paint the app icon background with the prominent color of the app's icon (works only on themes that has a custom layout with app_icon ImageView)true, false
38
1.5.1app_icon_bgdrawableNotification app icon background (works only on themes that has a custom layout with app icon imageView)app_icon_bg.png , @android:drawable/transparent
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
Loading...
 
 
 
Sheet1