Related
I searched through the Eris forums and couldn't find anything, so I'm asking: Is there a mod, or a way, to make the status bar at the top of the screen transparent?
These 2 threads might help you out:
http://forum.xda-developers.com/showthread.php?t=764371
and
http://www.droidforums.net/forum/xeudoxus/47283-release-xultimate.html
The 2nd link is found in the first, but thought I would make sure to highlight it. I ran the script and it said it worked, but haven't really had much chance to play with it since. Hope this helps.
Thanks for the info es0tericcha0s, here is what I did after reading through those:
Code:
adb shell
mount /system
exit
adb pull /system/framework/framework-res.apk C:\Somewhere
exit
Once I pulled the framework-res.apk file, I opened it in 7-Zip's file manager (DO NOT EXTRACT!), once opened click
Framework -> res -> drawable-mdpi
Scroll down to "statusbar_background.9.png" and drag the file out of the zip and onto your computer somewhere (leave 7-Zip open) and open it with GIMP or PS or your image editor of choice and make the image transparent (in GIMP just slide the Transparency Slider all the way to the left on the Layers window) and save/export the png file.
Once it is saved, drag it back into the folder in 7-Zip, confirming the overwrite. Once completed, run the following commands:
Code:
adb shell
rm /system/framework/framework-res.apk
exit
adb push C:\Somewhere\framework-res.apk /system/framework/framework-res.apk
adb shell
reboot
You should now have a transparent notification bar, you can play around with the other files in that folder and make other changes.
As with any editing you do to system files on your phone, always do a nand backup, as I am not responsible for any damage you may inadvertently cause to your phone.
http://forum.xda-developers.com/showthread.php?t=768628 and http://forum.xda-developers.com/showthread.php?t=770829
That will make the bar transparent, but it just creates a blank / black bar up top in most screens because the space is still going to be there for the status bar whether there is a color or not.
You should really look into making a transparent theme. That's something I would love to have as long as it had the transparent status bar.
Sent from my nonsensikal froyo using XDA App
A friend and I have been working on it, but he has been incommunicado the past couple of days so haven't been able to do much else. Transparent - Chaos is the start of it though.
That's the theme I'm using. Love it! But I want a transparent status bar!
Sent from my nonsensikal froyo using XDA App
This just gave me a boot loop Thank God for nand...
Ah... worked the second time around. Pretty cool. Thanks for the method of editing the .pngs. Now I'll never get off the computer
You will need to re-sign framework-res.apk before pushing it back for your mods to work.
sickbox said:
You will need to re-sign framework-res.apk before pushing it back for your mods to work.
Click to expand...
Click to collapse
Actually no... I didn't resign and it worked fine using the above method. I took the apk from my desktop, drug it over 7-zip, and opened the folder. I drug the statusbar-background.png (from a sense rom) onto my desktop. I opened it with Adobe Ps CS3 and made the opacity 0%. Save, close, drag back into framework-res.apk. Remove current fw-r.apk from /system/framework and push new one in. That easy. No resigning involved for me!
zwade01 said:
Actually no... I didn't resign and it worked fine using the above method. I took the apk from my desktop, drug it over 7-zip, and opened the folder. I drug the statusbar-background.png (from a sense rom) onto my desktop. I opened it with Adobe Ps CS3 and made the opacity 0%. Save, close, drag back into framework-res.apk. Remove current fw-r.apk from /system/framework and push new one in. That easy. No resigning involved for me!
Click to expand...
Click to collapse
Maybe a little off thread but what settings contol is that in the screen shot?
Thanks!
zach.xtr said:
Maybe a little off thread but what settings contol is that in the screen shot?
Thanks!
Click to expand...
Click to collapse
It's called Power Widget. I think it was like $2.99. You can have up to 7 settings on 1 widget and you can change the size like 1x4, 1x3, etc (even without using adw launcher). You can also change the amount of transparency as well as the color of the indicators.
does anyone know where i can find the clear notification button to edit it i wanna change it to black the actual button not the word "clear"
Hey all,
I find it incredibly stupid that car home keeps the standard wallpaper and just dims it. I'm using the album art wallpaper and it makes car home almost unusable.
Would it be possible to force the system to change the wallpaper to a black background when car home is in use and then change it back when you close it?
Thanks!
If your screen is too dark:
Look on bottom right corner, under EXIT CAR MODE. See the little > right arrow?
Hit that and change your screen brightness setting.
Automatic > Night > Day
As for changing the wallpaper. I've never heard about that possibility.
Maybe someone with theming or morphing skillz will come across this thread??!
rickytenzer said:
Hey all,
I find it incredibly stupid that car home keeps the standard wallpaper and just dims it. I'm using the album art wallpaper and it makes car home almost unusable.
Would it be possible to force the system to change the wallpaper to a black background when car home is in use and then change it back when you close it?
Thanks!
Click to expand...
Click to collapse
That should be possible with Tasker.
Unfortunately I use settings profiles and would hate to pay for a software to handle this one thing. I wish CM could incorporate this change into the nightlies!
Would be easy to do with Tasker which is a great app anyway. I recommend getting it and I'm sure you'll find some other useful things you can do with it too (it should easily replace settings profile for you too)
This should be a simple change, but apktool is acting up and won't recompile the apk. Hopefully I will have one available soon.
Cool thanks! You rock.
This is turning out to be significantly harder than it should be. aapt seems to be ignoring the entire res/values folder, so even an empty decompile/recompile fails (but works fine for every other apk I throw at it), and MetaMorph is just flat out having no effect. I will keep working on it, but for now it seems hopeless by divine force.
RoboPhred said:
This is turning out to be significantly harder than it should be. aapt seems to be ignoring the entire res/values folder, so even an empty decompile/recompile fails (but works fine for every other apk I throw at it), and MetaMorph is just flat out having no effect. I will keep working on it, but for now it seems hopeless by divine force.
Click to expand...
Click to collapse
Even if you can't get it, I appreciate the effort!
So you couldn't get it going?
I really haven't looked into it but isn't it possible to theme the app to use a black interface instead of the transparent one it uses now? I mean replace the transparent .png's with black ones.
The background does not use images, it specifies a theme resourse and adds a transparent black color. I have been trying to change that resourse, without apktool playing nice there is no real way to do this. I tried changing the theme by editing the smali code, but that is overridden by the view's style attribute, and the theme can't be set after the view is inflated.
From what I have found, the only two options with out the ability to compile resource files is either to implement the original idea of blacking the wallpaper on run, or editing the compiled binary xml blob manually.
I could always make a simple service app to change the wallpaper on car mode toggle, that would be easiest at this point.
Update: Did some research, its impossible to set a live wallpaper through code using the public API due to security concerns, so that removes all non-resource ideas. This has to be done through the style resources of CarHome itself.
Tried looking for a way to change those green highlights that are everywhere in a sense based ROM. For example, when you are in a text message, the message body is highlighted in green and the send button turns green when you hit it. Is there any way to change these?
I'm running Mik Shifted-G v1.5, I have modified my task bar and notifications screen via UOT Kitchen. I'm looking for red if there's already a post somewhere, or a DIY tutorial. Thanks in advance
Some of these are application specific and others (the bulk I would say) are located in framework.res and com.htc.resources. In the two framework files, you are looking for .9 pngs in the res/drawable-hdpi folders. If you already have red png's to replace the green, you can just copy them over in 7zip. To change the existing green to red using the original files is a bit more complex and a lot more time consuming, but pm me if you need to go that route, and I can help you out.
I would suggest editing all framework files first and then look for any stray green bits that may be application specific.
Rynomite said:
Some of these are application specific and others (the bulk I would say) are located in framework.res and com.htc.resources. In the two framework files, you are looking for .9 pngs in the res/drawable-hdpi folders. If you already have red png's to replace the green, you can just copy them over in 7zip. To change the existing green to red using the original files is a bit more complex and a lot more time consuming, but pm me if you need to go that route, and I can help you out.
I would suggest editing all framework files first and then look for any stray green bits that may be application specific.
Click to expand...
Click to collapse
Thanks for the reply, I will check the framework files and go from there. Any specific program that you would recommend for editing the pngs?
It also depends on what Rosie.apk you use as well, like my rosie is Rosie 3 so the button presses for some of the dock are in fusion and some are in Rosie.apk its weird i guess its more or less finding the images you need edited for your version of sense, because now we have Sense 1-3 on the shifty
Sent from a Hybrid Supreme Shift
strapped365 said:
It also depends on what Rosie.apk you use as well, like my rosie is Rosie 3 so the button presses for some of the dock are in fusion and some are in Rosie.apk its weird i guess its more or less finding the images you need edited for your version of sense, because now we have Sense 1-3 on the shifty
Sent from a Hybrid Supreme Shift
Click to expand...
Click to collapse
This is true, I'm not sure I'm going to have fun with this
Sent from your Mom's Jitterbug
There are only a couple png's in Rosie that you need to change out. Like strapped365 was saying, there are variations among the different versions of Rosie, but you should be able to locate the files to edit fairly easily.
When editing .9 pngs, you must decompile them (not just extract and decompress). This can be done with apk manager. I use pixlr online to do the actual editing. Pixlr is free and it has a color change tool that works ok. Just be sure to use the selection tool to select only the colored area of the image you will change (I always select all but the 1px outer border). If you don't exclude the outer perimeter of the .9 in Pixlr, it won't recompile correctly.
Hope this helps. It took me a long time to learn how to this, but it's the best way I know to get purely custom colors.
Rynomite said:
There are only a couple png's in Rosie that you need to change out. Like strapped365 was saying, there are variations among the different versions of Rosie, but you should be able to locate the files to edit fairly easily.
When editing .9 pngs, you must decompile them (not just extract and decompress). This can be done with apk manager. I use pixlr online to do the actual editing. Pixlr is free and it has a color change tool that works ok. Just be sure to use the selection tool to select only the colored area of the image you will change (I always select all but the 1px outer border). If you don't exclude the outer perimeter of the .9 in Pixlr, it won't recompile correctly.
Hope this helps. It took me a long time to learn how to this, but it's the best way I know to get purely custom colors.
Click to expand...
Click to collapse
Thanks for your help. All of you, I will hit the thanks button when I get on my computer again. I want to customize my phone to my liking and this will definitely help a bunch
Sent from your Mom's Jitterbug
hey please let me know if you figured out how to do orange/red
Does anyone have any suggestions on how to edit the 3g icons? I'm basically just looking to change the 3g part, NOT THE ARROWS. (all the data icons basically)
When I try to recolor them in photoshop I just end up with a white background and I can't erase it without corrupting the actual image. (the background needs to be transparent, but when I load them in photoshop it gives them a white background)
So is there a certain program out there or special options in photoshop or gimp I should use to do this?
Thanks if you can help.
I use gimp for that. Open image. Image/mode/RBG. Making sure the image is in RBG and not layered is mode very important. Next with box or circle tool draw around area you want to color. And use colorize tool to alter image and save. Since the colorize tool doesn't use hex codes you'll need to experiment with different settings and compare with other images. Once you find right preset repeat process 40 times
good day. using xda premium.
chopper the dog said:
I use gimp for that. Open image. Image/mode/RBG. Making sure the image is in RBG and not layered is mode very important. Next with box or circle tool draw around area you want to color. And use colorize tool to alter image and save. Since the colorize tool doesn't use hex codes you'll need to experiment with different settings and compare with other images. Once you find right preset repeat process 40 times
good day. using xda premium.
Click to expand...
Click to collapse
Nice, thanks so much for this
Sent from my GT-P7510 using xda premium
Taking notes over PDF slides with the scribe pen has really saved me a lot of hassle. I love this function of the flyer. There's really only one way it could be better: Fullscreen support, or at least "more screen" support.
Not only does the HC bar take up space, but the menu/title bar on top is even bigger. The pdf viewer has the screen real estate of a 5inch phone.
PDF editing seems like only a moderately used feature, so I don't see this getting done on it's own. I'm offering a very modest reward for a fix.
I would be willing to donate for the removal of the huge uppermost Title/menu bar in PDF viewer, so that a double-tapped fitted pdf page will fill the new space. See the attached image. You can leave the small menu button in the corner if possible, or just get rid of it if it's too difficult.
I'm hoping this is as simple as modifying a few variables in the apk. I could be very wrong.
I can live with just the HC bar at the bottom.
Note: I have tried apps like repligo and ezpdf which do offer fullscreen support. However, annotating and changing annotation options takes many more steps than the HTC pdf viewer.
Secondary goal:
Apps like honeybar and honey hide widget cause all pen written annotations to be shifted up.
I believe the solution to the first problem would also allow an easy fix of the shifting pen annotations. I would like the PDF viewer to accept pen strokes properly with a hidden HC bar.
No one's willing to give it a shot? Ah well.
This will be my only bump.
I've attached the (unmodified, I think) HTCPDFViewer.apk from /system/app from LeeDroid's 4.1.0 rom.
I was the guy who removed the obnoxiously large language bar from Sony Ericsson's keyboard back when I was still using my u20i phone... unless HTC is particularly irritating about how it structures its resources, you're right that it is a matter of decompiling the APK, adjusting numbers, and recompiling it. Merely hiding is not difficult (making the Menu button semi-transparent is probably too difficult, though, but you can pick a ROM with the hardware buttons enabled).
Unfortunately it is also incredibly tedious to decompile and recompile everything right, from my experience of the keyboard hack. I'm not really up to it at the moment. Hope you can do it.
I've poked around in the archive. I wonder if I could just delete the ti.tle bar png or layout file. There doesn't seem to be a definitive title bar png
I'm also experimenting with apk multitool.
Since it's a stock rom app, is this venture going to be a lot more complicated than editing an xml line and then recompiling?
Here's where I'm at. Everything I know about android programming I've learned tonight, so this may be confusing and stupid sounding:
The decompiled apk has several things which could refer to the title bar.
dimens.xml has lines like
<dimen name="global_title_height">35.0dip</dimen>
<dimen name="editing_panel_header_height">56.0px</dimen>
<dimen name="editing_panel_header_margin">47.0px</dimen>
<dimen name="editing_panel_no_footer_header_margin">35.0px</dimen>
However there are also thousands of header and title lines from other xmls.
Can I just use a theme line in the manifest?
It uses the ActPDFReaderTheme whose parent is the HtcActionBar.FullScreen from the com.htc.resources.apk
These link to the common_mainnav xmls and pngs in the resources.
Do I need to find an HTC theme from the com.htc.resources.apk that doesn't have a title bar? Could I edit the com.htc.resources.apk and edit the pngs or delete the referencing lines in the styles.xml?
Thanks. I'll keep digging.
And btw, the bounty's still out if anyone can do it faster. I don't have much free time.
I think I've got this. I'm real close
I figured out how to decompile, edit xmls, recompile, copy original meta-infs and androidmanifest, and adb push.
The dimens.xml in the viewer apk has no effect on the bar. It's a standard template htcactionbar.fullscreen
I could direct the apk to a new theme, but I've decided just to try deleting or shrinking the bar from the com resources apk.
Good luck! Remember the apk you push back must be a signed one, probably via hacking the modified xml files back into the original signed apk.
Now I've run into a snag.
No matter how many margin and layout dimension variables in the com resource I set to 1.0px, I still have a black bar above the pdf.
Then I tried changing the theme reference in the pdfviewer.apk. It loads the file picker without an action bar, but as soon as I click a file it crashes. It seems (I think) that the program has too many calls for the action bar. I'm not a programmer. Do you know how I can get the program to simply ignore any lines referencing the "actionbar"?
Lines such as: "invoke-virtual {v3}, Lcom/htc/pdfviewer/ActPDFReader;->getActionBarHeight()I"
I also tried <item name="android:windowNoTitle">true</item> after the theme and I have the same effect of no title bar but a forceclose after selecting a file
Could you post the entirety of the relevant xml layout file?
porcupineadvocate said:
Could you post the entirety of the relevant xml layout file?
Click to expand...
Click to collapse
Unfortunately there is no simple relevant layout file. I can't go any further with this project because I don't know programming. Here's my progress if anyone would like to give it a shot:
In the decompiled HTCPDFViewer is a \res\values\styles.xml
There is the line:
<style name="ActPDFReaderTheme" parent="@com.htc:style/HtcActionBar.FullScreen">
This tells the program to use the HTCactionbar.fullscreen template style in com.htc.resources.apk
Now there are two paths to take from here:
1) Changing the style template to @android:style/Theme.NoTitleBar.Fullscreen
or adding the requestWindowFeature(Window.FEATURE_NO_TITLE) line
Issue: This causes the file picker to load without a title fine, but as soon as a pdf loads, the program crashes.
How far I got: I simply deleted 2 lines referring to the actionbar in the PdfLoadingPage$LOADING_PAGE_Handler.smali and the pdf loads. However there is a now a black empty bar on the bottom, and any pen writing is being moved upwards.
I suspect this is because of the ActionBarMenuAdapter.smali that controls how the pen annotations are moved in relation to the actionbar. There are also 100 more lines referring the actionbar in the other smalis. You can find them all by searching the apk for "actionbar". A proper programmer could remove these lines, or more easily make every m_iActionBarHeight:I line refer to zero.
If someone can fix the programming, I suspect that this would also solve the hidden HC bar issue, allowing true fullscreen support!
2) Editing the com.htc.resources.apk
The styles.xml in this file has a NoTitleBar.Fullscreen theme that redirects to other xmls redirecting to different layout files and pngs.
I've looked through every dimens.xml and other xmls that may be even loosely linked to the actionbar. I even tried haphazardly changing every possibly connected dimension to 1.0px.
I then tried shrinking all of the related PNGs to 1x1 pixel.
The end result was just a funking looking grey and black bar at the top.
I have no idea where to find the dimensions controlling the size of the actionbar.
Thanks for any help! Warning: Recovery backup before pushing a new com.htc apk, if you don't do it correctly, things can get messy with the OS.
porcupineadvocate said:
Could you post the entirety of the relevant xml layout file?
Click to expand...
Click to collapse
Ok I may have lied. There are one or two files I wasn't sure about.
These are from the xmls in layout folders of com.htc apk.
Can you take a look and see if there are simple line(s) to change here? notepad++ is great.
I already attempted to edit all of the dimens.xml dimensions. I can't remember if I got all of the dimensions in these files too.
The bar seems to be about 56 pixels. I gathered that from reduced editing view dimensions but I could be wrong.
Not that it is a big deal for a minor issue like this in a low traffic forum like EVO View but "bounty threads" are strictly prohibited by xda.
I doubt the mods will hassle you since this isn't a heavily travelled thread but they might shut you down at any second. Good idea to get some PM's going with anyone who is helping you.
Good luck.
Sent from my PG41200 using Tapatalk
Post the decompiled HTPDFViewer, please. I particularly want to see the contents of res/layout/*.xml files.
As a tip, don't delete any elements; just resize them to zero height/width if possible. Deleting will cause crashes when the program tries to reference them.
porcupineadvocate said:
Post the decompiled HTPDFViewer, please. I particularly want to see the contents of res/layout/*.xml files.
As a tip, don't delete any elements; just resize them to zero height/width if possible. Deleting will cause crashes when the program tries to reference them.
Click to expand...
Click to collapse
Here it is.
Woops I didn't realize bounties were prohibited, especially with so many developers asking for "donations"
Delete this if you'd like. I didn't mean to break the rules.
Donations and bounties are different. Donations are thanks for work done, bounties are offer of compensation to do work. If they allowed bounty threads xda would be overrun with them.
No big deal. I doubt the mods even visit this thread. Just wanted to give you heads up to establish pm conversations in case they did
Sent from my PG41200 using Tapatalk
No progress since my last update on the programming front. However I have been playing with the lcd density changer.
Setting it to 170 from 160 and enabling the GB like bar on top has interesting results. The pdfviewer only edits properly when I use Honeyhide or Honeybar. So we know that disabling the notification bar and having a working pdfviewer is possible.
However, I found I have the best pdf editing real estate when I set the lcd density to very low, like 120. In fact, not only are the title and HC bars smaller, but the pen seems to be more accurate too!
Maybe this information will help with our goal.
EDIT: at 120 and below, the scribe color wheel pops up on the wrong side. Still works though. Other tablet functions are much slower and there's some screen corruption too. It's not a permanent solution, but works for annotating pdfs.