-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Decompile/Recompile breaking sysbar alignment #1023
Comments
Moved a lot of bugs to this one, to make it the primary. It appears aapt is at fault here, switching the order of attributes in various xml files. This seems to be the problem. The previous two linked bugs involve Samsung/Touchwiz. My knowledge of OEM skins is suffering, so I'm not sure if this is as well, but the issues are all the same. |
Well, iBotPeaches i've found what happens inside most of the xml files. For example in my status_bar_expanded_header.xml the aapt has changed the android:layout_gravity from "center_horizontal" to "bottom|clip_horizontal".... |
I've compiled again ApkTool with your latest commits and now the issue has disappeared. Also the bootom|clip_horizontal have gone! :D |
Good to hear. Our attribute parsing was having some troubles when references were involved. Still making a few more unit tests, because I think there are some edge cases that are missed. |
Added unit-test - 52dc52c Closing this. Lemme know if this needs to be re-opened. |
Decompiling "SystemUI.apk",
in workarea "_WorkArea4", using "apktool_2.0.1.jar"
With Tickle My Android 11.0.0.
(tinyurl.com\ticklemyandroid)
Decompile Successful!
But when I compile again even no touch anything inside I get
Recompiling "SystemUI.apk" With Original Signature,
in work area "_WorkArea4", using "apktool_2.0.1.jar"
With Tickle My Android 11.0.0.
(tinyurl.com\ticklemyandroid)
Recompile Successful!
And always I have broke my status bar alignment - should be in the center ...
The text was updated successfully, but these errors were encountered: