Elimination colored bands to call screen - Galaxy S II Android Development

Hi, I'm trying to remove the two colored bands, gray and red, start and end call, changing totally transparent. I thought I could deal with two clips in png file SecPhone. apk. I calculated that they were of 480x149, that is as big as the screen, but I have not found so the file. I would like to eliminate the putting totally transparent, but I must first find. I installed a rom Samsung JB LSD 4.1.2. Does anyone know where to find them and what are their names?
I will post a screen of both for me to understand.

Related

[Q] Questions about better camera, system colors etc.

Hello there, noob here
I'm getting confused with all the info about the SGII out there, so I wonder:
1) I've got the Lightning ROM installed and it says there in the desc "better camera", is this a different hack from the one Potatoman released here? And if it is, can I savely install the 192kbps audio hack with that ROM and do I lose the camera improvements that came with that ROM?
2) Is there a way to invert the system colours easily, like have dark text on white background instead of the bright text on black background thingy?
I mean not just for themes (e.g. homescreens etc) but for the system menus etc, so it'll have a coherent, seemless look? I did stumble upon the "Change colours" tutorial here but it seems rather tricky and I'm scared to fiddle with the system files on my own :/
Or is there -perhaps- some ROM out there that includes such already?
Don't get me wrong, I don't think the white text on black bg is bad per se but I find it easier on the eyes if it's the other way round (like it's on the iPhone *cough*)
Cheers!

gray background dialer

Hello all, I would like to ask a question on dialer streakdroid 1.9. are
managed to make my Contacts.apk transparent by simply adding
theme.wallpaper styles.xml in the background of my dialer but continues to be increasingly
gray. how can I do to make it transparent?. thanks
custom dialer background
Ive been searching everywhere building and testing contacts.apk, Can someone with some more code knowledge have a peek at this please?
Ive dug through all the .xml's, the Manifest .xml, the .smali (even though I dont understand very much at all), there are only a few .png's the rest are .9.png, so Im sure the grey comes from code. in colors .xml there are a couple which match this dark gray perfectly, I changed those to black as well as styles Theme to Theme.Black, and Theme.Wallpaper(which will change the other 3 backgrounds but not dialer), ive tried changing background only in styles, no luck.
I saw on Dell website where it says Streak has Customized Dialer, which obviously we know, but I think ours is a unique situation
chrisrotolo said:
Ive been searching everywhere building and testing contacts.apk, Can someone with some more code knowledge have a peek at this please?
Ive dug through all the .xml's, the Manifest .xml, the .smali (even though I dont understand very much at all), there are only a few .png's the rest are .9.png, so Im sure the grey comes from code. in colors .xml there are a couple which match this dark gray perfectly, I changed those to black as well as styles Theme to Theme.Black, and Theme.Wallpaper(which will change the other 3 backgrounds but not dialer), ive tried changing background only in styles, no luck.
I saw on Dell website where it says Streak has Customized Dialer, which obviously we know, but I think ours is a unique situation
Click to expand...
Click to collapse
"Customized" is not a word I'd choose to use when describing the horrible dialer. Hope someday we can improve it. I really think the dialer is the worst part of the UI.
if I find it I will gladly make a guide to theme it.
I may even send Dell developer an Email... oh yeah too late not supported..
chrisrotolo said:
if I find it I will gladly make a guide to theme it.
I may even send Dell developer an Email... oh yeah too late not supported..
Click to expand...
Click to collapse
+1
I think the EOL is only USA. But I don't think the dell dev team cares too much about us
Brainstorming: Reference for anyone else trying to find this..
the dialer background is not a .png, most images are .9's I pretty sure the background is not a .9.png. There is only one .png close to the color and Ive already tried changing that one.
It could be a color in color.xml, they could have coded it as android:color, but if they did that it would likely be a solid color such as black or transparent, and would have to rely on framework-res. More than likely they would have made their own color in colors.xml, since there is only a dozen or so, at least 2 of which are almost identical greys, I have tried changing these colors to black with no luck.
Ive tried changing almost every .xml refernce I could find to a drawable window/background, etc. to android:color"black" , Theme.Black or 000000,
It could be in .smali, Is where I will dig next, I have tried checking a few of the codes I found in there, they seem to be based on a deep purple?
this is just reference use to help others who may search, wish me luck!!
spelling error found DialtactsActivity.smali line 205 says: const-string v3, "Dailtacts" ,yeah wonder if this why dialtacts theme doesnt theme completly.
some progress!
I fixed the spelling mistake in DialtactsActivity.smali, though i dont /think/ this is what we see. I did change call_background.xml and secondary_call background.xml all parameters to android:color/black, I will keep experimenting, funny how in vertical only the right side of keypad is black,
Once we find the right string , we should then be able to create a custom style instead of just a solid color and use a custom background.png
edit: FOUND IT!, cant post screenie, out right now, should release something later and info. Sit tight everyone.
found it
right where its "should" be, contacts\res\layout-long-finger and res\layout-long-land-finger. the first is portrait, second is landscape. the file for both is twelve_key_dialer.xml. The first line:
LinearLayout androidrientation="vertical" android:id="@id/top" android:background="#ff000000"
just change the android:background="ffRRGGBB" to whatever 6 digit RGB/hex value you desire.
working on this now to call out a custom.png will likely get scaled like cr4p, but will give it a go.
If you dont have any .9.png errors decompiling, then you can recompile and flash it straight away.
If you use my phone&contacts theme, it wont compile because some of my .9.pngs must not be patched. So use stock to change, then after compiling extract the new .apk. If youre using my theme or whatever, then change my contacts.apk to contacts.zip, open my contacts.zip as an archive with 7zip, copy the 2 twelve_key_dialer.xml's, and close. Then in your stock framework where you changed the .xml's go to resources.arsc and right click use 7zip to add to archive... browse and select your contacts.zip with new .xml's. Its important that archive method is .zip and compression must be set to store. make sure update mode is: add and replace files. Then rename back to contacts.apk and place in your update.zip and flash!
I plan on making a guide and probably a stock framework with a custom.png for everyone to use.

[SOLVED] Pattern Lock Screen: How do I change the clock font and dots?

UPDATE: All info in this thread summarized here: [GUIDE] Pattern lock tweaks - Wallpaper Brightness, Pattern Lock Dots, etc.
Rooted phone running Cognition 1.5.1. I am using a pattern lock so I have the standard Samsung lockscreen.
How can I change the clock font on the pattern lock screen? It looks very out of place compared to the other fonts.
Can I make the pattern lock dots smaller or more transparent? I don't like how it covers up almost all of my wallpaper. I know CyanogenMod has an option to make the pattern lock dots completely invisible. I don't really want that either, I just want them to be less obstructive.
Thanks in advance!
You can't change them afaik! You can always use third party lockscreen app like Widget Locker to get your desired lock screen.
I figured out how to change the clock font. Simply replace the Clockopia.ttf in /system/fonts. You can also use the Font Changer app, available on XDA or Market: http://forum.xda-developers.com/showthread.php?t=874658
However I noticed that my replacement clock font did not seem to line up properly. I think this is a common problem with replacing Clockopia.ttf. So you might need to adjust your font with something like FontForge first. Check out the guide here: http://forum.xda-developers.com/showthread.php?t=990853
UPDATE: This thread on Rootzwiki gives a good description of the Clockopia alignment problem and how to fix it. Basically, use a font editor to replace the glyphs in the Clockopia.ttf with the glyphs from your favorite font.
Still investigating the pattern lock dots.
Figured out the pattern lock dots! The files are in the framework-res.apk, under res\drawable-hdpi. There are two files you need to edit:
btn_code_lock_default.png -- This is the white dot in the middle
indicator_code_lock_point_area_default.png -- This is the dark circular background of the dot
I reduced the size of the white dot by 50% and used a clear transparent background so it doesn't block the wallpaper. Files are attached below in case anyone wants to use these.
One more discovery today. Normally the pattern lock wallpaper is not as bright as the original -- there's a dim or dark filter over it. To change this, decompile framework-res.apk (need to use apktool or apk_manager), and edit res\layout\keyguard_screen_unlock_portrait.xml.
On line 4, change android:background="#70000000" to android:background="@color/transparent"
Compile framework-res.apk and put it back into system\framework. Reboot and you should see that the pattern lock wallpaper is much brighter!
Also I've made another set of pattern lock dots. For this one, I reduced both the white middle dot and the outer ring by 50%. Then I increased the transparency of both and made the outer ring a lighter gray. So now the dots are larger, but even less intrusive. I've attached the files below, plus a screenshot.
Thanks a lot for the background transparency trick ! That was exactly what I was loogking for.
Also, may I add something just for information if ppl need it :
There are other files if you want a complete edit :
the ones you told about :
btn_code_lock_default.png (the small dot in the center)
indicator_code_lock_point_area_default.png (the black circle around)
The pngs that shows up when the pattern is the wrong one :
indicator_code_lock_point_area_red.png (the circle around)
indicator_code_lock_drag_direction_red_up.png (the arrow showing the direction)
And if you use "visible pattern" in the options, these are the green ones :
indicator_code_lock_point_area_green.png
indicator_code_lock_drag_direction_green_up.png
btn_code_lock_touched.png (the small dot in the center, touched version)
One more thing, if you're only editing pngs, you don't need apk tool, a simple unzip with 7zip is possible.
Thanks for the modification ideas.
I am using a Htc Desire on dGB aosp rom but just to add to this thread. In the keyguard_screen_unlock_portrait.xml, I changed:
android:background="#70000000" to android:background="@drawable/patternlock_background"
Added an image called patternlock_background.png to the drawable-hdpi folder.
Made some of the images mentioned in the previous posts transparent.
And came up with this:
Obviously, I still need to edit other aspects of that screen to tidy it up.
Great work LfcFan1977! I would be really interested in seeing more wallpapers that incorporate the pattern lock into their design. There could be some pretty cool ideas by mixing a pattern lock wallpaper with custom pattern dots and lines.
Yea, I have been wanting this kind of mod ever since I got my Android.
Here's a few ideas:
Galaxy with stars/rockets/shuttles/astronauts/planets/moons.
Dot to dot of a gingerbread man.
Flowers with the honeycomb bee.
Treasure maps and pirates.
Football.
Homer Simpson and donuts.
Pacman.
Anyway, I had a bit more of a play with the xml/images and got this.
Hi,
a few month ago I investigated the size of the background image to fit the pattern dots, and after a few experiments I saw that android was doing a bit of resizing, even if the image was exactly the screen size.
What worked for me, is to make an image smaller than 800 in height (763px to be precise) and 480 in width (regular width of 1 screen). But when done editing, I stretch its height back to 800. Then, when applying within gallery ("use as..."), it stretch it back to undeformed.
I made a template in photoshop, for those who are interested, also with my actual pattern background. Still can't post urls here, so...it's hosted at mediafire.com :
Code:
/?fo04gtvp82y1xw1 (the template)
/?82txu5qxdea6usb (the background)
Wow, this thread is a great resource for customizing the lockscreen, and it's rather painless (not much APK tool messing to do, if simple unzip, rezip works, wonderfull )
This is going into my bookmarks
I wish I would have found this thread sooner. I was looking for which files to edit for the buttons but found them elsewhere. I still have one question, though. Does anyone know how to change the path color? I can't find which file it is located in. TIA.
I can only assume the colour is applied by something in the framework.jar but as my understanding of smali coding is practically none, I can not figure it out.
I was thinking that maybe re-posting all the previous information and the above question in the android themes thread may be better. I do not think any of it is device or rom specific and we may need a wider audience in order to resovle questions like the last one.
I can't find the path color in the xml or png files so it must be something in smali code. Moving to the Android themes forum is a good idea. I am going to summarize everything and repost it in that forum.
Check out the new thread here! http://forum.xda-developers.com/showthread.php?t=1330063
A little help
This line about android:background is in keyguard_screen_unlock_portrait? I think it's keyguard_screen_password_portrait

[Q] SAUROM ROM Notification Area

i rooted my note and installed saurom custom rom, and i love it. there's just one problem...
i'm trying to find out how to change the background of my notification area with this rom. i love the rom, but can't read news flashes when it's black text on the dark background of the notification area.
i've read the forums looking for answers, and tried using ninjamorph to modify the png's in the framework-res, but they didn't seem to take with this rom. after rebooting the phone, it still looks the same.
any assistance would be greatly appreciated.
hey everyone...
figured out how to edit the notification area.
used ninjamorph to edit system/framework/framework-res.apk
once this was opened, i found the two images i needed to edit in res/drawable-xhdpi
the entries were:
status_bar_item_app_background_normal.9.png
status_bar_item_background_normal.9.png
long press on each of these and choose edit. pick a high contrast color so that white and black text can be easily read. (i chose a bright blue)
thanks for all the help...

(Solved) Need help changing background color of Mms picture attached

Ok so i have Mms framework-res and systemui all decompiled i've tried everything i can't figure out how to change this background, i believe it's the same background that settings.apk uses so i'm assuming it's in framework-res somewhere but i've tried changing theme backgrounds .pngs .9.pngs and all kinds of colors and values and i can't seem to get it.
Any help would be EXTREMELY appreciated been trying to figure this out for several hours.
I'm going for a blackout theme with neon blue icons and writing.
the picture of what im trying to change is attached, i'm using cm 10.1.3 so if you want to try it on whatever phone you have u can get the files easily from the Cyanogenmod website and try it, or i can provide any decompiled files you may need to help me figure this out.
thanks in advanced.
as you can see i've already managed to change almost everything else but the 3 areas i circled with red lines are still not black and can't figure out how to change it.
(Solved) framework-res/drawable/xxxxxx.xml
replace xxxxxx with the filename for the background your theme uses, in my case it was background_holo_dark.xml and background_cache_hint_selector_holo_dark.xml
they use gradient values and mine was starting with dark and ending with grey so i changed to start and end with black

Categories

Resources