Theming question - Captivate Themes and Apps

Could someone please tell me where the background color can be modified for the menu button (wallpaper, settings, search, etc)? I have been looking everywhere for this, but I am not finding it.
Thanks in advance for the help.

jlsesler said:
Could someone please tell me where the background color can be modified for the menu button (wallpaper, settings, search, etc)? I have been looking everywhere for this, but I am not finding it.
Thanks in advance for the help.
Click to expand...
Click to collapse
Its a few .png files in framework-res.apk/res/drawable-hdpi. They're called menu something. Can't remember the exact file name off the top of my head, but they're there.
Sent from my MB860 using XDA Premium App

There are a few things to look for to get the look that you want.
in /res/values/styles.xml depending on what you have for this set of xml determines which .png's the framework is using:
Code:
<style name="Theme.IconMenu" parent="@style/Theme">
<item name="windowAnimationStyle">@style/Animation.OptionsPanel</item>
<item name="background">@null</item>
<item name="itemTextAppearance">@style/TextAppearance.Widget.IconMenu.Item</item>
<item name="horizontalDivider">@drawable/divider_horizontal_bright</item>
<item name="verticalDivider">@drawable/divider_vertical_bright</item>
<item name="itemBackground">@drawable/menu_selector</item>
<item name="itemIconDisabledAlpha">?disabledAlpha</item>
<item name="moreIcon">@drawable/ic_menu_more</item>
</style>
but if you are using an existing theme that is darker then the chances are it will be something like this:
Code:
<style name="Theme.IconMenu" parent="@style/Theme">
<item name="windowAnimationStyle">@style/Animation.OptionsPanel</item>
<item name="background">@null</item>
<item name="itemTextAppearance">@style/TextAppearance.Widget.IconMenu.Item</item>
<item name="horizontalDivider">@drawable/divider_horizontal_dark</item>
<item name="verticalDivider">@drawable/divider_vertical_dark</item>
<item name="itemBackground">@drawable/menu_selector</item>
<item name="itemIconDisabledAlpha">?disabledAlpha</item>
<item name="moreIcon">@drawable/ic_menu_more</item>
</style>
Now with that said, if it is using the first case, you will be looking for files named "divider_horizontal_bright.9.png" and "divider_vertical_bright.9.png". They are .9.png's so deal with them accordingly. Now if you have the second case then you are going to look for "divider_horizontal_dark.9.png" and "divider_vertical_dark.9.png".
Edit those to get your desired effect, but those are only the dividers of the menu.
{
"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"
}
Now I'm going to go back over the xml to show you what I'm looking at.
Code:
<item name="horizontalDivider">[COLOR="Blue"]@drawable/divider_horizontal_bright[/COLOR]</item>
<item name="verticalDivider">[COLOR="Blue"]@drawable/divider_vertical_bright[/COLOR]</item>
Code:
<item name="horizontalDivider">[COLOR="Red"]@drawable/divider_horizontal_dark[/COLOR]</item>
<item name="verticalDivider">[COLOR="Red"]@drawable/divider_vertical_dark[/COLOR]</item>
Those two items determine which .png the framework is looking at, and using that will tell you what to look for when you are editing your theme.
Now lets look at a much more rather obscure portion of the xml, but it still tells you where to look. Under "<style name="Theme">" near the beginning of the styles.xml, there is a long list of items pointing to different .png's in the framework. The one we are interested in is:
Code:
<item name="panelBackground">[COLOR="Purple"]@drawable/menu_background[/COLOR]</item>
<item name="panelFullBackground">[COLOR="Purple"]@drawable/menu_background_fill_parent_width[/COLOR]</item>
This tells you what to look for to edit the background of the menu, and the "top" horizontal bar if you want one.
So look for "menu_background.9.png" and "menu_background_fill_parent_width.9.png". Edit them to have the same look, because the "menu_background_fill_parent_width.9.png" is what you get when you press the menu button, and the "menu_background.9.png" is what you get when you press the "more" button. Again, these are .9.png's so edit them accordingly. If you have any more questions, please ask! I tried to make this as clear as I possibly could.

This is awesome info. Thanks!

I don't see the values directory in the framework-res.apk file. Am I missing something?

jlsesler said:
I don't see the values directory in the framework-res.apk file. Am I missing something?
Click to expand...
Click to collapse
u need to decompile it

I decompiled it with 7zip. I see the res directory, but not the values directory. I see a lot of other directories, but none of them have a styles.xml.

You must decompile it with apk manager. Google it.
Sent from my GT-I9000 using XDA App

jlsesler said:
I decompiled it with 7zip. I see the res directory, but not the values directory. I see a lot of other directories, but none of them have a styles.xml.
Click to expand...
Click to collapse
7zip is only used for extraction not decompiling an apk. Here is a link to apk manager: http://forum.xda-developers.com/showthread.php?t=695701

Also, you don't really NEED to decompile the framework to do it, I just wanted you to maybe learn something instead of just following instructions like must people do. I still encourage you to decompile it and have a look around. Its rather interesting
Edit: thanks watsa, I'm on my phone and couldn't really give him a link.
Sent from my GT-I9000 using XDA App

looks like im about to hit the point of no return into the world of theme editing/developing. Thanks again for the help all!

OK. Here is where I am at:
- downloaded apk manager
- decompiled framework-res.apk
- modified the following lines from styles.xml:
FROM:
<style name="TextAppearance.Widget.IconMenu.Item" parent="@style/TextAppearance.Small">
<item name="textColor">?textColorPrimaryInverse</item>
</style>
TO:
<style name="TextAppearance.Widget.IconMenu.Item" parent="@style/TextAppearance.Small">
<item name="textColor">?textColorPrimary</item>
</style>
I did this do reverse the text color of the menu since I have a dark background.
- compiled apk
- signed apk
I copied this new framwork-res.apk into my system/framework folder and rebooted. When it came back up, it was force closing all over the place.
Any idea where I went wrong?

For one don't sign the apk, it's a system app, it is not signed. And go from a clean framework, do the edit, and recompile (without signing) and see if that works.

That worked. It was a rookie mistake i suppose (I am making many of them). Thanks again for the help.

How do you create a CWM update zip (edify)? I am having trouble with the update-binary file.

jlsesler said:
How do you create a CWM update zip (edify)? I am having trouble with the update-binary file.
Click to expand...
Click to collapse
use this to drop your apk' in respective folder.

You may want to put this line
Code:
run_program("/sbin/mount", "/dev/block/stl9", "/system");
in before
Code:
package_extract_dir("system", "/system");
in the updater-script because on Gingerbread roms I was having problems with /system being mounted before the flash. If you don't need it, then cool, but I put it in mine just in case because I know I needed it for Cognition. Of course it may already be there, I didn't download the Theme.zip to see what was inside it...

Related

Location and name of apps list background?

Hi,
I'm currently creating a black theme for a 2.1 rom but i am totally struggling finding the PNG file for the apps list "all programs" background, currently it's a light shade of grey starting at the top shading down to black at the bottom but want to make this this totally black.
I have changed all the files i can find that resemble the background but it remains grey fading to black and maybe this is controlled by an xml file?.
I have looked in framework-res and com.htc.resources apks but cannot find the file to change this.
Can anyone help me with this please?
Thx.
welcome to the league of those who cannot find the menu background... we've all been searching for a long long time, the shining knight has yet to be found that can free us all from the curse of the dark in the back...
Lol, ok but some themes i've seen have a black background, maybe this is because it's the default for the that particular rom/theme.
after reading your first post again : are you talking about stock or sense roms? not sure about the stock launcher, it should be know what file it is for that. not for rosie though.
I'm themeing an expresso sense rom and the file i have found that resembles the background png is called common_panel_gradient.png, which is also found in some common system apk's.
Hitman37 said:
I'm themeing an expresso sense rom and the file i have found that resembles the background png is called common_panel_gradient.png, which is also found in some common system apk's.
Click to expand...
Click to collapse
have you tried editing it?
kendong2 said:
have you tried editing it?
Click to expand...
Click to collapse
Yes, i did a couple of system apk's as well but the programs background stays the same, sys apk's change to the new edit.
Hitman37 said:
Yes, i did a couple of system apk's as well but the programs background stays the same, sys apk's change to the new edit.
Click to expand...
Click to collapse
It's not a png, it's a xml in framework-res.apk. I'm not at my own pc right now, but I'm 99% sure it's in /res/values/colors.xml. I tried editing to a semiopaque once, but it made the icons have trails when scrolling.
EDIT: Forget it. Just downloaded the stuff needed, and it is not in framework-res.apk. It's in Rosie.apk. /res/values/colors.xml. Line 8
Code:
<color name="all_item_background">#ff000000</color>
tristan202 said:
It's not a png, it's a xml in framework-res.apk. I'm not at my own pc right now, but I'm 99% sure it's in /res/values/colors.xml. I tried editing to a semiopaque once, but it made the icons have trails when scrolling.
EDIT: Forget it. Just downloaded the stuff needed, and it is not in framework-res.apk. It's in Rosie.apk. /res/values/colors.xml. Line 8
Code:
<color name="all_item_background">#ff000000</color>
Click to expand...
Click to collapse
Ah thanks Tristan ,
i thought it was probably xml related but the question now is how do i edit this (ff000000) in line 8 to change it to my all black background and what hex would this be?
Do i need some java tools for editing the xml?
Thank you!
Hitman37 said:
Ah thanks Tristan ,
i thought it was probably xml related but the question now is how do i edit this (ff000000) in line 8 to change it to my all black background and what hex would this be?
Do i need some java tools for editing the xml?
Thank you!
Click to expand...
Click to collapse
You need to download apktool, and then extract Rosie with that. The way it's done is this:
Code:
apktool d Rosie.apk out
That will decompile it to the folder 'out', and make all xml files readable and editable. Then after editing you run this command:
Code:
apktool b out
That will rebuild the apk. All left to do is either resign it or copy the edited files to your original Rosie.apk
Thanks again!!
Two questions...
What editor do i need to edit the decompiled file, will notepad do it?
What do edit the file to in line8, to use my background PNG?
Thanks.
Hitman37 said:
Thanks again!!
Two questions...
What editor do i need to edit the decompiled file, will notepad do it?
What do edit the file to in line8, to use my background PNG?
Thanks.
Click to expand...
Click to collapse
Notepad will do just fine. I use Notepad++, a freeware great notepad replacement with code highlight. I am not sure if you can replace the background with a png. That's be kinda tricky. It will probably require some altering in the smali, and I'm not familiar with that. One thing you could try is edit another file instead. You need to edit bladelistview.xml in layout folder.
Edit this tag:
Code:
android:background="@color/all_item_background"
to this:
Code:
android:background="@drawable/NAME_OF_YOUR_PNG_WITHOUT_EXTENSION"
Remember to put you custom image in the drawable folder in Rosie. I am not sure if this will work, but it's definatly worth trying.
Ok great, i'll try your suggestions.
Thanks
Hmm no it doesn't work, still the same background, i also get some errors when decompiling and re-compiling rosie but i inserted the files directly into rosie anyway with winrar, still not working
Any other idea's?
Thanks.
I have a feeling there's an apk somewhere that controls the program launch/list that has this png inside but i cannot find it , i thought that it could be the Launcher.apk but it's totally missing from the apps folder
This is what the current background looks like
{
"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 want to change it to this...

[Themers]MetaMorph Reform and How to properly make a MetaMorph for everyone's use

{
"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"
}
What MetaMorph is
MetaMorph is a project designed to allow us to patch files within .jar and .apk files on the phone.
Initially MetaMorph was designed for themers but it was discovered through use that we could also use it for applying customer dex files, resource files, images, and xml files. Pretty much anything inside of the apk and jar can be replaced with MetaMorph, which makes it very versatile and useful, in addition to this we can now copy files to places on the phone or sdcard, and we can implement the use of scripts now!
Purpose for a Reform:
Usually MetaMorphs are made for a specific phone and rom. Instead of classifying them by a Phone model, we should be classifying them by the phone's Resolution (ldpi,mdpi,hdpi). Also, the rom name should be the name of the rom compatible with the theme (Cupcake,Donut,Eclair,Froyo).
Benefits:
-Instead of have multiple MetaMorph versions for different types of phones, we will have only 3 different Resolution sizes coving multiple phones and roms.
-By using the name of the specific rom, we know that the theme fits perfectly with no problems. Also any files not present will be skipped by MetaMorph, further perfecting any chance of errors.
-MetaMorph can now be available for multiple phones. They can now also enjoy the beautiful themes created by our talented themers.
Quick rules and standard procedures for your MetaMorph theme
1)Your MetaMorph theme.xml should be as specific as possible.
Sample:
Code:
<?xml version="1.0"?>
<!-- MetaMorph theme template XML -->
<!-- Enter the name of this theme -->
<themename>Vanilla Upgrade</themename>
<!-- Enter the version of this theme -->
<themeversion>1.0</themeversion>
<!-- Enter the name of the png with out the (.png) extention -->
<screenshot></screenshot>
<!-- Enter the person(s) involved in this theme -->
<author>RichieDaze</author>
<!-- Enter the web location of this theme -->
<authorweblink></authorweblink>
<!-- Enter the resolution compatible for this theme (ldpi,mdpi,hdpi) -->
<phone>MDPI</phone>
<!-- Enter the name of the Android OS name this theme is compatible with -->
<rom>FROYO</rom>
<!-- Enter a description of this theme -->
<themedescription></themedescription>
2)Your screen shot can be named anything, but Screenshot should be default.
3)The <phone> entry should display the phones resolution(ldpi,mdpi,hdpi).
4)The <rom> entry should display the name of the compatible rom for your theme(cupcake,donut,eclair,froyo).
5)You should not have any png's or folders you did not edit in your theme folder.
6)Add all your png and xml edits in there proper folder(s).
7)Remember which folders make your phone reboot and place them last on the theme.xml's list.
8)When posting your MetaMorph, you should enter something like: [MetaMorph-mdpi] Name of your theme for 2.2, so that other users know if they can apply it to there phones. Plus searching from a search engine can have better results when looking for a compatible theme for your phone.
Following these rules will make MetaMorph much more enjoyable for everyone...
MetaMorph Commands
These following commands will be clarified one by one
The cpy command Copies from a specified folder in this theme's folder to the path folder.
Code:
<item>etc.cpy</item>
<path>/system/etc/</path>
<description></description>
-The above code tells MetaMorth to copy the contents of etc from your theme to the path: /system/etc
The script command Runs scripts as SU from a specified folder in this theme's folder
Code:
<item>Scripts.script</item>
<path>reboot.sh</path>
<description></description>
-The above code tells MetaMorph to Run a script as SU from the Scripts folder in the theme's folder.
The Regular command replaces any file into a apk/jar.
Code:
<item>framework-res.apk</item>
<path>/system/framework</path>
description></description>
or
Code:
<item>services.jar</item>
<path>/system/framework</path>
description></description>
-The above code tells MetaMorth to copy the contents of the framework/services folder from your theme to the path: /system/framework
Basic file structure for a sub-theme
Lets say your doing a sub-theme for framework-res.apk.
Your folder woulld be called framework-res (without the extension)
The same goes for the folders inside framework-res, in it's proper order.
drawable-mdpi would be in a folder called res.
So here is the break down: framework-res/res/drawable-mdpi/
-Reserved for different phone/rom thread links...
-MetaMorph Theme template XML
-Locations of xml's or jar to change the text colors
So how is the MetaMorph coming for Community Hero Mix?
Any progress?
Binary100100 said:
So how is the MetaMorph coming for Community Hero Mix?
Any progress?
Click to expand...
Click to collapse
This progress is about 90% done. I have only the task of the Launcher. Since different roms use different launchers the task becomes a bit harder.

[MIUI_V5 Bugfix][TUT] Fix RTL Bug on MIUI V5 Applications

Hi to All
I found the RTL bug on default MIUI V5 applications, after working on default's miui programs like Messaging, Contacts, Notes, .... finally i found the bug where it comes from.
little explanation how to fix this issue on Messaging app.
the problem is come from where the miui developers did not defined the android layout gravity for text editing layouts, when you don't add layout gravity for item, it will stick to left for all items. now when you want type over right layout based languages, like Persian, Arabic, Hebrew, Urdu ..., it will stick to left and you cant edit the text, the courser will stick to left while you are typing from right. i hope understand what i mean.
now get back to title and there is a solution.
we need to edit all MIUI V5 apps and put the layout_gravity parameter on edit text layouts, but its required huge work and need too much free time.
but there is simple way to fix this issue:
i study an d checking the MIUI V5 apps , and find that all of those text layouts have common style and they referred to "V5.TextAppearance" style.​i found this style on "framework-miui-res.apk" file. finally i changed this style and all RTL problems are fixed already.
lets begin the tutorial:
1- De-compile the framework-miui-res.apk file.
2- open /res/values/styles.xml file via Notepad++
3- how to fix text edit layouts rtl problem , like Music player meta ID3 editor, Messaging app and phone.
do a search and find this style:
PHP:
<style name="V5.TextAppearance" parent="@*android:style/TextAppearance">
<item name="android:textSize">@dimen/v5_text_font_size_primary</item>
</style>
4- fix the styles:
add this below line through above style:
PHP:
<item name="android:gravity">start</item>
finally we have :
PHP:
<style name="V5.TextAppearance" parent="@*android:style/TextAppearance">
<item name="android:gravity">start</item>
<item name="android:textSize">@dimen/v5_text_font_size_primary</item>
</style
​4- how to fix texts on search layout's rtl problem like Contacts search function, Notes search function, Music player search function
find this line:
PHP:
<style name="V5.Widget.EditText" parent="@*android:style/Widget.EditText">
on this style you will see this parameter:
PHP:
<item name="android:gravity">left|center</item>
change the above parameter to below one:
PHP:
<item name="android:gravity">start|center</item>
finally we have:
PHP:
<style name="V5.Widget.EditText" parent="@*android:style/Widget.EditText">
<item name="android:textAppearance">@style/V5.TextAppearance.EditText</item>
<item name="android:gravity">start|center</item>
<item name="android:background">?v5_edit_text_bg</item>
<item name="android:singleLine">true</item>
</style>
5- save the "Styles.xml" file and close Notepad++ application.
6- compile "framework-miui-res.apk" file.
7- now transfer your edited "framework-miui-res.apk" into your phone.
8- enjoy!​
Original Thread, Persian Language
Best Regards , Amestris Team
How to fix RTL issue on Global search in home screen.
1- decompile QuickSearchBox.apk
2- open /res/layout/query_text_view.xml via notepad++
3- find this item:
Code:
android:gravity="left|center"
4- change above item to
Code:
android:gravity="start|center"
5- compile and move it into system/app folder.
​
{
"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"
}
thread is updated. if you find any rtl bugs either please report me.
best regards.
M_J_Nazari said:
thread is updated. if you find any rtl bugs either please report me.
best regards.
Click to expand...
Click to collapse
Thanks!! What about SMS pop-up (the quick respond)?
SagiMedina said:
Thanks!! What about SMS pop-up (the quick respond)?
Click to expand...
Click to collapse
yes, its fixed too.

[MOD]change home screen grid size Miui Launcher

backup your rom
for a 4x6 grid size
-First download this on phone :http://www.mediafire.com/download/12ge91h88llsa2b/com.miui.home.zip
-remove extension .zip,now you have com.miui.home
-open a file manager with root (ES Explorer) and copy paste at phone/device/system/media/theme/default
-check the permissions
{
"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"
}
-Reboot,start take a 2/3 min
If you want more:4x6/5x6/5x7 working,I have not tested more
-Open com.miui.home.zip with Winrar, you have a folder theme_values.xml
-Open theme_values.xml with Notepad or other app https://notepad-plus-plus.org/fr/
-Changed both values in red
<dimen name="folder_preview_width">42.0dip</dimen>
<dimen name="folder_preview_height">42.0dip</dimen>
<integer name="config_cell_count_x">4</integer>
<integer name="config_cell_count_y">6</integer>
<dimen name="workspace_cell_height">82.000000dip</dimen>
<dimen name="workspace_cell_padding_bottom_min">10.000000dip</dimen>
<dimen name="icon_title_padding_bottom">1.000000dip</dimen>
<dimen name="workspace_cell_padding_top">8.000000dip</dimen>
<dimen name="workspace_padding_top">11.000000dip</dimen>
<dimen name="workspace_indicator_margin_bottom">84.000000dip</dimen>
<dimen name="hotseats_height">92.000000dip</dimen>
<dimen name="icon_message_max_width">55.000000dip</dimen>
<dimen name="workspace_cell_padding_bottom">102.000000dip</dimen>
-Save
-With winrar add to the archive the new theme_values.xml and rename it to com.miui.home.zip
-remove extension .zip,now you have com.miui.home
-open a file manager with root (ES Explorer) and copy paste at phone/device/system/media/theme/default
-check the permissions
-Reboot
Thx kuan for tips
puppetmaster22 said:
backup your rom
for a 4x6 grid size
-First download this on phone :http://www.mediafire.com/download/12ge91h88llsa2b/com.miui.home.zip
-remove extension .zip,now you have com.miui.home
-open a file manager with root (ES Explorer) and copy paste at phone/device/system/media/theme/default
-check the permissions
-Reboot,start take a 2/3 min
If you want more:4x6/5x6/5x7 working,I have not tested more
-Open com.miui.home.zip with Winrar, you have a folder theme_values.xml
-Open theme_values.xml with Notepad or other app https://notepad-plus-plus.org/fr/
-Changed both values in red
<dimen name="folder_preview_width">42.0dip</dimen>
<dimen name="folder_preview_height">42.0dip</dimen>
<integer name="config_cell_count_x">4</integer>
<integer name="config_cell_count_y">6</integer>
<dimen name="workspace_cell_height">82.000000dip</dimen>
<dimen name="workspace_cell_padding_bottom_min">10.000000dip</dimen>
<dimen name="icon_title_padding_bottom">1.000000dip</dimen>
<dimen name="workspace_cell_padding_top">8.000000dip</dimen>
<dimen name="workspace_padding_top">11.000000dip</dimen>
<dimen name="workspace_indicator_margin_bottom">84.000000dip</dimen>
<dimen name="hotseats_height">92.000000dip</dimen>
<dimen name="icon_message_max_width">55.000000dip</dimen>
<dimen name="workspace_cell_padding_bottom">102.000000dip</dimen>
-Save
-With winrar add to the archive the new theme_values.xml and rename it to com.miui.home.zip
-remove extension .zip,now you have com.miui.home
-open a file manager with root (ES Explorer) and copy paste at phone/device/system/media/theme/default
-check the permissions
-Reboot
Thx kuan for tips
Click to expand...
Click to collapse
awesome man
Good job
Enviado desde mi Redmi Note 2 mediante Tapatalk
Works like a charm man! The text is a bit too close to the icon tho, but it still looks good
Skickat från min Redmi Note 2 via Tapatalk
Thanks very useful.
Is there a way to change icon size?.
drzoom10 said:
Thanks very useful.
Is there a way to change icon size?.
Click to expand...
Click to collapse
With build.prop editor app
http://en.miui.com/forum.php?mod=viewthread&tid=104651&highlight=icon+size
[
Cool Thanks :good::good:
Thanks very useful~_~
来自我的 Redmi Note 2 上的 Tapatalk
hey thanks man!
this works on xiaomi.eu ROM 5.12.3
What was the dpi you used
xuleca said:
What was the dpi you used
Click to expand...
Click to collapse
@xuleca 400dpi
Worked perfekt with row 5x7 and 400 density
The only thing is, that you have to do make new folders and have to add widgets
Works like a charm dude.
If you set 400 dpi I suggest to increase bottom padding so icons aren't too close of the indicator (the dots that indicate the page)
<dimen name="workspace_cell_padding_bottom">130.000000dip</dimen>
thank you!
Hi, does it work on redmi note 3. Thankyou.
Xdieu said:
Hi, does it work on redmi note 3. Thankyou.
Click to expand...
Click to collapse
Maybye,make a backup before
this is working,thank you
äppler said:
Worked perfekt with row 5x7 and 400 density
The only thing is, that you have to do make new folders and have to add widgets
Click to expand...
Click to collapse
Any chance you could upload your home file?
Do you know from where to get Status toggles 4x4
Hi,
Is possible to send me the 5X7 file ready for flash, I try to create the file but don´t work.
[email protected]
Regards

[HELP] Change some colors

I want to change Settings.apk Background color like this (i just want to make a dark theme):
{
"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 saw many tutorials here, but nothing found about my files.
If anyone can help me here are the files framework-res, Settings and SystemUI: https://mega.nz/#!C94CyJLK!soKx4RArbZ0mm8Kw_Y7_a9l37gbwJe2fsOGHUtWQ_x4
You just need to tell me what file to edit, i want to edit it myself to learn.
Thanks anyone who help me.
hadagalberto said:
I want to change Settings.apk Background color like this (i just want to make a dark theme):
I saw many tutorials here, but nothing found about my files.
If anyone can help me here are the files framework-res, Settings and SystemUI: https://mega.nz/#!C94CyJLK!soKx4RArbZ0mm8Kw_Y7_a9l37gbwJe2fsOGHUtWQ_x4
You just need to tell me what file to edit, i want to edit it myself to learn.
Thanks anyone who help me.
Click to expand...
Click to collapse
Which version of android ??
Edit:
If 5.0+
Then here you go just replace those lines in colors.XML and styles.XML in settings
Thanks to @nicholaschum
I'll try this, thanks
n78 shadow said:
Edit:
If 5.0+
Then here you go just replace those lines in colors.XML and styles.XML in settings
Thanks to @nicholaschum
Click to expand...
Click to collapse
I dind't findo all the strings, i edited some of them but the app isn't showing at launcher anymore. Can you edit for me?
hadagalberto said:
I dind't findo all the strings, i edited some of them but the app isn't showing at launcher anymore. Can you edit for me?
Click to expand...
Click to collapse
I hope I can but I don't have PC I made themes by apktool on android and I don't think I can decompile it or even recompile it and also I have exams these days I can't do anything ,Sorry:crying:
But if you opened the XML(s) I sent you make sure you edit the same color name and also try to edit the framework-res with those values .( in the attachment)
After editing the settings and the framework push them to the system at the same time then reboot .
Good luck
Edit : yeah I almost forget
If you didn't find all the strings add the one you didn't find that may works if you edited the framework also.
n78 shadow said:
Edit:
If 5.0+
Then here you go just replace those lines in colors.XML and styles.XML in settings
Thanks to @nicholaschum
Click to expand...
Click to collapse
n78 shadow said:
I hope I can but I don't have PC I made themes by apktool on android and I don't think I can decompile it or even recompile it and also I have exams these days I can't do anything ,Sorry:crying:
But if you opened the XML(s) I sent you make sure you edit the same color name and also try to edit the framework-res with those values .( in the attachment)
After editing the settings and the framework push them to the system at the same time then reboot .
Good luck
Edit : yeah I almost forget
If you didn't find all the strings add the one you didn't find that may works if you edited the framework also.
Click to expand...
Click to collapse
Thanks! I'll try later.
n78 shadow said:
I hope I can but I don't have PC I made themes by apktool on android and I don't think I can decompile it or even recompile it and also I have exams these days I can't do anything ,Sorry:crying:
But if you opened the XML(s) I sent you make sure you edit the same color name and also try to edit the framework-res with those values .( in the attachment)
After editing the settings and the framework push them to the system at the same time then reboot .
Good luck
Edit : yeah I almost forget
If you didn't find all the strings add the one you didn't find that may works if you edited the framework also.
Click to expand...
Click to collapse
So, i've edited all the files but something went wrong wit background:
And WhatsApp is forcing closing.
Any solution?
hadagalberto said:
So, i've edited all the files but something went wrong wit background:
And WhatsApp is forcing closing.
Any solution?
Click to expand...
Click to collapse
Mmm .
OK first of all make sure you added this line in colors.XML of settings ( if it doesn't exist just add it)
<color name="dashboard_category_background_color">#ff000000</color>
If that didn't work try to edit this
res/layouts/dashboard_category.xml
And also for the whatsapp add this zip to the framework-res
This zip contains drawable and colors and you know where to push them ( pay attention I added two XML drawables look in the deawables folders for the same name and delete them before you push those or you will face crashes)
n78 shadow said:
Mmm .
OK first of all make sure you added this line in colors.XML of settings ( if it doesn't exist just add it)
<color name="dashboard_category_background_color">#ff000000</color>
If that didn't work try to edit this
res/layouts/dashboard_category.xml
And also for the whatsapp add this zip to the framework-res
This zip contains drawable and colors and you know where to push them ( pay attention I added two XML drawables look in the deawables folders for the same name and delete them before you push those or you will face crashes)
Click to expand...
Click to collapse
Ok, my Settings.apk is working fine. But WhatsApp is still forcing closing.
I replaced the files at framework-res.
hadagalberto said:
Ok, my Settings.apk is working fine. But WhatsApp is still forcing closing.
I replaced the files at framework-res.
Click to expand...
Click to collapse
This's strange this should work.
Sorry I don't know what could I do else try to make a log and read why it crashes .
Sorry I told you every thing I know perhaps someone will continue instead of me .
n78 shadow said:
This's strange this should work.
Sorry I don't know what could I do else try to make a log and read why it crashes .
Sorry I told you every thing I know perhaps someone will continue instead of me .
Click to expand...
Click to collapse
So, is it possible to change that invisible text without modding the framework-res?
What string i need to change?
hadagalberto said:
So, is it possible to change that invisible text without modding the framework-res?
What string i need to change?
Click to expand...
Click to collapse
No you need to mod the framework-res .
And especially the styles.XML.
But did you made the edits I sent you in the zip they should fix those problems.??
n78 shadow said:
No you need to mod the framework-res .
And especially the styles.XML.
But did you made the edits I sent you in the zip they should fix those problems.??
Click to expand...
Click to collapse
I replaced that files in framework-res, but WhatsApp still FC
hadagalberto said:
I replaced that files in framework-res, but WhatsApp still FC
Click to expand...
Click to collapse
Would you please provide a log?
n78 shadow said:
Would you please provide a log?
Click to expand...
Click to collapse
How can i get this?
hadagalberto said:
How can i get this?
Click to expand...
Click to collapse
Google for
Catlog
n78 shadow said:
Google for
Catlog
Click to expand...
Click to collapse
The log is in the attachment.
hadagalberto said:
The log is in the attachment.
Click to expand...
Click to collapse
WTF (What The Fantastic Log please provided one with just the WhatsApp errors maybe screenshot the red lines
Edit : I searched the lines nothing is related to WhatsApp So what you can do ??
I'll tell you open the catlog and then open the WhatsApp after it carshs go back and pause the logs and take screenshot to the read lines.
Good luck
n78 shadow said:
WTF (What The Fantastic Log please provided one with just the WhatsApp errors maybe screenshot the red lines
Edit : I searched the lines nothing is related to WhatsApp So what you can do ??
I'll tell you open the catlog and then open the WhatsApp after it carshs go back and pause the logs and take screenshot to the read lines.
Good luck
Click to expand...
Click to collapse
Here is it:

Categories

Resources