[MOD][DEV NEEDED]Softkeys in Statusbar(Not Tablet Mod) - Samsung Galaxy Nexus

I was looking around the xmls in systemui.apk (it's the only thing I know to do well )
and I saw that in the file \res\layout-sw600dp\status_bar.xml
which obviously is for the tablet view cause starts with
Code:
<com.android.systemui.statusbar.tablet.TabletStatusBarView
has the lines for the softkeys
Code:
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/back" android:layout_width="40.0dip" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_back" android:contentDescription="@string/accessibility_back" systemui:keyCode="4" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
firstly I removed the "systemui:glowBackground="@drawable/ic_sysbar_highlight""
and I thought to put these lines into \res\layout\status_bar.xml to see what happens to phone view. I was expecting a SystemUI FC but no! It worked and I got a view 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"
}
home key works fine, back key works in some apps, not all but sometimes it worked everywhere. As a kill button, it worked everywhere(some roms has an option to kill apps with pressing for some time the back key)
SO, if anyone can work on this, as an idea and make it work flawlessly, it would be great.
In addition, it would be also great if we had the statusbar at the bottom, not the top.
I'm not a dev, I just play with xmls, so I can't make it work the right way. You can try it and see how it works.

would be perfect to stay like this (but with all the default applications):

yeap, something like that but with stock density and all apps acting normally.

I'd use it. Would like a search key with the bottom nav buttons, ideally.

something like combining the status bar and the nav bar would be excellent. So much wasted space on the screen with a bar on top and bottom :/

Its gonna be one of the most eye candy MOD till date . Wish u luck with ur idea and hopefully respected DEV will look into it //

+1 for the idea ... hope you guys can get it to work

well, devs tend to not reply to noobs, although I understand why (the would have to do this all day)

on my way home i was thinking the same thing!
i also remembered that there was a mod for SGS2
that puts the SystemUI on the bottom
i will take a look if i can find it!

I might look into getting the tablet mode for the nav bar/status bar without the increased dpi.
I'll share my results with you guys
Sent from my Galaxy Nexus using xda premium

take a look at this mod for cm9
http://forum.xda-developers.com/showthread.php?t=1531222
you can make the systemui go to the bottem
if you edit the framework-res.apk you can make the navbar go away
or someone has to port it to aokp
then put the buttons in it en its good to go

hmmm really interisting idea. I like it.

we have work to do tonight

i found out that
the nav bar can be disabled
by decompiling the framework-res.apk
open /res/values/bools.xml en set config_showNavigationBar False
i think the position-code of the systemui statusbar is in
/res/layout/status_bar_tracking.xml
i want to try this out myself but when i compile the systemui and push it back to my device
it just chrashes..
or is there a special way of compiling the systemui?
i already tried putting in de original resource.arc
en tried signing it

blackdub370 said:
would be perfect to stay like this (but with all the default applications):
Click to expand...
Click to collapse
same for me...it would be perfect..

Related

[THEME] K&B v0.95 (RC33)

This one is for all the New Orleanians and folks from the Gulf South who remember K&B and still refuse to step foot in a Rite Aid even to this day.
Just doing my part to represent the 504. What up, wodie.* Holler. etc.
This is my first theme and I'm still working on it, but wanted to throw it up here just to provide some additional motivation to finish it.
Granted, there's probably about 3 people on the site that will know what it's in reference to, but some of you might just like purple. **
In the end I took the K&B logo out of the battery icon since I figured someone would like it just as a pink/purple theme without the obscure reference to a non-existant regional drug store chain.
I did not touch any of the home icons***, as I don't like that mix and match look that that usually results in, plus I'm just that lazy.
To Do: I'll probably change up some more wallpaper, finish tinting the menu icons (it's a rabbit hole once you start changing them,) and maybe go through and fix some of the color inconsistency that I've found... other than that it's a wrap.
* http://www.rapdict.org/Wodie
** Or pink -- as many of the icons are coming out a little pinker than I was looking for but f'it. I've done this much.
*** Some of the icons that are in the screen shot are from other themes that I happen to have installed right now.
{
"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"
}
Download links: http://drop.io/G1_themes
Good start. Really feeling the status bar.
|Spike|
AGx-07_162 said:
Good start. Really feeling the status bar.
|Spike|
Click to expand...
Click to collapse
yea props on the bar too
Lookin Good dude!
Nice 1st Theme!
Fixed some notification bar icons that were bugging me. Also changed the pull tabs and some of the menu icons. This theme building crap is a friggin' rabbit hole. LOL
Updated the screenshot.
Updated dialer, mms and launcher. I'm seriously thinking about pullin out all the non .9 icons and just batch tinting them with a photoshop action. This is rediculously time consuming. lol I can't imagine replacing all these icons with completely new ones.
Screenshots updated in first post.
LOL @ 4 non blondes... used to listen to them all the time back in the day... God... does that make me old???
RandumAccess said:
LOL @ 4 non blondes... used to listen to them all the time back in the day... God... does that make me old???
Click to expand...
Click to collapse
Yes, but probably as old as me.
I updated the screenshots with a hipper musical selection.

Theme stencil notification/battery icons and theme file guide

As requested, I'm posting my icons that I made by hand (using a mishmash of powerpoint and paint.net =) ) as well as a rough map of a handful of files in case anyone wants to swap out other PNG's. Feel free to pick and choose whatever icons you might like from the attached zips, and you can follow the guide I posted in swapping PNG's, or ninjamorph or whatever means you like to swap PNGs.
So this is what it looks like on my phone:
{
"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"
}
And here's a guide for the location of a handful of PNGs and where they apply (I only included notification bar icons in the zips):
Notification icons (right) *stencil theme attached*:
SystemUI.apk/res/drawable-xhdpi
status icons
signal type icons
signal icons
wifi
framework-res.apk/res/drawable-xhdpi
additional status icons
battery icons - *if using 99% mod for the battery, then icons are in drawable-hdpi. If using stock battery, in drawable-xhdpi
Notification icons (left) *stencil theme attached*:
framework-res.apk/res/drawable-xhdpi
additional icons
Lockscreen divider (just for reference):
framework-res.apk/res/drawable-xhdpi
divider_horizontal_dark.9.png
Lockscreen dots (just for reference):
framework-res.apk/res/drawable-xhdpi
btn_code_lock_default.png
btn_code_lock_touched.png
indicator_code_lock_point_area_default.png
indicator_code_lock_point_area_green.png
indicator_code_lock_point_area_red.png
Pull-down bar (just for reference):
SystemUI.apk/res/drawable-xhdpi
statusbar_background.9.png (notification bar)
status_bar_item_background_normal.9.png (status bar item background)
status_bar_close_on.9.png (status bar close)
shade_bg.png* (In drawable-hdpi. Can only change if using transparency tweaks I posted or have changed XML in another way to direct to this file)
RES_cappuccino.apk/res/drawable-xhdpi
indi_noti_bg.9.png (quick setting background)
status_bar_header_background.9.png (header background)
indi_noti_bar.9 (indicator notification bar)
nice work!
These are amazing. I love the clean, minimalist look!
Thanks a lot! Took me a while, but I think it was worth it =)
itiskonrad said:
Thanks a lot! Took me a while, but I think it was worth it =)
Click to expand...
Click to collapse
Definitely! It's nice to see something different for once (and it helps that it's really good!)
Can I use these in a theming tool I'm working on? With proper credit, of course.
Oh, yeah, of course. Do whatever you want with them. Honestly, I just made them cause I wanted them for myself. Sharing it was just an after thought in case anyone else might like the theme too =)
If you ever move over to CyanogenMod or AOKP, you should really make a theme from this
I would love to move to cm9, but I actually use the video camera quite a bit, and I hear it still has focusing and stuttering issues, so unfortunately I have to wait. I'd also love to try the ics leak, but I think I need CWM, so again I have to wait =) but whenever I switch, you can bet I'll bring over my icons n stuff. I can't stand the stock ones. Blech! But again, if anyone wants to package them or use them in their own theme or whatever, go to town!
itiskonrad said:
Oh, yeah, of course. Do whatever you want with them. Honestly, I just made them cause I wanted them for myself. Sharing it was just an after thought in case anyone else might like the theme too =)
Click to expand...
Click to collapse
Thanks...I will!
I guess there is no CM9-Theme looking like this? I'm not sure, if i really should work on the framework-res.apk by myself.
Stencil battery on my s3 mini

[REQUEST] JB DeskClock with completely 'dimmed'/removed soft-keys

Hello,
The JB deskclock.apk has three softkeys that turn into dots when you put the desk clock into night mode (It's the soft-key version of dimming hardware keys, I believe).
I'm wondering if there is a way to hack those dots out completely, same as media player apps do - extend the activity over the soft-keys. It would make the desk clock look much nicer, especially since black pixels on amoled are almost seamless with the bezel and would also prevent any potential screen burn in.
{
"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"
}
From user interaction perspective, you could access the soft-keys by tapping the screen and going out of the night mode - where the soft-keys would appear again.
Thanks for any help/work/ideas.
Cheers
In theory, a developer could probably implement something that used a overlay-style sliding softkeys like watching landscape videos in Youtube, where they would disappear after a while.
Exactly
it's actually not part of the DeskClock.apk unfortunately, i think the images you are looking for would be ic_sysbar_lights_out_dot_large.png and/or ic_sysbar_lights_out_dot_small.png... both are in the SystemUI.apk, res/drawable-xhdpi folder. if you replace those with blank png's, you could achieve that effect.
that also means that any other apps that utilize those little gray dots as softkeys would also be blank... no idea what other apps that might be, if any.
if you upload the SystemUI.apk for whatever ROM you are using, i could give it a try to confirm. obviously that wouldn't be a very helpful mod since it would only be for one specific ROM, but i think it's something that could be done with zipthemer (something i am not familiar with) to make it more universal if it's a mod other people are really clamoring for.
ecs1984 said:
it's actually not part of the DeskClock.apk unfortunately, i think the images you are looking for would be ic_sysbar_lights_out_dot_large.png and/or ic_sysbar_lights_out_dot_small.png... both are in the SystemUI.apk, res/drawable-xhdpi folder. if you replace those with blank png's, you could achieve that effect.
that also means that any other apps that utilize those little gray dots as softkeys would also be blank... no idea what other apps that might be, if any.
if you upload the SystemUI.apk for whatever ROM you are using, i could give it a try to confirm. obviously that wouldn't be a very helpful mod since it would only be for one specific ROM, but i think it's something that could be done with zipthemer (something i am not familiar with) to make it more universal if it's a mod other people are really clamoring for.
Click to expand...
Click to collapse
I can do a ZipThemer and make the lights out images transparent, but if theme chooser themes have these images in them, it will override the mod. It'll work perfectly on the system theme or any unthemed rom though.
EDIT: Here ya go.
Lights-out-ZipThemer.zip
http://db.tt/WPdmuAzs
If you don't know how to use ZipThemer, follow my instructions here
http://forum.xda-developers.com/sho...Ghost ZipThemer][STOCK ROMS. ALL GNEX MODELS]
Enjoy
.....memoirs of a flash addict.
Many thanks stympy352, ecs1984 - it worked really nice. But I'm not sure that's what I'm looking for. The end effect is the same, and is great - but I'll loose it when I flash the next AOKP nightly.
I was hoping for a solution more like the one in Youtube player.
But still - the effect is great now - perfect $400 desk clock :
Cheers
PS. FBReader without the dots is nice.
EDIT:
To be honest - I was hoping there's an API or something to control the soft-keys. Something like sofkeys.setVisibility(HIDDEN);

[REQUEST] Notification toggles on bottom of notification bar.

Due to the larger screen sizes that we have evolved to, i was thinking whether it is possible to bring the toggles in notification bar to the bottom of the notifications bar. It is easy to bring down the notification bar using gestures available in many launcher, but to toggle we still have to stretch to the top.
Wanted to know if this is possible. Not because I am lazy to stretch my fingers but basically ability to use the phone using one hand only, without dropping the precious
Thanks to all developers for making s3 so good.
Regards,
Would be nice!
Hope someone can make this
Sent from my GT-I9300 using xda premium
Miui has it.
{
"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"
}
+1 I liked this feature on miui and jelly bam has them too aokp
Sent from my GT-I9300 using xda premium
Great idea! I
- tapatalked!
basically looking for this feature in touchwiz based roms. i tried aokp and miui, but finally end up back to sammy.
good to know that MIUI has already thought of this....
Bottom toggles for Omega rom (android 4.3)
I'm looking for a mod for bottom toggles on Omega v54.
I've had that mod on android 4.1.2 and now a really need it, is it existing for 4.3???
i have been trying to make a mod like this ever since 4.3 was released, i think i am up to my 300th attempt.:crying:
Unfortunatly 4.3 is completly different compared to 4.2 as far as the toggles go.
The problem is that the toggles on the notification screen form the top row of the toggles on the toggles screen, so you cannot just lower the notification screen toggles with out effecting the toggles on the toggles screen.
I think that the toggles are controlled by smali code, not in an xml file, and unfortunatly smali code is like chinese to me.
+1 It is true that this component at the top is really not practical with a big screen !
Tired Storeman said:
i have been trying to make a mod like this ever since 4.3 was released, i think i am up to my 300th attempt.:crying:
Unfortunatly 4.3 is completly different compared to 4.2 as far as the toggles go.
The problem is that the toggles on the notification screen form the top row of the toggles on the toggles screen, so you cannot just lower the notification screen toggles with out effecting the toggles on the toggles screen.
I think that the toggles are controlled by smali code, not in an xml file, and unfortunatly smali code is like chinese to me.
Click to expand...
Click to collapse
In 4.3 , you have to edit both smali code and xml file. use smali tutorial it will help you to understand it better

Looking for an icon

I'm looking for a power symbol icon (circle with half line through) that is white with no background. I've searched for it with no luck. I've found several that are white with a black background, but I don't have an app on my phone to remove the black background. (FYI, Google Image search for white power symbol yields some unusual results...lol) The icon I'd really like to use is the power-like icon on the Trickster Mod app, that shows in the status bar beside the set on boot successful notification, but I can't seem to find it in the apk after extracting it. If anybody knows where that's at, or a theme I can download with an icon like that, I'd appreciate a nudge in the right direction.... lol
I'd also be happy with an app I could download for my phone for photo editing, where I could take out a background layer of black on a suitable image, while leaving the white power symbol. The ones I've used so far seem to be just for photo editing, as far as photos you'd take with the camera, not really an actual photo editor.
Thanks for any help!!
What about this one -- directly from a Google Search. (and it has a transparent bg)
It looks invisible on the XDA site....
{
"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"
}
bmg1001 said:
What about this one -- directly from a Google Search. (and it has a transparent bg)
It looks invisible on the XDA site....
Click to expand...
Click to collapse
I probably should've included this in the op (my bad ), but I'm looking for a small icon (specifically small lines, not overall size). That's why I liked the trickster icon. Theirs isn't actually a power symbol, but it looks close. I'm trying to add it to my LMT pie, for a button that works as a screen off button, and I want small lines on it to match the nav buttons. I did do several Google image searches, but they all were large icons or thick lines or had backgrounds. I know its kinda picky, that's why I was hoping for a good pic editor app. There are several icons that will work, if I can get rid of the background.
Sorry the op wasn't more clear, and thanks for the help!
Here ya go. I made this to match the rest of the google navbar images and it got added to aokp.
good day.
chopper the dog said:
Here ya go. I made this to match the rest of the google navbar images and it got added to aokp.
good day.
Click to expand...
Click to collapse
You sir, are awesome. Thank you! I wasn't expecting anybody to make the icon for me but I do appreciate it. Thanks again!
Edit: I just added it to my pie and it is beautiful. lol
Please read forum rules before posting
Questions go in Q&A
Thread moved
Thank you for your cooperation
Friendly Neighborhood Moderator

Categories

Resources