Which Smali Generate Tab in framework.jar - Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl

Hello Devs I am Developing Rom Called Zero Which smali generate the tabs in framework.jar and Which Public .xml are follow in framework.jar help pls

Great... >_< Waiting For the rom to be release >_<

Thanax But i need the answer

shadman0 said:
Hello Devs I am Developing Rom Called Zero Which smali generate the tabs in framework.jar and Which Public .xml are follow in framework.jar help pls
Click to expand...
Click to collapse
Normaly This Smalis Of Framework.jar Generates/Implements Tabs In Android Apps (As Like Our Tabbed Settings)-
android/view/GestureDetector
(Implements The Swipe/Gesture View)
android/view/View
(Implements The View Style Of Tabs)
android/widget/TabHost
(Generate The Tabs)
There Are Also Many Child Implements In Framework.jar,To Generate Tabs,So For Detailed Information You Have To Learn Android Developing....Go To Developers.android.com To Learn..

TECHNO_THUNDER said:
Normaly This Smalis Of Framework.jar Generates/Implements Tabs In Android Apps (As Like Our Tabbed Settings)-
android/view/GestureDetector
(Implements The Swipe/Gesture View)
android/view/View
(Implements The View Style Of Tabs)
android/widget/TabHost
(Generate The Tabs)
There Are Also Many Child Implements In Framework.jar,To Generate Tabs,So For Detailed Information You Have To Learn Android Developing....Go To Developers.android.com To Learn..
Click to expand...
Click to collapse
Which smali in framework.jar that control tabs

shadman0 said:
Hello Devs I am Developing Rom Called Zero Which smali generate the tabs in framework.jar and Which Public .xml are follow in framework.jar help pls
Click to expand...
Click to collapse
explain

TECHNO_THUNDER said:
Normaly This Smalis Of Framework.jar Generates/Implements Tabs In Android Apps (As Like Our Tabbed Settings)-
android/view/GestureDetector
(Implements The Swipe/Gesture View)
android/view/View
(Implements The View Style Of Tabs)
android/widget/TabHost
(Generate The Tabs)
There Are Also Many Child Implements In Framework.jar,To Generate Tabs,So For Detailed Information You Have To Learn Android Developing....Go To Developers.android.com To Learn..
Click to expand...
Click to collapse
Which smali need to modify for themeing tab in framework.jar

Never looked in framework.jar but in framework-res.apk it is tab_indicator.xml and the one below it .I dont remember tab..cml

san122 said:
Never looked in framework.jar but in framework-res.apk it is tab_indicator.xml and the one below it .I dont remember tab..cml
Click to expand...
Click to collapse
Hey bro i need smali

shadman0 said:
Which smali need to modify for themeing tab in framework.jar
Click to expand...
Click to collapse
Can You Please Explain,What Do You Want To Do With This?

TECHNO_THUNDER said:
Can You Please Explain,What Do You Want To Do With This?
Click to expand...
Click to collapse
Hey bro framework.jar is source of framework-res.apk which have to modify

shadman0 said:
Hey bro framework.jar is source of framework-res.apk which have to modify
Click to expand...
Click to collapse
What will you do with your tab ?
Sent from my GT-S5360 using xda app-developers app

Here u can see some tabs these are cannot theme by decopile so these only can be modify by framework-res.apk here the tabs resource and framework.jar source of tab which smali is the source of tab

shadman0 said:
Here u can see some tabs these are cannot theme by decopile so these only can be modify by framework-res.apk here the tabs resource and framework.jar source of tab which smali is the source of tab
Click to expand...
Click to collapse
If You Are Asking About Job Manager Tabs,The Background and Tab Selected/Unselected are *.9.png Images.
And For The Text View Bug Of The Tabs,Just Resize(Small) The Icons That You Are Using In The Tab..

TECHNO_THUNDER said:
If You Are Asking About Job Manager Tabs,The Background and Tab Selected/Unselected are *.9.png Images.
And For The Text View Bug Of The Tabs,Just Resize(Small) The Icons That You Are Using In The Tab..
Click to expand...
Click to collapse
Hey our rom will be Text tab but in Settings Jobmanger Contacts and phone will be icon

shadman0 said:
Hey our rom will be Text tab but in Settings Jobmanger Contacts and phone will be icon
Click to expand...
Click to collapse
Ok,So You Mean That You Wanna Remove The Texts From The Tabs??

TECHNO_THUNDER said:
If You Are Asking About Job Manager Tabs,The Background and Tab Selected/Unselected are *.9.png Images.
And For The Text View Bug Of The Tabs,Just Resize(Small) The Icons That You Are Using In The Tab..
Click to expand...
Click to collapse
Yes

Related

Do i need to resize a theme from GT-5830 to Galaxy Y ?

Hey guys, i write this thread to ask you if i need to resize stuff in a theme from Galaxy Ace to apply it to my Galaxy Y Stockrom ?
If yes, how can i do ?
I'm talking about this theme : http://forum.xda-developers.com/showpost.php?p=42327086&postcount=1739&nocache=1&z=2644779603544356
Made by Slayer321, all credit goes to him, i simply wanted to know if i can put this theme in my rom because i love Xperia UI and i liked his work.
Thanks you all for answer to my questions
almost certainly you would need to resize
ace is mdpi and galaxy y is ldpi
rezise the pngs and some layout xmls might have to be resized
marcussmith2626 said:
almost certainly you would need to resize
ace is mdpi and galaxy y is ldpi
rezise the pngs and some layout xmls might have to be resized
Click to expand...
Click to collapse
How can i do this ? any specific software or just something like Photoshop ? Thanks.
Ace is mdpi
Y is LDPI
I think you need to resize the theme or it will look ugly
Sent from my GT-S5360 using Tapatalk 2
OxygeenHD said:
How can i do this ? any specific software or just something like Photoshop ? Thanks.
Click to expand...
Click to collapse
apktool and any photo editor
marcussmith2626 said:
apktool and any photo editor
Click to expand...
Click to collapse
Could you please tell me if you know a guide to do some resizing with APKTool ? About the photo editor, it will be OK, i'm just scared about where i must start ... ^^"
OxygeenHD said:
Could you please tell me if you know a guide to do some resizing with APKTool ? About the photo editor, it will be OK, i'm just scared about where i must start ... ^^"
Click to expand...
Click to collapse
apktool is to decompile the apk to edit xml layouts
remember google is your friend - do some searching
every apk is different you will have to read and understand the layouts - best to flash it first then you can see what needs changing
OxygeenHD said:
Could you please tell me if you know a guide to do some resizing with APKTool ? About the photo editor, it will be OK, i'm just scared about where i must start ... ^^"
Click to expand...
Click to collapse
My advice : Download the theme from the thread and flash it as it is.When you are booted with the theme,check out what are the problems in the theme.If there are FC's in apps,sign then with the help of android multitool.If the themed apps are not fitting the screen,resize the PNG's with the help of any good photo editing software.
You can search google 'How to port themes' or you can go to the 'Android Themes' section on XDA,make a thread and ask there.Some experienced people might help you more than us!

[Q] [q] Porting Framework

Hello sirs/mams can I port any rom's framework to another rom?? Help needed asap:laugh:..Don't worry I won't stole any dev's credits..please tell masters.It'll be very helpful for me
[email protected] said:
Hello sirs/mams can I port any rom's framework to another rom?? Help needed asap:laugh:..Don't worry I won't stole any dev's credits..please tell masters.It'll be very helpful for me
Click to expand...
Click to collapse
copy png files from drawable folders and compare XML files for any addition, that's the fastest way
mohamedrashad said:
copy png files from drawable folders and compare XML files for any addition, that's the fastest way
Click to expand...
Click to collapse
Sir what do you mean by "compare XML files for any addition" ..explain please. am a newbie
Here is a guide on doing so.
http://forum.xda-developers.com/showthread.php?t=1719886
I tried it myself, but I think I did something wrong so it didn't work, but you could give it a shot and if you do, post the result.
Thanks
NightRaven49 said:
Here is a guide on doing so.
http://forum.xda-developers.com/showthread.php?t=1719886
I tried it myself, but I think I did something wrong so it didn't work, but you could give it a shot and if you do, post the result.
Click to expand...
Click to collapse
Thanks but the guide is for HDPI and MDPI devices..but our sgy is ldpi
[email protected] said:
Thanks but the guide is for HDPI and MDPI devices..but our sgy is ldpi
Click to expand...
Click to collapse
I guess if u go inside framework-res.apk, there will be drawable ldpi & drawable mdpi folders. Btw if u wanna change only pngs & xmls, then u can do it in ur phone itself. U just need a superb app called Ninjamorph.apk
Hope this helps...!!
Galaxy_Rohit said:
I guess if u go inside framework-res.apk, there will be drawable ldpi & drawable mdpi folders. Btw if u wanna change only pngs & xmls, then u can do it in ur phone itself. U just need a superb app called Ninjamorph.apk
Hope this helps...!!
Click to expand...
Click to collapse
I know bro about ninjamorph...but please provide me best .9.png editor for my pc (xp)
[email protected] said:
Hello sirs/mams can I port any rom's framework to another rom?? Help needed asap:laugh:..Don't worry I won't stole any dev's credits..please tell masters.It'll be very helpful for me
Click to expand...
Click to collapse
Nice thread sir..It might help noob like me too
Welcome
mimma7 said:
Nice thread sir..It might help noob like me too
Click to expand...
Click to collapse
Welcome..

Theming Help

can someone tells me guide to edits framework of galaxy y? (I means to add theme, etc) Thanks
GalKill said:
can someone tells me guide to edits framework of galaxy y? (I means to add theme, etc) Thanks
Click to expand...
Click to collapse
Sorry this question is too general
First you need to decide what exactly it is you want to do
Next type into google what it is you want to do and add xda on the end (you can add galaxy y on the end too if you want to search galaxy y threads) - eg how to add brightness slider xda galaxy y
marcussmith2626 said:
Sorry this question is too general
First you need to decide what exactly it is you want to do
Next type into google what it is you want to do and add xda on the end (you can add galaxy y on the end too if you want to search galaxy y threads) - eg how to add brightness slider xda galaxy y
Click to expand...
Click to collapse
Sorry sir :'( But how to change height name banner and change the icons?
GalKill said:
Sorry sir :'( But how to change height name banner and change the icons?
Click to expand...
Click to collapse
hight will be in xml file and png will be in res folder
cant tell you which xml or what the name of the png is you will have to decompile the apk you want to mod and look through it
marcussmith2626 said:
hight will be in xml file and png will be in res folder
cant tell you which xml or what the name of the png is you will have to decompile the apk you want to mod and look through it
Click to expand...
Click to collapse
Sir,Please help me also?
marcussmith2626 said:
hight will be in xml file and png will be in res folder
cant tell you which xml or what the name of the png is you will have to decompile the apk you want to mod and look through it
Click to expand...
Click to collapse
Can u give me the specific directory of the folder,please?
GalKill said:
Can u give me the specific directory of the folder,please?
Click to expand...
Click to collapse
I cant because I dont have the apk nor can I really help you - you will just have to look through the xml untill you come across the line for thing you wish to change the height of
Same for the png - look through the res folder untill you see the png you wish to change
marcussmith2626 said:
I cant because I dont have the apk nor can I really help you - you will just have to look through the xml untill you come across the line for thing you wish to change the height of
Same for the png - look through the res folder untill you see the png you wish to change
Click to expand...
Click to collapse
But it's appear on all apps; I think the problem is on the framework-res.apk. It's miniROM touchwiz nature UX
GalKill said:
But it's appear on all apps; I think the problem is on the framework-res.apk. It's miniROM touchwiz nature UX
Click to expand...
Click to collapse
then look in the framework - probably in styles.xml
you can try <item name="listPreferredItemHeight">64.0dip</item>
I presume thats the gap between items in a list/the height of each item
marcussmith2626 said:
then look in the framework - probably in styles.xml
you can try <item name="listPreferredItemHeight">64.0dip</item>
I presume thats the gap between items in a list
Click to expand...
Click to collapse
How about to make it into stock-like ? (No icon, just a banner with the app name )
GalKill said:
How about to make it into stock-like ? (No icon, just a banner with the app name )
Click to expand...
Click to collapse
most likely will require smali change as the smali will probably refer to a public value for the png or it could be a case of it just being refered as a drawable value in a drawable/layout xml - again you will have to look
without knowledge or understanding of what you are looking at it will be very hard for you to do - sorry

[TUTORIAL][KK]Animated Background System And Puldown Notification

Inspiration from boot animation and methods from animated nofification dropdown background from here.
Preview
Requirement:
1. Advanced apktool
2. Notepad++
3. Deodex System
A. Animation Background System
To do this mod first follow this tutorial to make the background transparent.
http://forum.xda-developers.com/showthread.php?t=2641414
1. Make sure you have a transparent background settings
2. Decompile framework-res.apk
3. Download framework-res.zip from attachment and merge to your framework-res.apk
4. Now navigate to /res/values/styles.xml and change the line :
Code:
<item name="windowBackground">@drawable/kalel_background_white</item>
to:
Code:
<item name="windowBackground">@drawable/kalel_anim_fr</item>
5. Recompile framework-res.apk
6. Enjoy
B. Animated Puldown Notification.
1. Decompile SystemUI.apk
2. Download SystemUI.zip from attachment and merge to your SystemUI.apk
3. Now navigate to /res/layout/somc_tabs_status_bar_expanded.xml and change the line :
Code:
<com.sonymobile.systemui.statusbar.tools.SomcTabsNotificationPanelView android:id="@id/notification_panel" android:background="@drawable/somc_notification_panel_bg"
to:
Code:
<com.sonymobile.systemui.statusbar.tools.SomcTabsNotificationPanelView android:id="@id/notification_panel" android:background="@drawable/kalel_anim_sys"
4. Recompile SystemUI.apk
5. Enjoy
For Xperia Z1 you can download this mod here : http://forum.xda-developers.com/xperia-z1/themes-apps/mod-cosmicflow-animation-background-t2954739
If you want to use other animation you can change the image file and edit the file kalel_anim_fr.xml and kalel_anim_sys.xml.
Sorry for my bad english
Do With Your Own Risk
Thanks TO: (if I forgot someone, please remember me)
- BDFreak for Advanced Apktool
- SilencerOfLambs for ANIMATED NOTIFICATION DROPDOWN BACKGROUND
- neoxx3m for bootanimation file
Very Good
Removed for nothing
kalel2012 said:
Inspiration from boot animation and methods from animated nofification dropdown background from here.
Click to expand...
Click to collapse
will this work for samsung or 4.1.2 ?
manojkumar8552 said:
will this work for samsung or 4.1.2 ?
Click to expand...
Click to collapse
has not been tested. please try
kalel2012 said:
has not been tested. please try
Click to expand...
Click to collapse
lets see
kalel2012 said:
has not been tested. please try
Click to expand...
Click to collapse
confuse now !!
which file should be change here
I don't own a xperia but I must say this is fuc*in awesome great work buddy :highfive:
manojkumar8552 said:
confuse now !!
which file should be change here
Click to expand...
Click to collapse
sorry, i can't help. I think there is difference xml
Does this require root? I have the Z3v, but also another thing, does this drain battery as bad?
Is it possible to make it more 'flow'?
Anyway, very nice mod!
GigaSPX said:
Does this require root? I have the Z3v, but also another thing, does this drain battery as bad?
Click to expand...
Click to collapse
Require root.
NFS_FM said:
Is it possible to make it more 'flow'?
Anyway, very nice mod!
Click to expand...
Click to collapse
of course, add more images in the drawable-xxhdpi and edit xml in attachment.
kalel2012 said:
of course, add more images in the drawable-xxhdpi and edit xml in attachment.
Click to expand...
Click to collapse
Thank you for the answer.
Here this mod for Xperia Z http://forum.xda-developers.com/showthread.php?t=2970674
did in my rom this process but my systemui was a little strange transparent half and with large dimensions and transparent to open the configurations
http://m.youtube.com/watch?feature=youtu.be&v=7EcQcJ0YNMM
Theme

[Theme Creating] How to edit third party apps using EMUI themes?

I found EMUI themes on the internet which changed the design of various third party apps like f.e. WhatsApp. So I know, I could just take the theme, and edit the com.whatsapp file in it, but there are not all design elements of the app included. So my question: How can I find out the name of every design element and file name to change the design of every part of each app?
This is huge process i think
I'd just need the name of the elements for this xml file and the rest of the file structure where the media files for icons are (with their name). How could other people do it then? Isn't there a way to easily find that out? ?
I guess you have to decompile the apps in question and look at their source code for the correct names for elements. Probably a bit time consuming process yes. But that's probably how they all do it.
Thanks, I decompiled WhatsApp.apk and am now trying to understand how this whole thing works... I still don't understand everything especially because of the theme.xml file which obviously only exists in the theme, but not in the decompiled WhatsApp.apk. But I'm going to try to find out everything by try and error
Maybe this will help you:
http://developer.huawei.com/consumer/en/resources/index.php?title=How_to_Create_Themes
Lyshalia said:
Maybe this will help you:
http://developer.huawei.com/consumer/en/resources/index.php?title=How_to_Create_Themes
Click to expand...
Click to collapse
Hmm there isn't explained how editing of any app works, only some app icons, wallpaper and lockscreen.
Lyshalia said:
Maybe this will help you:
http://developer.huawei.com/consumer/en/resources/index.php?title=How_to_Create_Themes
Click to expand...
Click to collapse
Themeing tool is available ? Do you have any links?
venugopalu007 said:
Themeing tool is available ? Do you have any links?
Click to expand...
Click to collapse
There is a link on the site, you will find it. Just scroll down a bit.
Lyshalia said:
There is a link on the site, you will find it. Just scroll down a bit.
Click to expand...
Click to collapse
In which section , i didn't find the link
venugopalu007 said:
In which section , i didn't find the link
Click to expand...
Click to collapse
1. THEME TEMPLATE & TOOL
1.1 Download the required files
Lyshalia said:
Maybe this will help you:
http://developer.huawei.com/consumer/en/resources/index.php?title=How_to_Create_Themes
Click to expand...
Click to collapse
Lets see , thanks for the link.
Does anyone know how to edit the chat bubbles in Whatsapp using the EMUI themes? I already tried to enter another color inside the theme.xml:
<color name="bubble_color_outgoing">#ffd29bd7</color>
And I also tried to edit those files (see attachment) inside /res/drawable-hdpi-v4/, /res/drawable-xhdpi-v4/ and /res/drawable-xxhdpi-v4/.
Nothing changed. Is the EMUI theming engine unable to edit those chat bubbles or is there another file that I missed?

Categories

Resources