Free forum for every Cherry Mobile android phone user. A discussion of phone reviews, firmware, apps, games, themes.. etc. Registration is free. Filipino Community - This is a free forum not related with cherrymobile.com.ph
 
HomePortalRegisterLog in

Share | 
 

 [HOWTO] Edit notification pulldown items...

View previous topic View next topic Go down 
AuthorMessage
Admin
ADMIN

ADMIN
avatar

Posts : 202
Points : 305
Respect : 40
Join date : 25/03/2013
Age : 27
Location : Muntinlupa City

PostSubject: [HOWTO] Edit notification pulldown items...   Thu Mar 28, 2013 10:37 am

To do this mod:

kelangan mo ng basic knowledge about decompiling/recompiling.
PC preferably windows 7
Notepad++
Flare (syempre)
Braincells!!!

First thing first,
Decompile SystemUI.apk

punta po kayu dito /smali/com/androids/systemui/statusbar
open Statusbar.smali gamit po ang notepad++
punta sa line 397 or pwede search nyu na lang to

Code:
const/16 v16, 0x4

Palitan po ito ng

Code:
const/16 v16, -0x3

ang gagawin po neto ay para po matangap ng notification pulldown ang transparency
sa mga items na nakapaloob sa kanya, yung mga lines, headers, etc.

save and close po.

punta po tayu sa res/values
at open po ang drawables.xml gamit ulit ang notepad++

Code:
    <item type="drawable" name="notification_number_text_color">#ffffffff</item>
    <item type="drawable" name="notification_item_background_color">#ff111111</item>
    <item type="drawable" name="notification_item_background_color_pressed">#ff257390</item>
    <item type="drawable" name="ticker_background_color">#ff1d1d1d</item>
    <item type="drawable" name="status_bar_background">#ff000000</item>
    <item type="drawable" name="status_bar_recents_background_solid">#b3000000</item>
    <item type="drawable" name="status_bar_recents_app_thumbnail_background">#88000000</item>
    <item type="drawable" name="status_bar_notification_row_background_color">#ff090909</item>
    <item type="drawable" name="notification_header_bg">#ff000000</item>
    <item type="drawable" name="notification_tracking_bg">#d8000000</item>
    <item type="drawable" name="recents_callout_line">#99ffffff</item>
    <item type="drawable" name="notification_item_background_legacy_color">#ffaaaaaa</item>

[You must be registered and logged in to see this image.]

So ang kelangan mo lang baguhin ay yung mga value, yung may mga letter/number combination dun sa taas..

eto mga kelangan mong malaman...

Code:
example: #00112233
00 defines transparency, 00 is totally transparent, FF is totally opaque
11 defines the ammount of red, 00 has no red, FF is this
22 defines the ammount of green, 00 has no green, FF is this
33 defines the ammount of blue, 00 has no blue, FF is this
FF000000 means it's totally black opaque
80000000 it's 50% opacity black
80FFFFFF it's 50% opcity white
80FF0000 it's 50% opacity red

ngayun kung di nyu maintindihan yan, kelangan mo lang malaman na yung
FF=totally opaque (not transparent at all)
C0=25% transparent
80=50% transparent
40=75% transparent
00=100%transparent

para naman sa kulay.. yung next 6 characters after nung transparency:

1.)open calculator, yung sa pc po ha, hindi actual calculator..
2.)press alt + 3 , lalabas yung parang programmer calculator nya (windows 7)..
3.)punta po tayu sa paint... tas edit color... Pili kayung trip nyung color jan..
mapapansin mo may 3 box jan for Red, Green at Blue...
kunin po ang value ng red(copy)..
4.)then paste sa calculator...then click po yung hex (sa may left side)
lalabas na po yung hex value nung number na inincode nyu..
5.)lista nyu po sa papel yun, yun na po kasi yung 3rd and 4th character na need mo..

(example 180 = red, dapat ang value nya sa hex = B4 ..gets ba? hehehe)

6.)procede po tayu sa next color yung green at blue, same procedure lang din po basta bago ipaste sa calculator eh naka "dec" sya.

so para maliwanag.. example tayu..
PAINT EDIT COLOR (mejo pink)
red = 180
green = 92
blue = 142

hex value nya dapat, B45C8E
dagdag naten yung 25%transperancy so ang value nya...

Code:
C0B45C8E
[center]
Ayan.. tingin ko maliwanag na ang lahat...
sana may idea na kayu kung pano magbago ng mga kulay sa xml files..
hindi lang sa notificatiob pulldown menu merong kulay na gagamitan ng hex value, kahit sa ibang xml din
so importante na alam nyu to..

save file.. then recompile back.. Smile

________________________________________________________________________

[You must be registered and logged in to see this image.]


Last edited by Admin on Sun Apr 14, 2013 5:39 pm; edited 3 times in total
Back to top Go down
http://cherryforum.free-boards.net
jhess.lim



Posts : 1
Points : 1
Respect : 0
Join date : 26/03/2013

PostSubject: Re: [HOWTO] Edit notification pulldown items...   Thu Mar 28, 2013 11:35 am

nice sir, thanks you po Smile
Back to top Go down
jbucane

avatar

Posts : 6
Points : 6
Respect : 0
Join date : 25/03/2013
Location : SystemUI/res/values

PostSubject: Re: [HOWTO] Edit notification pulldown items...   Thu Mar 28, 2013 4:46 pm

Eto madami nag hahanap nito Smile

________________________________________________________________________

[You must be registered and logged in to see this image.]
Back to top Go down
http://www.facebook.com/jbucane
Admin
ADMIN

ADMIN
avatar

Posts : 202
Points : 305
Respect : 40
Join date : 25/03/2013
Age : 27
Location : Muntinlupa City

PostSubject: Re: [HOWTO] Edit notification pulldown items...   Thu Mar 28, 2013 5:11 pm

alam mo na gagawin mo Smile promote hehehe lol!
Back to top Go down
http://cherryforum.free-boards.net
ian_eo
member

member


Posts : 12
Points : 23
Respect : 3
Join date : 04/04/2013

PostSubject: Re: [HOWTO] Edit notification pulldown items...   Thu Apr 04, 2013 12:13 pm

Nice ito ung mga hinahanap ko. need ko nalang is ung para magka clock n date, jb style. tapos nasa top sya ng toggles. sir, sana may mabigay kayong info about dun. palyado mga natry ko eh. TIA
Back to top Go down
zwgchase
member

member
avatar

Posts : 15
Points : 15
Respect : 0
Join date : 04/04/2013
Age : 27
Location : Bacoor, Cavite

PostSubject: Re: [HOWTO] Edit notification pulldown items...   Thu Apr 04, 2013 5:57 pm

Thanks sa tutorial, malaking tulong to. Very Happy

________________________________________________________________________

Zatanic War Godz Chase
App Developer
Back to top Go down
zai.zurdic



Posts : 3
Points : 3
Respect : 0
Join date : 28/04/2013

PostSubject: Re: [HOWTO] Edit notification pulldown items...   Mon Apr 29, 2013 2:54 pm

nd po gumagana sir.... nagloloko po ung status bar :'(
Back to top Go down
Admin
ADMIN

ADMIN
avatar

Posts : 202
Points : 305
Respect : 40
Join date : 25/03/2013
Age : 27
Location : Muntinlupa City

PostSubject: Re: [HOWTO] Edit notification pulldown items...   Mon Apr 29, 2013 3:42 pm

Baka naman po hindi nyu binago yung permission? or baka mali yung hex value na sinubukan nyu.. Smile

________________________________________________________________________

[You must be registered and logged in to see this image.]
Back to top Go down
http://cherryforum.free-boards.net
PhantomRenegade



Posts : 1
Points : 1
Respect : 0
Join date : 23/08/2013

PostSubject: Re: [HOWTO] Edit notification pulldown items...   Fri Aug 23, 2013 5:27 pm

pang ICS lang ba toh?
Back to top Go down
Sponsored content




PostSubject: Re: [HOWTO] Edit notification pulldown items...   

Back to top Go down
 
[HOWTO] Edit notification pulldown items...
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Ano na ang nangyayari sa salita natin?
» Help! How to set Annotation Scale default value
» Red and Old Wood
» palitan ang mukha
» Sinong Sikat na Architect ka?

Permissions in this forum:You cannot reply to topics in this forum
cherryforum.free-boards.net :: Cherry Mobile Android Phones Discussion, Reviews & Updates :: Flare-
Jump to: