In last time, i find many threads about MIUI - that good ROM by our friens from East.
After try it, i'm have some good expirience and find some disadvatages for me.
Now, i'm roll back to CM1RC1 but want to ask, how to port next features, as it possible.
1. Which font used in MIUI ROM. Just look on 2 screen from CM and MIUI.
Fonts very similar, but in MIUI ROM placed more words in one line.
2. Status bar and notification area.
I'm interesting what name of the stock theme and how to port it to N1 with CM Mod.
In this theme there are no gaps between the notification. (look screen)
Can it be realize in other mod, or MIUI have very complex changes reletive to stock or CM ROM.
I try to compare framework-res from CM and MIUI and find some difference.
I find that MIUI have additional XML files in drawable directory. But I don't know have to implement it into CM. Can anybody help me?
P.S.
Maybe exist virtual device where i'm can test themes by my experiments.
berliozz said:
1. Which font used in MIUI ROM. Just look on 2 screen from CM and MIUI.
Fonts very similar, but in MIUI ROM placed more words in one line.
Click to expand...
Click to collapse
I believe it's Arial or Helvetica. Not sure.
berliozz said:
2. Status bar and notification area.
I'm interesting what name of the stock theme and how to port it to N1 with CM Mod.
In this theme there are no gaps between the notification. (look screen)
Can it be realize in other mod, or MIUI have very complex changes reletive to stock or CM ROM.
Click to expand...
Click to collapse
It's not a theme, per say. It's part of the UI, like the blackbar and launcher in SenseUI ROMs.
berliozz said:
I try to compare framework-res from CM and MIUI and find some difference.
I find that MIUI have additional XML files in drawable directory. But I don't know have to implement it into CM. Can anybody help me?
P.S.
Maybe exist virtual device where i'm can test themes by my experiments.
Click to expand...
Click to collapse
you want to be looking i believe in the framework-res.apk obviously, i believe it will be in /res/layout/ and look through the status bar xml's, the gap between the notifications will just be a padding value.
for the text fitting beter again, that is likey just be picking the relevent xml files and reducing the font size in them
porting the (say scrolling powercontrol widgets) from the notification bar is a whole other story, i have tried doing this to no avail, i could get things to appear within the notification bar however to get them to function requires a whole lot of smali editing in the services.jar
you make your new png, drop it into the drawable folder, then you have to refrence it in the public.xml, then add it into a layout xml with the necessary configurations such as android_id, paddings, width height ect
wish list
1) Lockscreen : beat anything even in market
2) App manager on recent apps (long press home). I think it also had KILL on one side.
If I understand correctly, for porting the theme i must to:
- Replace the file the main toolbar (status_bar_header_background.9.png)
- Make it transparent (tell me how?)
- Make it possible to use a texture for the background in the dropdown menu of notifications.
a. Put it in the drawable-hdpi (status_bar_background_texture.png)
b. Create a file status_bar_background.xml in drawable folder with below content:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<bitmap android:src="@drawable/status_bar_background_texture" android:dither="true" android:tileMode="repeat"
xmlns:android="http://schemas.android.com/apk/res/android" />
c. declare that in public.xml in the values folder
Code:
<public type="drawable" name="status_bar_background_texture" id="0x010803b3" />
- change gap in the layout files and in the style file (but i can't find where it placed)
After it, files must be compile (can i do it with apktools?) and with Metamorph add to system?
Is that right?
I've had a look through the forums but couldn't see this posted anywhere so here goes, and apologies if this is a repeat or is in the wrong forum.. In CM7 GingerBread you can change the battery icons in the status bar using the UOT kitchen and the framework-res file. The other icons however can't be changed using this method (like they could in CM6.1 FroYo) because the other icons are in a different system file in GingerBread.
Through a lot of digging around i have found the file 'SystemUI.apk' in /system/app/ where most of the other icons are. Also in this apk are the 'battery_low_battery.png', the 'shade_bg.png' and the 'status_bar_close_on.9.png' files which can be changed to files from another Rom after any nesessary re-naming.
The battery_low_battery.png controls the pop-up displayed when the battery gets below 15% and i've changed mine to one from an earlier Rom.
The shade_bg.png is the notification window and can be changed for the one from the SuperGinger Rom for example which has an Android picture on the bottom right (and looks cool i think). There is a transparency effect to the window which may be controlled by a .xml file, i'm not sure because i'm using the SuperGinger Rom which had it as a default.
The status_bar_close_on.9 is the notification window pull-down bar and i've changed mine for the 'status_bar_close_on_cust.9.png' from the cm6.1 Rom which has a CM logo in the centre.
All these image files and loads more like signal strength, bluetooth, wi-fi, flight mode etc, etc can be found in res/drawable-mdpi/ of SystemUI.apk.
The .apk can be modified using Android Design Editor V2 (credits to it's creator) (Google search...) and be pushed back from recovery using a flashable zip or ADB (i can vouch for a flashable zip created with Update-Zip-Packager.. credits to it's creator) (again Google search...)
I hope all this will be of use to some and thanks and credits to the Rom creators, cooks and devs, to XDA Developers and all the other contributors on here.
Peace and happy tinkering.
HTC Legend.
Thanks for that info I wasn't sure which file is the notification window bg in CM7, now I know.
Is it possible to change the color of the menu bar? (is this the correct term for it? circled in image)
I've decompiled the framework and looked though it and searched a bit online at the AOSP docs and general themeing, but none of them mention how to change the background color.
I'm trying to change it so it's black like on gingerbread, that's the last thing missing.
Could anyone provide directions on how to change the color of it?
The rom im using is streakdroid 1.7.0, the framework attached is from that with modifications to make it closer to stock gingerbread.
I posted in this section since I assume that directions to changing it should be applicable to any rom?
if I not mistaken you need to change the menu_background_fill_parent_width.9.png in framework.apk and edit the syle.xml (to edit the text colour)
Hi,
i already took a look in other threads and tried everything but i couldnt find a solution.
I want to have a half transparent statusbar on my i9001 with the brood rom. I changed some xmls and pngs in systemui, framework-res, twframework-res and touchwiz but nothing helped.
Could someone help me to find the right files to change?
Thanks
E: I mean the bar at the top not the notification bar.
E2: Used this http://forum.xda-developers.com/showthread.php?t=1053019
Changing the png worked but only on the lockscreen. Also edited the xml but nothing changed.
http://forum.xda-developers.com/showthread.php?t=1298591
Also doesnt work.
i'm not sure what u're exactly trying to do, but have u tried the online UOT kitchen http://uot.dakra.lt/kitchen/ , there are options for status bar transparency etc...
*for rooted users that's using blacknotifs I suggest you edit your own framework-res.apk. (basic knowledge on using apktool is needed) when decompiled just navigate to res/values/color.xml and look for the line that has "notification_title_text" and change its value to a light color like #fffffffff or #ffc8c8c8, recompile and put it back to your system (via flashable zip or inject it to your rom and reinstall rom) that will make almost all notification title text to white and make black notification cards perfect.
I got this from this linkhttps://forum.xda-developers.com/galaxy-s8+/themes/theme-dark-default-t3597615
I have no idea how to do it
Guys, I will post my framework-res.apk can someone edit it for me.
My device: SM-G920F
Running on latest stock nougat
Guys here's the link to the framework-res.apk from my phone.https://www.dropbox.com/sh/kf9yvkulgjnoc0x/AAAZ2JcURuF2-_PVD5lX1387a?dl=0