Hey guys, I need some help.
I edited my SystemUI.apk to remove the music widget and the carrier text for more notification space, But I have a problem now.
In the carrier area there was my clear button, and now it's gone. I want it back but diffrent, Hope you guys can help me!
This is how it looks like 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"
}
And this is how I want it:
Or can I make this button to clear the notifications?
Already Thanks!
DarrellDD
have a look at my SystemUI, it's themed similar to NatureUX's so it should answer your first question.
[EDIT]
Got it working now, and I know my problem.
Because I hide the old clear all button and not deleted it, It uses that one. By deleting it it uses the new one.
It works like a charm!
Thanks!
[EDIT]
I want that indeed, but I tried to copy it to my SystemUI.apk with no succes. The button appears, but has no functions. When clicking on it, the background changes but it doesn't clear the notifications. Also when I added the ids of the button apktool won't even build the apk because of errors. I have no idea how to implent it working. Hope you can help me.
Greeting,
DarrellDD
you don't have to add a new id. my example only move the button to notification header and add a custom image. the id (@id/clear_all_button) and all other elements remains the same.
I mean the drawable ids in the public.xml But I saw they automatticly added when building the apk. Thanks anyway! You really helped me editing my phone!
Sent from my LG-E400 using xda app-developers app
Related
Hello....
I've got a problem, I was trying to modify the original Statusbar of CM7.First I haven't got any problems when I change the battery, wifi, bluetooh and oher icons, but for finish my work I want to edit the green lines that appears, when the statusbar is open, under some quick setiings (like wifi, bluetooh, gps and sound), and replace it for some blue lines....
But I didn't find and know what is the image.png or the .xml that I must to modify for do that.
I add an Image, with a mark around that exactly I want to modify, and my framework-res.apk and SystemUI.apk too...
Please help me...
framework-res.apk
SystemUI.apk
{
"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"
}
You can change it in settings/CyanogenMod settings/interface/notification power widget/indicator color
shanman-2 said:
You can change it in settings/CyanogenMod settings/interface/notification power widget/indicator color
Click to expand...
Click to collapse
That's isn't be that I need, I need to change the default color without any interface modification, that I wan't to do is modify any xml that contan the default color.... but my problem is that I don't where and what is that xml....
i think you should change the default colour on the menu thro it's code... not in the systemui... i think so
Settings > Cyanogenmod Settings > Interface > Notification power widget > Indicator color
Sent from my ADR6300 using Tapatalk 2
I believe he's putting a pre-customized ROM together and would like to change what the initial color is.
I've been trying to do the same thing with no luck finding the code for it
Hello there
I try to make a theme for the Rascream rom and i have some problems with XML editing and from what i see i'm not the only one with this problem.
I actually try to change colors of the text and a line in popup menu, but every time i recompile the framework-res apk with modified values, the statusbar and the lockscreen are deformated (look the screenshot)
{
"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"
}
I try to change the blue text and line in this screen to white...
Is here someone can help with this problem. This is the only thing i need to change for finish the theme. I try all i find over the internet, but without success.
No one?
Sometimes xml editing involves adding new lines to overlay others somewhere else. With ics ive noticed in arrays there are theme statements which change cursors, texts, and borders just from one change to the statement. Maybe check some source on the reboot options to narrow it down. Are you editing source or decompiling framework-res.apk?
But if i change any line i have everytime the same error.
I decompile the esisting framework-res.
Tnx for the help realy
On the road with my Nexus S...
klinkerkp said:
But if i change any line i have everytime the same error.
I decompile the esisting framework-res.
Tnx for the help realy
On the road with my Nexus S...
Click to expand...
Click to collapse
Pm sent!
Sent from my DarkICE Skanky CM9 Gnex using the app!
Hello guys!
I've been trying for several days to theme Contacts.apk.
I've tried so hard to bring ICS look to Galaxy Y, and now I'm stuck at Contacts.apk
Can someone help me, please?
This how it looks so far:
{
"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"
}
This how CM7 Contacts looks:
See that Dial/Send SMS buttons look in mine and how looks in CM7?
I want that action button to look exactly as CM7. So I want from this:
--to this:
If someone know how to do it, please, but please tell me how to.
Thank you and have a nice day!
copy whats in cm7 contact then paste to your contact...
@MARINALIN85 .... i like what u said ...that ur trying hard to theme ics for our galaxy y....can i see ur work as a complete rom....am interested in something like that ...ics for our y.... and u seem to be working well for it.... so where have u reached any ics based roms u made and uploaded...pls give me link...
Hey do you have link for your contacts.apk? I like it. It's awesome.
Talking the app designing way
The layout xml of that view needs to be edited to change the dimensions of the button and aligning them...
There should be a line align_right/left/top/bottom =""(more or less similar) -editing that can make the button smaller(default also)
You can use eclipse to view some layouts ....
Sent from my GT-S5360 using xda app-developers app
Hey,
Apologies if I make you unable to unsee what I am about to show you:
{
"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"
}
When I noticed this, it really bugged me: specifically how the dot of the 'i' is joined to the top of the 'f'. What was more annoying is that if the text was bold, ligature was removed.
I set out to root my phone and change the system font to something better. However, do not be fooled like me! Changing the system font is not an easy decision and even if you do change it, for some reason the lockscreen's time colon gets replaced by a square character. Link to lockscreen colon character issue screenshot
In the end, I edited the roboto-regular font using FontForge for mac and removed the 'fi' ligature. Then using a rooted file explorer, I just replaced the originally with the updated one.
It initially crashes the phone, but upon restart: you can now rejoice in writing all those 'fi' words.
Please see my github for a README and the modified roboto-regular.ttf.
Cheers!
edited:
I had also removed 'fl', 'ffi', 'ffl' glyph's too.
Actually, that's a ffi ligature, not a fi one.
nowster said:
Actually, that's a ffi ligature, not a fi one.
Click to expand...
Click to collapse
Ah! So true! I totally forgot I removed the similar ones too. Thanks. I have edited the post above and github to reflect the other glyphs removed. ('fi', 'fl', 'ffi', 'ffl')
Hey, I'm new to the forums. Decided to get the Nothing Phone 1. Seems ok atm but was a bit glitchy when first set up.
Just wanted to see if anyone could have a quick look through the app list to see if all looks ok.
Also I have some permissions which I'm unsure about for example on the shell app:
Reroute outgoing calls
android.permission.ACCEPT_HANDOVER
see and control calls through the system. (I noted this one because of the period at the end)
android.permission.REQUEST_OBSERVE_COMPANION_DEVICE_PRESENCE
android.permission.REQUEST_COMPANION_PROFILE_WATCH
download files without notification
android.permission.READ_NEARBY_STREAMING_POLICY
Edit: for some reason I can't attach the screenshots
{
"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"
}
Edit: images resized
Edit2: I did resize the images smaller but showing as the original size again. Apologies
Nothing02 said:
Apologies for the large images. If anyone is able to edit these please?
Click to expand...
Click to collapse
What's your point man ? Nobody can't edit all yours apks .
What I've seen , you disabled randomly lot of important system apk so I think you may reset your phone , take a breath , learn some stuff on Google and after that you can setup again your phone , paid more attention on system apks .
No, I meant edit the image size, it's ok I'll work it out.
I've disabled the things I don't need for now. These permissions were there before I changed any settings. I did reset the phone after purchasing.
The most concerning me are reroute outgoing calls & download files without notification.
I haven't changed any settings in relation to this.
The reroute call permission also found in phone services