[MOD]DarkSense Theming Thread - HTC Sensation

{
"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"
}
Theming thread
How to make icon pack for DarkSense ROM.
There are two ways of creating Icons pack. I prefer Eclipse way, because you dont need to rely on existing apk.​
In VTS (Virtuous Ten Studios)
1. Download Sample.apk and create new project:
View attachment DarkSense_Icons_Sample.apk
2. Open source folder. go to - yourproject/apkname/Data/smali/com/darksense/rosie/theme/Sample
Change folder name "Sample" to whatever icon's pack name. so it should be like this :
com/darksense/rosie/theme/YourNewName/
Refresh project in vts.
3. Open Manifest and
change package name -
Code:
package="com.darksense.rosie.theme.Sample"
to -
Code:
package="com.darksense.rosie.theme.YourNewName"
4. Then change activity info
Code:
android:name="com.darksense.rosie.theme.Sample.MainActivity"
to
Code:
android:name="com.darksense.rosie.theme.YourNewName.MainActivity"
Folder, package name and activity name should be the same
Refresh project.
5. Go to string and change names to yours
6. Open drawable-hdpi and add , change icons to your new icons with keeping the icons name as in the sample.​
In Eclipse
1.Create new project. name package like this com.darksense.rosie.theme.YourIconsName
2. After creating project go to MainActivity and replace class MainActivity with this:
here your package name and imports..
Code:
public class MainActivity extends Activity {
public void onCreate(Bundle bundle)
{
super.onCreate(bundle);
}
}
3. Open manifest and look for line
Code:
<action android:name="android.intent.action.MAIN" />
under this line add this
Code:
<action android:name="darksense.rosie.launcher.THEME" />
and remove this
Code:
<category android:name="android.intent.category.LAUNCHER" />
4. Open strings and replace data with this
Code:
<string name="theme_title">YourIcon name</string>
<string name="theme_description">YourName DarkSense Icon pack</string>
5. Go back to manifest and change (two times) from
Code:
app_name
to
Code:
theme_title
6. Go to values and create new xml file called arrays
paste this data into arrays resources
Code:
<string-array name="icon_pack">
<item>com_mikrosmile_store_mainactivity</item>
</string-array>
7. Add your icons in drawable-hdpi.
Refrsh project and try it. If everything is good, then export it as apk.​
If you are developer of existing icons for other ROMs
Open manifest and change:
Code:
<action android:name="****.rosie.launcher.THEME" />
to
Code:
<action android:name="darksense.rosie.launcher.THEME" />
How to add more icons for more applications​
In both ways you can add as many modified icons for apps as you want. Just in case of VTS you cannot remove existing icons.
To find the icon name install app Android System Info (from Google Play)
Open application and go to Apps tab.
Click on application you want to modify, open its AndroidManifest and look for
1. Package name - at the top of manifest = android: package = "com.***.***.***"
2. activity - Look for line with android.intent.action.MAIN and just few lines above it you will find <activity android:name=".***"
sometimes there will be .MainActivity sometimes can be like .xx.xx.Main and exaclty with dot before name.
if activity name here <activity android:name=".***" starts without dot, try to use this name for icon, without package name.
Example AdAway application.
Package name - org.adaway
main activity - .ui.BaseActivity
together org.adaway.ui.BaseActivity convert it to org_adaway_ui_baseactivity and name the icon exactly like that.
Example 2 in case of if.
main activity - ui.BaseActivity
your icons name - ui_baseactivity
You finish? Send me pm and i will add it to DarkSense Store.

DarkSense Store contains this :
Sense 5 Stock, Blue, Red made by 12reza12
Real Icons
Bird Icons
Cloud Icons
Real, Bird and Coud icons provided by kinghunki

Nice! Do you guys already have sense 5 icons? Otherwise I can make a quick icon pack.
Sent from my awesome fridge

MaartenXDA said:
Nice! Do you guys already have sense 5 icons? Otherwise I can make a quick icon pack.
Sent from my awesome fridge
Click to expand...
Click to collapse
Thanks, yeah we have it)
Later I will add what we already have in darksense store ..
Sent from my Galaxy Nexus using Tapatalk 2

Hope more enthusiasts join DarkSense!

I've been using DarkSense since a week but I'm pretty sure I'll not leave it until I'll sell my beloved Sensation!
Hope new skins and icons will come :good:
Keep up with the good work guys

Sense 5 Stock, Blue, Red made by 12reza12 .
--------------------------
Circuit Mékong-Randonnée à Sapa-Voyage Laos

Vegio said:
I've been using DarkSense since a week but I'm pretty sure I'll not leave it until I'll sell my beloved Sensation!
Hope new skins and icons will come :good:
Keep up with the good work guys
Click to expand...
Click to collapse
Stay tuned

Related

[Mods] - [MikRoms] - [7/5/2011] - MikG v2.2 - Sprint Lovers Icons

This is my first Mod for this ROM. I just flashed the ROM earlier this afternoon. More to come soon. Enjoy!
{
"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"
}
Sprint Lovers Icons w/Circle Percentage Battery - http://db.tt/Op9qIx8
Sprint Lovers Icons w/Stock Percentage Battery - http://db.tt/pFXdtVh
Sprint Lovers Icons w/Stock Percentage Battery: The Complete Experience (WIP) - http://db.tt/RknIWM2
Great idea! I was really living those icons and almost went and flashed the new EVIO Rom just for that. Would you mind telling me what the "complete experience" file is compared to the other. Thanks in advance.
Sent from my PC36100 using Tapatalk
... By the looks of the screenshots, the other is not complete SPRINT LOVERS icons and the "complete experience" has a more complete set but is a work in progress? Assume work in progress means either BETA or also not completely complete? Bout to flash and see what happens.
Sent from my PC36100 using Tapatalk
Looks nice. I've been trying to get back the Gmail icon (Ideally with notify count) rather than the stupid gingerbread one I get now with MikG.
Which file(s) did you have to modify to get the Gmail to show it's original Red Envelope?
where can i get the original icons???
i like the rom and all but not feeling these icons...
anyone wanna help out??
whats the difference between complete experience and non-complete?
Great Job.....
looks like between the new market and the new drop downs we need a refresh on this one...
And now new Gmail, anyone want to give this a stab, and also get animated sync icon too?
My bad y'all. I wound up breaking my EVO and I fell back on things. I just got another one last week, but it was already updated with 2.3.3.
Sent from my Epic, because my EVO arrived with the Gingerbread update.
Mikee4fun said:
And now new Gmail, anyone want to give this a stab, and also get animated sync icon too?
Click to expand...
Click to collapse
What exactly do you mean by new Gmail? You want the white Gmail icon with the red M in it or do you want the default gingerbread version? It looks like this includes the white envelope with red, but changing it is easy if you know how to use adb (though you should still make a full nandroid backup before proceeding -- just in case):
1. Grab the framework-res.apk file from your phone:
Code:
adb pull /system/framework/framework-res.apk
2. Double-click on the .apk file and navigate it with 7zip (Windows), archive manager (Linux with Gnome), etc.
3. Go into the res/drawable-hdpi directory and swap out the stat_notify_gmail.png file with whatever image you desire (i.e. rename your desired image to stat_notify_gmail.png and then copy it to this folder, overwriting the existing image).
4. Close the window and push the file back to your device:
Code:
$ adb remount
$ adb shell stop
$ adb push framework-res.apk /system/framework
$ adb shell start
If you aren't sure what any of that means or you need help just let me know.
Now the animated sync icon is going to be a little bit more work. I'm rather curious how that is done (probably just some timeouts in the XML with a series of images that are all rotated from the previous one), but now you have got me kind of curious!
Hmmm...ok well I have some rather limited knowledge of this stuff but I think I see how to animate the icon. The problem is that I would have to replace your entire framework-res.apk file so it would also change the battery icons that you may have, along with just about every other icon that appears on the notification bar there.
But if I were to do this I would try the following after unpacking the framework-res.apk file (apktool d framework-res.apk). I'm sort of putting these notes here for myself as well as everyone else. I don't have time to try this right now but I might give it a shot later tonight or tomorrow...once the kiddos go to bed.
1. Starting with the framework-res/res/drawable-hdpi/stat_notify_sync_anim0.png as a base. Create a few different versions of the sync image at different angles (i.e. create 3 more images -- this original image can serve as the first image with one of the arrows on the left at "9 o'clock", another image 45 degrees from that, a third one with one of the arrows directly on the top at "12 o'clock", and then another 45 degrees from that.
2. Copy the new image files to framework-res/res/drawable-hdpi.
3. Create a new xml file framework-res/res/drawable/stat_notify_sync.xml with the following lines in it:
Code:
<?xml version="1.0" encoding="utf-8"?>
<animation-list android:oneshot="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:duration="500" android:drawable="@drawable/stat_notify_sync_anim0" />
<item android:duration="500" android:drawable="@drawable/stat_notify_sync_anim1" />
<item android:duration="500" android:drawable="@drawable/stat_notify_sync_anim2" />
<item android:duration="500" android:drawable="@drawable/stat_notify_sync_anim3" />
</animation-list>
4. Insert new lines referencing the resources inside of framework-res/res/values/public.xml:
Code:
<public type="drawable" name="stat_notify_sync_anim1" id="0x01080292" />
<public type="drawable" name="stat_notify_sync_anim2" id="0x01080292" />
<public type="drawable" name="stat_notify_sync_anim3" id="0x01080292" />
5. Now build the apk file, sign it, zipalign it (optional), create the flashable zip, and then sign the zip file.
I'm pretty sure that this would work but again it would mean that we are replacing the entire framework-res.apk file so you would lose all other customizations that you might have to the status bar icons.
I might just give this a shot for the heck of it. I have no idea if it will work but I'm willing to at least try. I have a very recent nandroid backup so I can easily push this over to see if it works before posting!
blowpot-
did you get rooted yet? We need a refresh!
Been busy since root. I had to fall back from the forums for a while. Downloading 2.5 now. Will update soon.
Sent from my Synergized EVO, Thanks to some rEVOlutionary Tactics

[LIVE WALLPAPER] RLW Live Wallpaper + Themes Development

Hello, xda community!
I recently published on Android Market RLW Live Wallpaper Free, a high tech wallpaper with one unique feature: it's the first Live Wallpaper with Third-Party themes support, just like ADW Launcher, Go Launcher Ex or AudioManager Pro.
Here's some images:
{
"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"
}
Actually RLW is doing pretty fine on Android Market (4000+ downloads in a few days) but it can grow even better with *more themes*!
You can find the THEME TEMPLATE in the attachment below!
Development of RLW Themes is really simple!
During development you can set:
1- Circle images
2- Background images
3- Images scaling
4- Background Scaling
It's all in the README - HOWTO file contained in the Template, here's a copy of it:
-- RLW Theme Development Howto --
Creating a theme for RLW is really simple, you just have to follow the instructions below.
The folder included is a Template, it's an Eclipse Project.
1) EDIT PACKAGE NAME:
Your theme package name needs to be "com.rlw.theme.yourthemename" (without quotes, substitute yourthemename with your theme name). This way the theme can be found on Android Market by RLW.
2) IMAGES:
You have to put images in res/drawable, drawable-hdpi, drawable-mdpi, drawable-ldpi folders, in ALL of them.
The circles images size is 512x512 px. However you can use 256x256 images in drawable-mdpi and drawable-ldpi folders: remember that doing so will result in low quality images for mdpi and ldpi devices, so using 512x512 images is strongly recommended. USE ALWAYS POWER OF 2 SIZES (128x128, 256x256, 512x512...).
There are 7 circles images (circle0, circle1,..circle6). You need to include all 7 images, if you want you can leave transparent the circles images you don't want to be displayed.
The circles images MUST be PNG-24 with transparent background.
The background image (background) correct size is 1024x1024. You can use both JPG and PNG. You MUST include a background image, even if you don't want to use it: in this case, you can provide a small, transparent image, this way it will not impact your theme weight. The background image must not contain transparencies.
3) CONFIGURE THEME SETTINGS:
Theme settings are included in res/values/theme_settings.xml file.
Here's a brief description of the fields:
* app_name = Name of the app, to be displayed in Android Task Manager
* theme_name = Name of the theme, will be displayed in Rotating Wallpaper theme chooser dialog. Please don't insert "Rotating Wallpaper Theme" words in this field. Use short names.
* RGB_R, RGB_G, RGB_B = these are the values of Background Color, which will be displayed if you set use_background_image=0; The color form is RGB (0-255, 0-255, 0-255). For instance, let's say you want to set RED as background color: the RGB form for red is (255,0,0), so you will set RGB_R=255, RGB_G=0, RGB_B=0.
*use_background_image = set it to 1 if you want to use the background image, else set it to 0. If 0, Background Color will be used instead.
*size_background_image = if you use a 1024x1024 background image, you should leave this untouched. If you use a smaller or a bigger image, use this field to edit background image scale. Keep in mind that for landscape mode, the size of the background image is automatically increased by 0.8f. Use float values (for example 1f, 0.8f, 5f), remember the final "f" which indicates float!!!!
*scale_modifiers_circles = this is a stringarray containing 7 modifiers for circles sizes. If you need a different scaled circle, you can add a modifier. Use float values (for example 1f, 0.8f, 5f), remember the final "f" which indicates float!!!!
Note: The theme contains an empty Activity. You can use it at your pleasure to sponsorize your other apps!
_____________________
PLEASE DONATE PURCHASING RLW PRO!
PLEASE PUBLISH 1 FREE THEME FOR ANY PAID THEME YOU PUBLISH ON THE MARKET!
_____________________
Mariux Apps is not taking any responisbility for themes created by third-parties.
Start developing themes now!!! It's fun and the results are great!
Here's the link to the Free App on Android Market: LINK
There's also a paid, full-featured version: LINK
Website: http://www.mariuxapps.com/wp/rlw-live-wallpaper
Theme template mirror: http://www.mariuxapps.com/wp/create-rlw-theme
I'm always open to questions and suggestions! Feel free to provide ideas and share bugs if you spot some!
Cheers
Mariux
Dang this is tighttt!!
Bookmarked this page to get into some themes later on
Thanks to the developer for this beautiful wallpaper app!
Cant test
Hallo. Wallpaper dont displays in wallpaper lists ;( even when I moved it to internal storage.
ZTE Blade Froyo 2.1
Pandik.
Really beautiful live wallpaper, thank you!
pandik said:
Hallo. Wallpaper dont displays in wallpaper lists ;( even when I moved it to internal storage.
ZTE Blade Froyo 2.1
Pandik.
Click to expand...
Click to collapse
Heh. By this template I can create themes for RLW app thats the answer
Pandik.
Develop
Hallo. I created some RLW templates for "Pro" version of Your livewallpaper and have some sugestions how to inprove Your product:
1- insert possibility to set default number of circles and rotation speed by edit theme_settings.xml
its rly important coz will help to create more interesing themes (with static objects) and final user (with pro version) will get full product without any enterings in settings and manage circle rotations. Belive me, ppl dont wanna to manage to much, if I show them movie with my RLW theme they wanna to get same effect just by instal theme, nothing more.
2- i think that png transparency isnt supported for 100% coz all gradients or objects with alpha chanell are displayed as plain grey, with transparency but with no defined color.
Look for answer from You mate.
cheers
Pandik.

Settings App add-on

Ported Tablet UI to 4.1.1. From Galaxy Tab 7 & Note 10.1... Im trying to figure out how to inject the .smali files or create an apk hook to show the settings menu for quicklauncer settings that is implemented on the galaxy 7 to be able to change the quicklaunch icon(none/screenshot/appdrawer/camera/search)
{
"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 have decompiled the settings.apk from the Tab 7 and these are the .smali files
https://www.dropbox.com/sh/pgpkd9yti70df64/TcAcNwqC7j
The SystemUI.apk and android.service.jar have been changed already and are working. I just need a little direction on how to create a settings app add on...
Here is the thread. And this is how it sits as of now...
http://forum.xda-developers.com/showthread.php?t=2065644
Just trying to add a hook into settings for quicklaunch settings to be able to change the screenshot button.
Also has anyone been able to implement Lidroid/wanam toggles for a tablet before. I used a base that had it implemented for the phone side. However even with searching I have been unable to find a touchwiz based tablet with custom toggles. Sorry If this is the wrong place. I'm still new to this site so please move if I am incorrect for posting here
Integrating application in settings menu
This really handy one.. so take care!!
In this tutorial, we will add USB-Mode program to Settings menu as an example
On your PC
1) Decompile SecSettings.apk.
2) Decompile the program that you want to add to settings menu (USB-Mode)
3) Go to \res\drawable-xhdpi folder and add icon for your program that you want to add (you can take it from decompiled wanted program (USBMode folder).
4) Go to \res\values folder and open strings.xml by NotePad++ and add these lines just before </resources> for your program
Code:
<string name="gloryromaddons">GloryROM Addons</string>
<string name="usbswitcher_text">USB mode switcher</string>
Here change “gloryromaddons” with any thing you want to show as a header in the Settings menu. “usbswitcher_text” is your wanted program
5) Go to \res\xml folder and open settings_headers.xml by NotePad++ and add these lines (the place you put these lines will be the place where added program will be displayed in Settings menu)
Code:
<header android:title="@string/gloryromaddons" />
<header android:icon="@drawable/usbswitcher" android:title="@string/usbswitcher_text">
<intent android:targetPackage="in.zatta.USB_switch" android:action="android.intent.action.MAIN" android:targetClass="in.zatta.USB_switch.USB_switcherActivity" />
</header>
The first line reflect the header title in settings menu (So gloryromaddons will be seen as “GloryROM Addons” in the phone, see strings.xml that we edited and you will figure it out!!)
The 2nd line is for added program:
android:[email protected]/name of icon you put in drawable-xhdpi folder (here we put usbswitcher as the icon name inside drawable-xhdpi)
android:[email protected]/name of string put for added program in strings.xml (here we put usbswitcher_text as in strings.xml)
The 3rd line is the functionality and is the most difficult one:
android:targetPackage=package of wanted program inside its own AndroidManifest.xml (here it is “in.zatta.USB_switch”)
android:action=first action of wanted program inside its own AndroidManifest.xml (here it is “android.intent.action.MAIN”)
androidtargetClass= android:targetPackage.Activity (we have android:targetPackage from previous step but we need also .Activity how to get it??) This is the tricky one so do the following:
On your phone:
install the program you want to add (USB mode switcher) and ADW launcher from Google play and make ADW launcher as your phone launcher. Find a blank area on your homescreen(s), long press, then select custom shortcut --> pick your activity --> activities --> browse down until you find USB switcher app and expand with the arrow on the left of USB switcher, you will see several activities (some may have only one). The first one in the list is usually its opening class; it is in between the ( )'s. In this example it is .USB_switcherActivity
Go back to your PC:
So now androidtargetClass= android:targetPackage.Activity will be:
androidtargetClass= in.zatta.USB_switch.USB_switcherActivity
6) Now compile SecSettings and push it to your phone.
Additional step:
If you want to hide this app from applications drawer do the followings:
1) Decompile your desired app (here USB-Mode.apk)
2) Go to AndroidManifest.xml file and open it by NotePad++
3) Delete this line :
Code:
<category android:name="android.intent.category.LAUNCHER" />
4) Compile your app as non system apk and sign it then push it to your phone
Results example:
Thank you
Sent from my SCH-I605 using xda app-developers app
Deckoz2302 said:
Thank you
Sent from my SCH-I605 using xda app-developers app
Click to expand...
Click to collapse
welcome
Respect
THANKS
I'm capable of reading
Will you just read that worng
Hah again xD
---------- Post added at 07:14 AM ---------- Previous post was at 07:02 AM ----------
I'm capable of reading
Will you just read that worng
Hah again xD
https://www.google.co.il/url?sa=t&s...jUgdAK&usg=AFQjCNGCy72htN8FuEr7ZkQtLczjDNJfAw
Sent from my GT-I9300 using xda app-developers app

[PC] MIUI Theme Editor + All Files & Tutorials

{
"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"
}
Notes:
- This Software Is Originaly Made By Various Crew Of MIUI Resource Developers,And All Regards Are Going To Them. -
- All Files & Tutorials Are Collected From Various Internet Forums,So All Regards Are Going To Their Authors.Also They Could Be Used For Creating Themes For Any MIUI Rom For All Supported Devices -
- I'm Not Responsible For Any Eventual Errors And Misbehaving Of Your Devices. -
REQUIREMENTS
Click to expand...
Click to collapse
Java JDK 1.6. or newer - (Included)
Windows/Mac/Linux
Notepad++
Winrar, 7zip or similar
Understanding of apk tool/manager - Decompiling and Compiling apks for images/pngs/xml codes
Understanding of 9-Patch (.9. png) Image
Image Editing Software e.g. GIMP, Photoshop
Working ADB Drivers on your PC
Android Phone with MIUI on it.
NinePatchEditor (Optional) - (Included)
MIUI Theme Editor
TUTORIAL
Click to expand...
Click to collapse
Setting up English Language.
Download the Theme Editor and Run it.
first time it may have the interface in chinese. So here is how to change it :
Creating an New theme
Go to Fle > New Theme
and you will see the window below. In put the name of your theme and save it.
Then you will see the following window. ( Description in screen shot )
Buttons
All the buttons are self explanatory but i will add some description where needed
Save : This is to save the changes made to the projects.
Generate full MTZ : This is used to compress and make the mtz file of the theme project to be used in phone
Apply Recent Changes : For this and next option to work your phone must be connected to PC. this option apply the recent theme changes to your connected phone (Useful when testing a smal change).
Full apply: This option apply the Full theme to your Phone.
Reload: This option will discard unsaved changes and will load the theme from theme directory (added PNG's Will stay there, will be explained later)
Setting: Have only option to copress the font if you want.(Have'nt used it).
Different Tabs and their Functions
Now Some information about diffrent Tabs and options on them.
Description Tab: Already explained in screen shot shown above.
Icons Tab: This tab is used to add icons to theme.When you click on the icon tab it have three further tabs, System icons, Default theme icons and Others. Before you proceed further Click on Sync button at the bottom of the icons. (Your phone must be connected in debug mode to the PC) This sync option will get all default icons from your phone including 3rd party apps. Now to change any Icons check below.
on the default theme icons tab there are some default 3rd party icons avialable in theme editor and others tab have the icons repalcement option for apps installed in your phone. procedure is same for all three tabs
Note. you dont need to rename your icon, Progran will do it for you! just drop it to the proper place.
Thats it if you just want to creat new icon pack. Just click on create full MTZ button and copy the mtz file to your phone and import it to theme manager or just click complete apply to your theme. But if you want to theme your Apps and change text colors then read on
3. Modules tab: This tab is the most important tab for themeing MIUI.
Creating New App Module
Here is how to create the App's theme module.
As an example I have selected the Contacts module (only one module at a time). you will see screen shown below , if different then click "change edit mode" button.
Now click on the first item in the folder view and follow the screen shot. again names of your png's does not matter. you have to go through all the view and find the red boxes, click on it and replace the png's you want to change. If you want to keep the system default png just leave it blank.
For modifying PNG's you can use the V4_templete (link at top) png's as a refrence. you can edit them to your requirements and then use them.
Changing the text Color
To change the text colors of the module items, click on the "change edit mode" button while contacts module is stille open. see bellow.
Important
Do the same procedure for all the Modules and modify PNG's and color's in it. Framework-miui-res and Framework-res are most important modules. Changes in Framework-miui-res effects all the MIUI applications, especially colors and Changes in Framework-res module can effect both MIUI apps and any other 3rd party app so be careful !!!! you might get white on white color problem.
Testing
Now its time to test your theme before release/share. You should test all the MIUI apps for proper theming as well as 3rd party apps for color problems. If you find any problem then just reopen or drag drop you theme directory on Theme Editor to reopen /edit your theme.
Editing *.9.png files
First you should understand what are 9-patch or *.9.png files
This is a good description on android developer
Editing is not so difficult as we dont have to compile the 9.png's for MIIUI theme editor. It it required for AOSP android themeing but MIUI Theme editor do it automatically.
So here are the steps
Take any old 9.png file and open it in any Image editor mensioned in the first post
First thing you will notice, is a black line at the right and bottom of the image. and a dot or small line at the top and left side of the image. you need to remove these lines. actualy you should crop out these one pixel lines from the image.
Or you can just create a new image.
Modify the png file the way you want and save to your computer.
Now open that image into Draw-9-Patch tool or NinePatchTool( I recomend later because its too tedious to draw borders in Draw-9-Patch )
Open the modified file the patch editor.
Draw the content and strech borders, (if you dont under stand it then just made the borders like in origional png)
save it and Use it in theme editor
Creating Dynamic ICONs for MIUI V5 Themes
Creating MIUI V5 Dynmic ICON is very easy and it Follows the Lock screen Variables syntax. you need to put your manifest.xml and ICONs in following folder, for example in case of calender
Icons
| __ fancy_icons
|__ com.android.calendar
manifest.xml follow the same syntax as the lock screen manifest.xml. so its easy. for example for callender you need to put following code in the manifest.xml.
<?xml version="1.0" encoding="utf-8"?>
<!-- calendar -->
<Icon version="1" frameRate="0" width="136" height="136" screenWidth="720" useVariableUpdater="DateTime.Hour">
<Group pivotX="68" pivotY="68">
<Image x="68" y="68" align="center" alignV="center" src="calendar_icon.png" srcid="#date" />
</Group>
</Icon>
I am included some examples for Deskclock and Notes dynamic ICONS. The Deskclock ICON will show the Analog time on the icon and Notes Icon will shou the text from your Notes. Amaizing .You just need to put the folder in icons folder of your theme following the above said folder format and just compress it and apply.
A little about useVariableUpdater
This system variable let you control that how often your varilable (Icons in our case) shoud change. for example in case of caleder it is enough to update once a day. but for deskclock icon it should be updated every second.
Supported values are : Battery, DateTime.Day, DateTime.Hour, DateTime.Minute, DateTime.Second
less often is the better to save resources. If your Icon doesn't depend on time or battry put useVariableUpdater = "none".
MIUI V5 Theme Filter Feature
It been a big problem for theme maker when some of unwanted contents and text color get themed and give you problem. NOT ANY MORE. now you can put a filter in framework-miui and put the packege name you want to theme. other packages will remain safe. So no side effects. for example
put the follwing code in filters.xml file and put the file in framework-miui-res folder of your theme.Themes are getting better and better for MIUI V5.
More detail
You need filter to only allow certain apps to use themes resources from "framework-miui-res" Module and avoid all other application to use ur themed resources from "framework-miui-res" module, it has nothing to do with package's independent folder files .
To do that you create a filter file as shown below and put it in "framework-miui-res" module folder and then make another folder with any name you want for example "myframework"
Dont put any other file out side that (myframework) folder except the filters.xml file and then put all the themed files of "framework-miui-res" into "myframework" folder (the res folder and theme_values.xml). Now include the "myframework" name in the filers.xml path line as shown below.
<filter path="myframework">
and the whole filters.xml file may look like this depending on packages you choose.
<?xml version="1.0" encoding="utf-8"?>
<MIUI_Theme_Filters>
<filter path="myframework">
<package>com.android.contacts</package>
<package>com.android.providers.contacts</package>
<package>com.android.deskclock</package>
<package>com.android.fileexplorer</package>
<package>com.android.mms</package>
<package>com.android.packageinstaller</package>
<package>com.android.providers.downloads.ui</package>
<package>com.android.providers.media</package>
<package>com.android.settings</package>
<package>com.android.systemui</package>
<package>com.android.thememanager</package>
<package>com.android.updater</package>
<package>com.miui.antispam</package>
<package>com.miui.home</package>
<package>com.wali.miui.networkassistant</package>
<package>com.android.phone</package>
</filter>
</MIUI_Theme_Filters>
and your "framework-miui-res" folder diretory structure may look like this
mytheme
|
|--com.android.contacts
|
~
~
|--framework-miui-res
|
|--filters.xml
|
|--myframework
|
|--theme_values.xml
|
|--res
|
|--drawable-xhdpi
|
|--drawable-hdpi
Now because of path varible in filters.xml only the packages included in the filters will have access to resources inside myframework folder.
Please Note that for packages folder itself work like before, you dont need to move them into "framework-miui-res" folder. You just need to add the package name in the filter list of filters.xml. and you can still theme any package which is not included in the filter list, But important thing is it will not be able to access the files inside the myframework and will use stock files instead if needed any.
DOWNLOAD
Click to expand...
Click to collapse
DOWNLOAD MIUI THEME EDITOR
ENJOY !!!​
Not supported x86 device...please fix!
Install .net Framework v4 And MSXML Parser On Your PC.
Hi, thanks for this. The download's no longer available on depositfiles and PutLocker.
Download Link Fixed
i donno how can i make a miui theme but thx to share this
Can you tell how to remove the square icon backgrounds from 3rd party icons?
For example:
im32.gulfup.com/Hjhq1.jpg
xiaomi.eu/community/threads/req-miui-icons-without-background-colors.19299/
Thanks for the resources links. I will try to start from today.
Wish me luck.
is this willl work for miui 8
Will this work with miui 9?

3Minit quicklaunch panel

{
"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"
}
The quicklauncher panel:
It is simply a scrollable panel of app shortcuts that you instantly launch from your drop down panel. You can launch apps from inside other app without the need to exit to home screen first. You can also edit and order the shortcuts to suit your needs.
The idea:
When I started writing this mod I wanted to make it as easy to implement as possible which means no smali changes. I also wanted to make it universal for most android devices so thats what you get.
Implementation Guide:
This guide assumes you can already decompile and recompile an .apk correctly. If you cannot do this please don`t ask me how there are already lots of guides on how to do this here at XDA.
prerequisites:
A deodexed SystemUI.apk with a api level of 16 or higher
Knowledge of decompiling and recompiling the .apk.
These files: Download. MD5:fc5e7cd2c6192461e9ebca6661c70a49
Decompile the SystemUI.apk and navigate to smali/com/android/systemui/statusbar/policy
Copy the quicklaunch folder from the downloaded files and paste it into the above location
Navigate to res/layout and open status_bar_expanded.xml look for this line:
Code:
<LinearLayout android:orientation="vertical" android:id="@id/scrollCart" android:layout_width="fill_parent" android:layout_height="wrap_content">
(Note this is based on TW stock files you may have to mess with the location in your file to find correct placemant)
Directly below that line add:
Code:
<HorizontalScrollView android:scrollbars="none" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.android.systemui.statusbar.policy.quicklaunch.QuickLaunchContainer android:gravity="center" android:layout_width="wrap_content" android:layout_height="fill_parent" />
</HorizontalScrollView>
Recompile and push to your device its done
Sharing policy:
You are free to bake this into your roms provided:
Proper credit and a link is given not just a mention in a random thread that will be lost in hours.
You use the mod as a whole and not take peices of my code and use elsewhere.
You leave the copyright information as it is.
You dont add you own settings to control the panel eliminating the need for donate app.
How to use:
To add a shortcut simply scroll all the way to the right and press the + symbol this will bring up a list of currently installed app to choose from click one to apply.
To change or remove a shortcut long press the icon and a menu will appear select the desired option by clicking it.
You can also get further functionality by getting the quicklauncher app from the Playstore for just $1. In this you can set colors, visibility of the panel and text etc and more.(Note I have just uploaded it so it may take a few hours to show.) This will support me and the development thanks.
Current 3Minit users will of course get this include in the current app for no charge.
XDA:DevDB Information
3Minit quicklaunch panel, a Tool/Utility for the Samsung Galaxy S 4
Contributors
gharrington, http://forum.xda-developers.com/member.php?u=4619873
Version Information
Status: Stable
Current Stable Version: 1.0
Stable Release Date: 2014-02-16
Created 2014-02-16
Last Updated 2014-02-16
Waiting for 3minit user get this wonderful mods......hope Gary release the updated app soonest......cant wait ....yeahh...
Sent from my GT-I9500 using XDA Premium 4 mobile app
gharrington said:
The quicklauncher panel:
It is simply a scrollable panel of app shortcuts that you instantly launch from your drop down panel. You can launch apps from inside other app without the need to exit to home screen first. You can also edit and order the shortcuts to suit your needs.
The idea:
When I started writing this mod I wanted to make it as easy to implement as possible which means no smali changes. I also wanted to make it universal for most android devices so thats what you get.
Implementation Guide:
This guide assumes you can already decompile and recompile an .apk correctly. If you cannot do this please don`t ask me how there are already lots of guides on how to do this here at XDA.
prerequisites:
A deodexed SystemUI.apk with a api level of 16 or higher
Knowledge of decompiling and recompiling the .apk.
These files: Download. MD5:fc5e7cd2c6192461e9ebca6661c70a49
Decompile the SystemUI.apk and navigate to smali/com/android/systemui/statusbar/policy
Copy the quicklaunch folder from the downloaded files and paste it into the above location
Navigate to res/layout and open status_bar_expanded.xml look for this line:
Code:
<LinearLayout android:orientation="vertical" android:id="@id/scrollCart" android:layout_width="fill_parent" android:layout_height="wrap_content">
(Note this is based on TW stock files you may have to mess with the location in your file to find correct placemant)
Directly below that line add:
Code:
<HorizontalScrollView android:scrollbars="none" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.android.systemui.statusbar.policy.quicklaunch.QuickLaunchContainer android:gravity="center" android:layout_width="wrap_content" android:layout_height="fill_parent" />
</HorizontalScrollView>
Recompile and push to your device its done
Sharing policy:
You are free to bake this into your roms provided:
Proper credit and a link is given not just a mention in a random thread that will be lost in hours.
You use the mod as a whole and not take peices of my code and use elsewhere.
You leave the copyright information as it is.
You dont add you own settings to control the panel eliminating the need for donate app.
How to use:
To add a shortcut simply scroll all the way to the right and press the + symbol this will bring up a list of currently installed app to choose from click one to apply.
To change or remove a shortcut long press the icon and a menu will appear select the desired option by clicking it.
You can also get further functionality by getting the quicklauncher app from the Playstore for just $1. In this you can set colors, visibility of the panel and text etc and more.(Note I have just uploaded it so it may take a few hours to show.) This will support me and the development thanks.
Current 3Minit users will of course get this include in the current app for no charge.
XDA:DevDB Information
3Minit quicklaunch panel, a Tool/Utility for the Samsung Galaxy S 4
Contributors
gharrington, http://forum.xda-developers.com/member.php?u=4619873
Version Information
Status: Stable
Current Stable Version: 1.0
Stable Release Date: 2014-02-16
Created 2014-02-16
Last Updated 2014-02-16
Click to expand...
Click to collapse
Hi @gharrington
great job, I have a little problem, when I restart all links go away
How can I fix?
zioriky said:
Hi @gharrington
great job, I have a little problem, when I restart all links go away
How can I fix?
Click to expand...
Click to collapse
Rule of thumb. Don't quote the OP post.

Categories

Resources