So I've wanted to make centered clock on StatusBar for rom I'm using.
It works fine, but the problem is that apktool gives me "9.png malformed" errors.
It would be right if I had edited them before, but their are rom ones (its not stock as rom is modified).
Because of that I don't know what to do. I'm not into 9.png editing, and not sure what to do with it.
I've read that it should have 1px borders, but even "clean" 9.pngs from SystemUI have 0px (or it looks like this in GIMP and IrfanView) upper border. It doesn't matter if I open decompiled one or open .apk using 7zip and than open 9.png from inside of it.
Because of that I can stay with clock on the right or have centered clock with broken buttons (it's recompiling fine after deleting .9 from .9.png).
That's one of the buttons I found that is broken (clear all notification):
{
"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"
}
Without any modifications (made by me) it looks fine, so this 9.pngs are not broken, only decompiling makes them like this.
Rom is Gin2KitKat (stock Xperia 2.3.4 base).
Device is Xperia Play. If DPI changes something,
I set it to 192 (stock is 240).
I'm using Advanced Apktool to decompile and recompile 4.1.0, which I think has one of RC verisons of Apktool 2.0.0.
Related
So I made these for my tattoo because I didn't really like the look of the slider tabs, and thought I'd share them. I changed the unlock icon to blue and the silent to red and vibrate I left orange. I think it looks okay, but would probably be better with new buttons altogether. Here is a screenshot so you can see for yourself what it looks like:
{
"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"
}
To install you'll have to pull your current framework-res.apk, rewrite the files in drawable mdpi then push it back.
Is it possible that u help us rewrite the file, and zip it up? so that all we do is just push it in, thanks.
if what you mean is that i just give you a framework-res.apk with the changes made i can do that but my framework-res.apk is different from yours and it could cause unwanted changes or errors. if you want a default everything else but just the transparent sliders then let me know i can make that for you.
But what version of android did u installed? Why is ur .apk different?
im running 2.2 SPQ Rom... i dont know if that makes a difference but if you stlil want my framework-res.apk let me know.
Transparent unlock
I am not understand you, u mean replaced the all file into framework-res.apk..??
Help me step by step please.
i'm going crazy trying to figure out what png controls the tabs in dialer and contacts!!!! someone help....lol......i know its in framework or twframework, but i cant find which it is.....
Here is a screen shot:
The top part that's light red....what png file is that?
{
"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"
}
Please help! Thanks in advance!
Are you referring to the tab's background or the image?
The backgrounds for the tabs should be located in twframework-res.apk but that will change all tabs in all programs. you should find them in /res/drawable-hdpi naming should be tw_tab.... these are .9.png files so you will have to use the draw9patch utility if you want them to look right after modifiying them.
the image/icons will be located in the Contacts.apk in the folder /res/drawable-hdpi-finger named as phonebook_tab....
hope this helps
(btw i love the way you ask for help makes it really clear what you are talking a bout )
I still can't get rid of the little red line....what file is that? And the background of the unselected tabs.....can't figure it out.
Sent from my SGH-T959 using XDA App
i have a fascinate but im sure its the same thing...in the pic below i point out what the line is when its to the right (tab_selected_bar_right.9.png) and if say "call log, contacts, or favorites" were selected then you would also have a line to the left which would be tab_selected_bar_left.9.png
some other apks call on twframework-res.apk for their tabs (individual contacts within the contacts.apk does for us) so you would have to edit tw_tab_blah blah blah
I've found a neat Touchwiz launcher that is meant for mdpi and my device is ldpi.
I would like to convert it for my device but I'm not sure where exactly to start. I doubt it's just resizing the images so before wasting my time on doing that, because I tried out the launcher without touching anything inside the apk and the dock icons appeared fine except the shortcuts on the homescreen were overlapping a bit with the dock icons and when I went to drawer, the apps weren't centered but were at the top and there was free space on the bottom. I would like to get some more information on this procedure from a few people with experience.
I've got APK-Multi-Tool and I just decompiled the apk.
I went to \res\layout-mdpi\ and I've opened up the launcher.xml and by looking at the code I have a feeling that's the file I should be editing.
There are stuff like this:
Code:
android:layout_width="fill_parent" android:layout_height="45.0dip"
Is this "45.0dip" thing in any way related to the screen density?
EDIT: Here are some screenies of what it appears like:
{
"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"
}
The problem on the second screenie doesn't really bother me much, the only problem there is the page indicator is at the bottom on the dock icons which sucks I would like it to be moved on top of them.
Anyone?
Hi,
I'm working on making SystemUI of my new phone (Acer Liquid Z500) more look like stock one.. Acer UI sucks, but it's close to AOSP so I started tinkering with UI apk and finally found strings for original QS settings. Edited header xml, some other things and it started to look promising. Unfortunately, all I can see after I press QS button is black background. Nothing more, nothing less. I'm pretty sure all of them can be enabled somehow, because all the xml files and png images indicates that.
This is how it looked at the beginning:
{
"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"
}
Very laggy and not good looking Acer's implementation of hot toggles
This is after the editing:
(nothing is visible, only the button on header)
After all the theming via Xposed:
Not even GravityBox or XBlast have done anything about it, they're not here.
So I'm politely asking, if there's person with enough experience, could someone help me with this? I'm not that good in theming, unfortunately.
Attached stock UI apk and modified one.
@PünchUp your help is required .
please provide guidance
After many brainstorming and test and probably about 10 softbricks, i finnaly Fixed the Shift bug! For those who dont know what this Shift bug is, basically when you theme your apk and recompile and flash it back, it shifts to the left like 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"
}
Now this is a fix I have found! There will be two soultions below.
Solution 1: For anyone eles running different devices
Basically, open your orignal apk with winrar. Go to res-> layout folder then extract status_bar_expanded.xml and status_bar_expaneded_header.xml and put it the layout folder
After themeing and modding your SystemUI apk, recompile it. After recompiling your themed apk, open your new apk with winrar and Go to res->layout and Now drag those two xmls you extracted from your orignal apk into your themed one then hit ok. Now flash the themed apk to your device!
Solution 2: For people who own T800 or T805 Tab S.
Download this zip https://www.androidfilehost.com/?fid=24052804347769675
Open your themed SystemUI with winrar, navigate to res-> layout and drag the two xmls into layout from the zip you downloaded.
Done!
Hope this helps!
Sent from my SM-T800 using Tapatalk
Screenshots of the fix working.
Sent from my SM-T800 using Tapatalk