cherryforum.free-boards.net
Would you like to react to this message? Create an account in a few clicks or log in to continue.


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
 
HomePortalLatest imagesRegisterLog in

 

 [HOWTO] Edit notification pulldown items...

Go down 
+3
jbucane
jhess.lim
Admin
7 posters
AuthorMessage
Admin
ADMIN

ADMIN
Admin


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

[HOWTO] Edit notification pulldown items... Empty
PostSubject: [HOWTO] Edit notification pulldown items...   [HOWTO] Edit notification pulldown items... EmptyThu 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


Last edited by Admin on Sun Apr 14, 2013 5:39 pm; edited 3 times in total
Back to top Go down
https://cherryforum.forumtl.com
jhess.lim




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

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

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

jbucane


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

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

Eto madami nag hahanap nito Smile
Back to top Go down
https://www.facebook.com/jbucane
Admin
ADMIN

ADMIN
Admin


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

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

alam mo na gagawin mo Smile promote hehehe lol!
Back to top Go down
https://cherryforum.forumtl.com
ian_eo
member

member



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

[HOWTO] Edit notification pulldown items... Empty
PostSubject: Re: [HOWTO] Edit notification pulldown items...   [HOWTO] Edit notification pulldown items... EmptyThu 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
zwgchase


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

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

Thanks sa tutorial, malaking tulong to. Very Happy
Back to top Go down
zai.zurdic




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

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

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

ADMIN
Admin


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

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

Baka naman po hindi nyu binago yung permission? or baka mali yung hex value na sinubukan nyu.. Smile
Back to top Go down
https://cherryforum.forumtl.com
PhantomRenegade




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

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

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





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

Back to top Go down
 
[HOWTO] Edit notification pulldown items...
Back to top 
Page 1 of 1
 Similar topics
-
» [HOWTO] Add background for notification pulldown..
» [HOWTO] Add status bar background...
» [HOWTO] Decompile/Recompile SystemUI.apk (applicable to other apk)
» [MOD][HOWTO] change ICS lockscreen animation to Honeycomb style (ripple)

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: