Need help modding Phone.apk - reposition deleteButton - Galaxy S II Q&A, Help & Troubleshooting

Hi, I want to move the deleteButton of the dialer screen to bottom right.
Current position is this:
{
"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"
}
and I want to have it like this:
I've already decompiled the Phone.apk and found that it's the "deleteButton" with id: "0x7f07003f" and the parent layout is "dialpadAdditionalButtons", "0x7f07003c"
I've searched all the res/xml and smali files but I can't find any positioning code/values.
Is there someone who can help me with that?
Which smali file do I have to modify?

push

push

push

push

push

Can you not decompile phone.apk in pic 2 and compare it with phone.apk in pic 1 using winmerge?
Sent from my GT-I9100 using xda premium

Related

[Q] Where is the file kept for the bottom bar of the notification pulldown

{
"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"
}
Could someone please let me know where this png image resides (the bottom bit of the notification)? I've had a look in framework-res and com.htc.resources apks but cannot find it anywhere.
Thanks!
If you're running a newer android version then it'll be in the SystemUI.apk in system/app
'status_bar_close_on.png' I think it's called.
Go to system/app/SytemUI.apk using rootexplorer application. THen copy it to sdcard and extract this file THen you can find the image in extracted/SystemUI/res/drawable-ldpi/status_bar_close_on.9.png on ../drawable-mdpi/status_bar_close_on.9.png resp. (i.e. Two version of file in drawable* folder )
Excellent - perfect, thanks

How to change Status Bar items color

hey
There is my simple and easy guide for changing status bar icon colors.i.e time and notifications.
You have to follow my guide for compiling decompiling apks.
After that from project folder, just edit following files with notepad++.
C:\............\Apk_Manager_5.0.2\projects\SystemUI.apk\res\values\styles.xml
Open this file with notepad++
Change argb color code with one you want,i.e for ics blue,code is #ff33b5e5...
{
"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"
}
change all argb code to this one #ff33b5e5.
save and recompile and you are done.
Hit thanx if you like.
will it work just like dat or needs other editing?
works brov... thanks a bunch!

[Q] Errors compiling MiuiSystemUi

I installed android SDK and the apis
I use APK Tool
Galaxy Nexus on MIUI 3.7.12
I was trying to enable carrier logo
When decompiling, i install the 2 frameworks (framework-res.apk and framework-miui-res.apk)
But i still getting this:
{
"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"
}
I'm tired of asking everywhere, facebook groups, deviantart, en.miui, everywhere!
I followed the steps from this commentary http://rezarivani.deviantart.com/art/Phoenix-387110569
Help please!!!!!!!
install all apks that are inside framework folder of ur miui
apktool if appname.apk
Sent from my S500 using xda app-developers app

Where is this system graphic stored?

I am using Resflux on the Xposed Framework to theme my phone. I can't seem to find the 'notification drawer pulldown handle' graphic (as indicated in the attached image with the multitude of red arrows) in either systemui.apk or framework-res.apk. I would like to modify this file but can't seem to find it anywhere. I am aware that it may not be an image file. I apologize for being a noob. Any help appreciated. Thanks.
{
"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"
}
bUMp
Those are a couple of images in the system UI. They are named status bar closed.9 if I renewed right
OK thanks. I'll check that out.

Something STRANGE in AsusZenUIServices.apk

I'm using PadFone S with firmware version:
Code:
KOT49H.TW_PadFone-11.10.7.17-20150309 044000247_201404290025
. Recently I'm working on how to change navigation bar size, I have edited dimens.xml in framework-res.apk, but it didn't work. Then I think maybe there's something to do with ZenUI, so I pulled it from /system/priv-app and used apktool to decompile it, then I saw something strange inside there. There are two apk named
Code:
baidu-api-sdk-android.apk
baidu-api-sdk-android.unaligned.apk
Here's the screenshot that I opened the AsusZenUIServices.apk directly:
{
"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"
}
I have tried to install them and they're names are:
Code:
com.baidu.android
I know Baidu, it's a China corporation, but why are they here?
Are Asus sending our personal data to Baidu?
Is there anyone know something about this?

Categories

Resources