How To Add Screenshot Shortcut In Statusbar?? - Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl

I Want To Add In My Statusbar Too

Use screenshot it and then choose option that make shortcut in menu

GalKill said:
Use screenshot it and then choose option that make shortcut in menu
Click to expand...
Click to collapse
I dont wanna use Third Party App >_<

I think it is impossible But thre is some rom that have screen capture shortcut by pressing power button menu
Sent from my GT-S5360 using Tapatalk 2

This is how to add it to epm
see post 1 and post 2
http://forum.xda-developers.com/showthread.php?t=2350724
you could probably add it to status bar by adding the smali reference into the status_bar_expanded.xml and also editing the smali to give it an image - dont ask me how to do that as I dont edit smali but it would just be easier to just add it to epm

GalKill said:
I think it is impossible But thre is some rom that have screen capture shortcut by pressing power button menu
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
its posible bro...Some SysteMUI has this feature.. .......
Try this One [U will find it in galaxy y Themes and apps section]
http://forum.xda-developers.com/showthread.php?t=2349148

marcussmith2626 said:
This is how to add it to epm
see post 1 and post 2
http://forum.xda-developers.com/showthread.php?t=2350724
you could probably add it to status bar by adding the smali reference into the status_bar_expanded.xml and also editing the smali to give it an image - dont ask me how to do that as I dont edit smali but it would just be easier to just add it to epm
Click to expand...
Click to collapse
i Decompiled the systemui which has this feature...but there was no smali reference like com.android.systemui etc in the expanded xml....there were only smali files and screenshot image in Assets folder..

Himan Boro said:
i Decompiled the systemui which has this feature...but there was no smali reference like com.android.systemui etc in the expanded xml....there were only smali files and screenshot image in Assets folder..
Click to expand...
Click to collapse
iv never seen a statusbar for galaxy y with it in the statusbar - only in the epm
doesnt mean it cant be done though if you can work out how but I much prefer to just have an overlay button like in screenshot ultimate

marcussmith2626 said:
iv never seen a statusbar for galaxy y with it in the statusbar - only in the epm
doesnt mean it cant be done though if you can work out how but I much prefer to just have an overlay button like in screenshot ultimate
Click to expand...
Click to collapse
Its there see my above posts link...

Himan Boro said:
Its there see my above posts link...
Click to expand...
Click to collapse
where is the screenshot button?
from the images on the thread I can only see - settings button recent apps button and clear all button
I can also see media buttons brightness slider data speed and a clock but I cant see where a screenshot button is
edit - ok I seen it I think next to the media buttons - i'll have a look at it but since iv not seen it before dunno if I will be able to work it out

marcussmith2626 said:
where is the screenshot button?
from the images on the thread I can only see - settings button recent apps button and clear all button
I can also see media buttons brightness slider data speed and a clock but I cant see where a screenshot button is
edit - ok I seen it I think next to the media buttons - i'll have a look at it but since iv not seen it before dunno if I will be able to work it out
Click to expand...
Click to collapse
yap.ok..it uses dcsms smali

Himan Boro said:
yap.ok..it uses dcsms smali
Click to expand...
Click to collapse
the line for it is
Code:
<com.android.systemui.statusbar.TogelMusrik android:gravity="center" android:id="@id/rio" android:scrollbars="none" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="13.0dip" android:overScrollMode="never" />
its part of the whole media button banner at the top
I think this is the smali lines that control it but since I dont work with smali I dont know how to edit it
Code:
.line 145
.local v1, fwd:Landroid/graphics/Bitmap;
const-string v5, "dcsms_ic_ss"
invoke-direct {p0, v5}, Lcom/android/systemui/statusbar/TogelMusrik;->getAset(Ljava/lang/String;)Landroid/graphics/Bitmap;
move-result-object v3

marcussmith2626 said:
the line for it is
Code:
<com.android.systemui.statusbar.TogelMusrik android:gravity="center" android:id="@id/rio" android:scrollbars="none" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="13.0dip" android:overScrollMode="never" />
its part of the whole media button banner at the top
I think this is the smali lines that control it but since I dont work with smali I dont know how to edit it
Code:
.line 145
.local v1, fwd:Landroid/graphics/Bitmap;
const-string v5, "dcsms_ic_ss"
invoke-direct {p0, v5}, Lcom/android/systemui/statusbar/TogelMusrik;->getAset(Ljava/lang/String;)Landroid/graphics/Bitmap;
move-result-object v3
Click to expand...
Click to collapse
hehe..thnx for tryng bro..but i already did that...it gives only Music player buttons..not the ScreenShot ...

Himan Boro said:
hehe..thnx for tryng bro..but i already did that...it gives only Music player buttons..not the ScreenShot ...
Click to expand...
Click to collapse
that camera png is part of that smali but since I dont work with smali I dont know how it is implimented - you will have to ask the person who wrote it or someone who understands smali better than I do

marcussmith2626 said:
that camera png is part of that smali but since I dont work with smali I dont know how it is implimented - you will have to ask the person who wrote it or someone who understands smali better than I do
Click to expand...
Click to collapse
Ok..i wil cntct dcsms for tht..thnx

Related

[Q] [Solved] Change notification's background behind the buttons

I'm cooking framework-res.apk for my theme.
But I can't find the background of notification buttons(wifi,gps...).
I've been searching it for a period of time, but I just know the background file is in framework-res.apk...
I also take a look at all of the files in it, but I have no idea which one is the file...
Can someone tell me what is the name of the file...?
============================================================================
Updated - Thanks for clem_ita's help!
The settings of notification's background behind the buttons are in lge-res.apk.
The method to change its color:
1. Use apktool to decompile the lge-res.apk.
2. Go to res\layout and find "lge_status_bar_expanded.xml".
3. Open it with a text editor, and search for the string:
android:id="@id/quick_setting"
Click to expand...
Click to collapse
4. You'll see something like this (In my Chinese lge-res.apk it shows like this):
android:background="#ffd0d0d0"
Click to expand...
Click to collapse
Just change the color in the quote.
5. Recompile it and replace the stock one with the modified one.
After reboot, you'll see the change.
[Sorry for my poor English]
If the instruction is not clear enough, please tell me.
if u find the name, post it here
ccdreadcc said:
if u find the name, post it here
Click to expand...
Click to collapse
Because I can't find it, so I just post here....
In your theme(DarkRoom), the notification background is changed...
Even though I extracted the framework-res.apk in your theme, I still couldn't find the image which looks like the background...
I have no idea either... I just used other frameworks as base for the theme...
I have not tested yet, but this backgroudn color should be set via a xml file in lge-res.apk
the xml file should be lge_status_bar_expanded.xml in the layout folder
(got this informations from save80 @ androidword.it forum.. cannot post the exact link as I am a new user)
You also have to change the buttons background using a photo editor software. Those aren't just xml's. With xml's you can change the colour behind the buttons, not the buttons backgrounds. I hope I made myself clear enough. If you need any further assistance, I am here to help.
badeaioan said:
You also have to change the buttons background using a photo editor software. Those aren't just xml's. With xml's you can change the colour behind the buttons, not the buttons backgrounds. I hope I made myself clear enough. If you need any further assistance, I am here to help.
Click to expand...
Click to collapse
My purpose is just to change the bg color behind buttons.
Anyway, thanks for your tips.

How to change the statusbar buttons

hi guys,
i'm sorry that i had to post a new thread, but i didn't find the answer at my question, so.., is anyone who know how to change the buttons in statusbar(wifi, bt, 2g/3g, vibrate/general etc; look in the screenshoots below) to look like ics but i didn't find the right png and xmls.
the first screenshoot is what i have in this momment, and the second is what i want(the transparency i will do later)
(but without the 2 buttons encircled; but instead the 2 buttons i want the data(2g/3g) button )
So who can help me to do that?
PS: the rom is made by me, based on V20I branded(and i have a lg p500)
sorry for my bad english
> you need to config xml's if you also want to change bg color of the notification panel
> and some png's for the icons you want to replace
neko95 said:
> you need to config xml's if you also want to change bg color of the notification panel
> and some png's for the icons you want to replace
Click to expand...
Click to collapse
ok, i will try that too(because vikasb32 answered me in another post and he told me to look in lg-res.apk somewhere in /system/framework).
mih406 said:
ok, i will try that too(because vikasb32 answered me in another post and he told me to look in lg-res.apk somewhere in /system/framework).
Click to expand...
Click to collapse
Dude i am 100% sure if you want to change notification power button you need to change png in lge-res.apk.i made ics theme for stock rom so i know that.just try dude
Sent from my LG-P500 using Tapatalk 2
vikasb32 said:
Dude i am 100% sure if you want to change notification power button you need to change png in lge-res.apk.i made ics theme for stock rom so i know that.just try dude
Sent from my LG-P500 using Tapatalk 2
Click to expand...
Click to collapse
ok thanks a lot, it works .
1. Now if you can, i want to tell me what to change to get that progress bar showed in the first screenshoot. In the second screenshoot is what i have in this momment.
2. And i want to change the buttons, for example in deskclock.apk these are the buttons(third screenshoot), and i want to change that buttons to this buttons(the 4th screenshoot).
LE: i found another problem: after i themed the contacts.apk and phone.apk everything looks and work good, but the number buttons they aren't visible(the 5th screenshoot), and i want to make it visible, to look like in your theme
LE2: sorry, but after i change the statusbar buttons(wifi,data,gps, etc) and after i put transparency i got this statusbar(6th screenshoot). Now, my question: is possible to make my statusbar to look like the ics statusbar(7th screenshoot), but instade of date i want the carrier.
thanks!

[Q] Help editing UI bars color

I want to change the color of UI bars, for example the bar that appears when I adjust the volume or RAM usage bar in task manager. I want to edit the necesary files, but I don't know how to do. I think I have to edit a xml file and find the color in hex code and change it... right?
Someone helps?
FFX_Wakka said:
I want to change the color of UI bars, for example the bar that appears when I adjust the volume or RAM usage bar in task manager. I want to edit the necesary files, but I don't know how to do. I think I have to edit a xml file and find the color in hex code and change it... right?
Someone helps?
Click to expand...
Click to collapse
They are in framework-res.apk...not xmls..just pngs..
EatHeat said:
They are in framework-res.apk...not xmls..just pngs..
Click to expand...
Click to collapse
I can't find those pngs, In framerok-res.apk I find progrees bar pngs, for example the bar that appears when you are downloading an app, but I can't find "static" bars, like brightness slider bar or volume control.
I want to change the color of mentioned bars, not progress bars.
They are a 1x1. 9.png like title_bar.9.png
Sent un Samsung Galaxia S Quatro LTE
also, editing the styles.xml can change the progress bars height.
Sent from my GT-I8190 using xda app-developers app
It is progress_primary_holo_light.9.png
I told you that they are same, progress bar and slider
I have changed all framework pngs many times and the brightness slider and volume control bar always have the same color.
try this guide http://forum.xda-developers.com/showpost.php?p=32092724&postcount=2
no. 9 guide
I've tried that personally and works!
SOLUTION: Edit progress_horizontal xml in res/drawable in framework-res.apk
THANKS TO ALL!!!

[Q]Recovery Toggles

Any one here knows what smali is responsible for the Recovery toggle on the statusbar expanded? Thanks!
Have a look in the power widget smali - it's probably referenced there then you can find it
lidroid/systemui/quickpanel
maybe rebootbutton.smali
marcussmith2626 said:
Have a look in the power widget smali - it's probably referenced there then you can find it
lidroid/systemui/quickpanel
maybe rebootbutton.smali
Click to expand...
Click to collapse
Is that the only one? i don't know how to read smali

[TUTORIAL] [UPDATE :- 01.02.2014] Customization for Xperia Home JB 4.1/ 4.2/ 4.3

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hello Friends
Here I Am Again With Another Simple Tutorial. Modifying Xpria Home App Drawer and Dock Bars. With This Tutorial You Can Create Various Home Mods..
Note: I Know that there are some good Xposed Modules available for making this things more easy. But i always like old school methods.. So Please do not comment about any Xposed Modules Here.. Thanks..
THINGS NEEDED
Click to expand...
Click to collapse
PC
Knwoldge of De Compiling and Other Blah Blah
A Deodexed ROM
Little Mathematics Brain
Here I Am Going To Explain About Two Mods. One Is Home App Drawer and Another One Is Dock Bar.
MAKING 7 DOCK BAR ICONS
Click to expand...
Click to collapse
The Default Dock Bar icons will b 5. Right ? Now you can make 7 Icons In Dock Bar With This Tutorial.
(1) Decompile Your Home.apk ( Must Be Deodexed )
(2) Go To Res/Values/dimens.xml ( Open It Using Notepad ++ )
(a) You Will Find This Line
<dimen name="icon_image_width">48.0dip</dimen>
<dimen name="icon_image_height">48.0dip</dimen>
<dimen name="icon_label_text_size">13.0sp</dimen>
Click to expand...
Click to collapse
Change It To This
<dimen name="icon_image_width">44.0dip</dimen>
<dimen name="icon_image_height">44.0dip</dimen>
<dimen name="icon_label_text_size">11.0sp</dimen>
Click to expand...
Click to collapse
Note:- You Can Give Any Size. This is meant for the Icon Size. If U Put the Size above 50 Means It will b huge size. Pls make both icon size same. Changing this size will change the Both Dock and App Drawer Icon Size..
(b) You Will Find This Line
<dimen name="stage_cell_width">64.0dip</dimen>
<dimen name="stage_cell_height">82.0dip</dimen>
<dimen name="stage_breadth">75.0dip</dimen>
Click to expand...
Click to collapse
Note:- The Size may differ from urs, so dont confuse..
Change It To This
<dimen name="stage_cell_width">52.0dip</dimen>
<dimen name="stage_cell_height">55.0dip</dimen>
<dimen name="stage_breadth">60.0dip</dimen>
Click to expand...
Click to collapse
Note:- This is a perfect size. If u want u can try to change the sizes and see..
Thats It. Save the dimes.xml and Close It..
(3) Go To Res/Values/Integers.xml ( Open It Using Notepad ++ )
(a) You Will Find This Line
<integer name="stage_grid_columns">5</integer>
<integer name="stage_grid_rows">1</integer>
<integer name="max_stage_items">4</integer>
Click to expand...
Click to collapse
Change It To This
<integer name="stage_grid_columns">7</integer>
<integer name="stage_grid_rows">1</integer>
<integer name="max_stage_items">6</integer>
Click to expand...
Click to collapse
Thats It. Save the Integers.xml and Close it..
(4) Go To Res/values-sw360dp/dimens.xml f( Open It Using Notepad ++ )
(a) You Will Find This Line
<dimen name="stage_cell_width">72.0dip</dimen>
<dimen name="stage_cell_height">87.0dip</dimen>
Click to expand...
Click to collapse
Note:- The Size may differ from urs, so dont confuse..
Change It To This
<dimen name="stage_cell_width">52.0dip</dimen>
<dimen name="stage_cell_height">58.0dip</dimen>
Click to expand...
Click to collapse
Thats It. Save the Integers.xml and Close it..
Done. Now you can Re Compile and Sign The Home.apk and use. You have now 7 Dock Bars As Shown Below.
MAKING 5x5 APP DRAWER GRID
Click to expand...
Click to collapse
The Default App Drawer Will Have 5 x 4 Icons Grid.. Right ? Now you can make 5x5 App Drawer Grid With This Tutorial
(1) Decompile Your Home.apk ( Must Be Deodexed )
(2) Go To Res/Values/dimens.xml ( Open It Using Notepad ++ )
(a) You Will Find This Line
<dimen name="apptray_cell_width">84.0dip</dimen>
<dimen name="apptray_cell_height">96.0dip</dimen>
<dimen name="apptray_grid_height">500.0dip</dimen>
Click to expand...
Click to collapse
Note:- The Size may differ from urs, so dont confuse..
Change It To This
<dimen name="apptray_cell_width">69.0dip</dimen>
<dimen name="apptray_cell_height">96.0dip</dimen>
<dimen name="apptray_grid_height">520.0dip</dimen>
Click to expand...
Click to collapse
Thats It. Save the Integers.xml and Close it..
(3) Go To Res/Values/integers.xml ( Open It Using Notepad ++ )
(a) You Will Find This Line
<integer name="apptray_grid_columns">4</integer>
<integer name="apptray_grid_rows">5</integer>
Click to expand...
Click to collapse
Change It To This
<integer name="apptray_grid_columns">5</integer>
<integer name="apptray_grid_rows">5</integer>
Click to expand...
Click to collapse
Note:- This will help you to have 5x5 App Drawer Grid
Thats It. Save the Integers.xml and Close it..
Done. Now you can Re Compile and Sign The Home.apk and use. You have now 5x5 App Drawer Grid As Shown Below.
So If You want to make the 7 Dock and 5x5 App Drawer Together Means Just Combine Both Tutorial. U will have Both Mods.
There Are another App Tray Grids Available Like 6x5, 6x4 , 7x5 , 7x6 Etc Etc. You Just have to Calculate the values and then apply..
Anyway here i am giving you some App Drawer Values. So You can use it without any Problems...
6x5 App Drawer
<dimen name="apptray_cell_width">67.0dip</dimen>
<dimen name="apptray_cell_height">90.0dip</dimen>
<dimen name="apptray_grid_height">550.0dip</dimen>
Click to expand...
Click to collapse
6x4 App Drawer
<dimen name="apptray_cell_width">84.0dip</dimen>
<dimen name="apptray_cell_height">90.0dip</dimen>
<dimen name="apptray_grid_height">550.0dip</dimen>
Click to expand...
Click to collapse
Thats It.. Enjoy Modding... Press The Thanks Button For Me If You Like It...
TUTORIAL FOR MODDING LATEST Z2 HOME
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=52496597&postcount=95
Great job! Keep these tutorials comming =)
Really a nice guide mate
is there a way to get the old transition effect in the new home screen ? it was like inner of a cube or something like that , the new one is outside of a cube , i really like the old one
and is there a way to get transition effect in the app drawer ?
Tutorials are always welcomed
elias234 said:
is there a way to get the old transition effect in the new home screen ? it was like inner of a cube or something like that , the new one is outside of a cube , i really like the old one
and is there a way to get transition effect in the app drawer ?
Click to expand...
Click to collapse
No idea about that mate.. Sorry
Nice tutorial @Rajeev bro! :thumbup:
Sent from my MT27i using XDA Premium 4 mobile app
great job!!! it was helpful
could there be a tut for adding the ‘hiden apps’ choice?:good:
Leo said:
could there be a tut for adding the ‘hiden apps’ choice?:good:
Click to expand...
Click to collapse
Dont get u mate
Rajeev said:
Dont get u mate
Click to expand...
Click to collapse
my bad English…
i mean could u have look at modding Home.apk to get the function of hiding apps in menu.
i see this function from Gem in Xposed.
hope u get me now…
Sent from my LT29i using XDA Premium 4 mobile app
Leo said:
my bad English…
i mean could u have look at modding Home.apk to get the function of hiding apps in menu.
i see this function from Gem in Xposed.
hope u get me now…
Sent from my LT29i using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Yep. I Understand. The Matter is Ur English Is Good. Mine Bad. Thats Y i cant understand u at the First Time...
I will take a look at there later.... Sure.. Its not difficult..
:good::good:
Great work buddy.... guess i can just mod ported home now to my taste!!!
thanks....
whalesplaho said:
Great work buddy.... guess i can just mod ported home now to my taste!!!
thanks....
Click to expand...
Click to collapse
Thanks for that Buddy...
Rajeev said:
Thanks for that Buddy...
Click to expand...
Click to collapse
bro burt C:\TickleMyAndroid\_working\Home.apk\res\layout\apptraydrawer_list_header.xml:2: error: Error: Integer types not allowed (at 'layoutDirection' with value '3'). can you help me?
teguhsangra said:
bro burt C:\TickleMyAndroid\_working\Home.apk\res\layout\apptraydrawer_list_header.xml:2: error: Error: Integer types not allowed (at 'layoutDirection' with value '3'). can you help me?
Click to expand...
Click to collapse
Is ur Home.apk is Fully Deodexed ?
Rajeev said:
Is ur Home.apk is Fully Deodexed ?
Click to expand...
Click to collapse
Same here, my home.apk is fully deodexed (my phone -xperia sola- always deodexed).
@Rajeev can you help me
---------------------------------------------------------------------------------------------------------------------------
Edit : Can you make 6x4 App drawer for my Home.apk?
Here is my home.apk, thank you :laugh:
View attachment Home.apk
elias234 said:
is there a way to get the old transition effect in the new home screen ? it was like inner of a cube or something like that , the new one is outside of a cube , i really like the old one
and is there a way to get transition effect in the app drawer ?
Click to expand...
Click to collapse
Sure there is...
I'm talking theoretically but I'll check that...
There's animation folder and we could check that...
I doubt it would be enough to just add files you should add them to ids to but it could be done.
Sent from my C6903 using Tapatalk
MT27i said:
Same here, my home.apk is fully deodexed (my phone -xperia sola- always deodexed).
@Rajeev can you help me
---------------------------------------------------------------------------------------------------------------------------
Edit : Can you make 6x4 App drawer for my Home.apk?
Here is my home.apk, thank you :laugh:
View attachment 2633131
Click to expand...
Click to collapse
I Don't have pc now bro...
BTW - nice work friend...
You wrote some very nice tutorials...
Keep it up
Sent from my C6903 using Tapatalk

Categories

Resources