Multiple icons for 1 app in an Icon Pack - Android Q&A, Help & Troubleshooting

I'm not sure how to put this to words in any understandable way so I'll give my latest attempt on a line of my appfilter.xml:
Code:
<item drawable="{'banking1', 'banking2', 'banking3', 'banking4'}" component="ComponentInfo{com.bank.name.and.stuff/banky.bank}" />
Is it possible to get 1 component using multiple drawables? for the banking app I want to include a coloured, grey, black, and white version of the icon in the Icon Pack but I'm super duper new to any of this and can't find it in any tutorial or wiki so I hope somebody here has an idea.

Related

[Q][ICS] Color statusbar clock

Can i change color my clock in statusbar on my LWW ? I have CyanogenTimeScape
streetu said:
Can i change color my clock in statusbar on my LWW ? I have CyanogenTimeScape
Click to expand...
Click to collapse
Yes and quite easily too. I'll explain how later when I get a chance but I will say now that you'll need to decompile your SystemUI.apk
Ticklefish said:
Yes and quite easily too. I'll explain how later when I get a chance but I will say now that you'll need to decompile your SystemUI.apk
Click to expand...
Click to collapse
why not add tha tutorial to yur thread?
I now it's systemui.apk but i don't know which files in this apk is responsible for this. Who's know it ?
Decompile systemui.apk with apktool 1.4.3.. I use xDA AutoTool
Open res/values/styles.xml
u will find this and change last line to @android:color/holo_blue_light as below
Code:
<style name="TextAppearance.StatusBar.Clock" parent="@android:style/TextAppearance.StatusBar.Icon">
<item name="android:textSize">16.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">[B]@android:color/holo_blue_light[/B] </item>
</style>
do same for Date
Code:
<style name="TextAppearance.StatusBar.Date" parent="@android:style/TextAppearance.StatusBar.Icon">
<item name="android:textSize">16.0sp</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">@android:color/holo_blue_light</item>
</style>
have fun...:fingers-crossed:
I thanks for help but i didn't have values
I have only:
-anim
-some drawable
-some layout
-menu
-raw
jjdoctor said:
Decompile systemui.apk with apktool 1.4.3.. I use xDA AutoTool
Open res/values/styles.xml
u will find this and change last line to @android:color/holo_blue_light as below
Code:
<style name="TextAppearance.StatusBar.Clock" parent="@android:style/TextAppearance.StatusBar.Icon">
<item name="android:textSize">16.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">[B]@android:color/holo_blue_light[/B] </item>
</style>
do same for Date
Code:
<style name="TextAppearance.StatusBar.Date" parent="@android:style/TextAppearance.StatusBar.Icon">
<item name="android:textSize">16.0sp</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">@android:color/holo_blue_light</item>
</style>
have fun...:fingers-crossed:
Click to expand...
Click to collapse
If you just want to change the clock colour, you could make a new style specifically for it.
streetu said:
I thanks for help but i didn't have values
I have only:
-anim
-some drawable
-some layout
-menu
-raw
Click to expand...
Click to collapse
Yes, you do. Your app won't work without it. Did it fully decompile?
Ticklefish said:
If you just want to change the clock colour, you could make a new style specifically for it.
Click to expand...
Click to collapse
tha above code wont work??
Will change color as the status bar? I would like to help me,
I'm using CM9, thanks.
Now color is black
Okay, I'm finally in a position to answer this properly.
First, you need to decompile SystemUI.apk. The best tool I can recommend for this is Tickle My Android. Partially because I made it, but also because I know it works for our devices. I'm always messing around with my SystemUI.apk and I never have any issues.
Next, edit res\layout\status_bar.xml
This is the code that describes how your status bar is put together and in there will a line of code similar to:
Code:
<com.android.systemui.statusbar.policy.Clock android:id="@id/clock" android:paddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="left|center" android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:singleLine="true" />
Exactly what you'll have, I don't know, but there'll be mention of the clock somewhere.
Now you just need to add one extra parameter, 'android:textColor':
Code:
<com.android.systemui.statusbar.policy.Clock android:id="@id/clock" android:paddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="left|center" android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:singleLine="true" android:textColor="#ff33b5e5"/>
Here, the 'ff33b5e5' is an ARGB code for a particular colour and transparency. Work out what the code for the colour you want is and change the line to fit.
Now, recompile the apk, get the compression and signing right and put it back on your phone.
Simple.
I have mentioned making a new style to do this. This is possible and will help if you're changing the colour of a lot of strings of text, but it's not needed just to this one thing.
---------- Post added at 09:52 AM ---------- Previous post was at 09:49 AM ----------
whalesplaho said:
tha above code wont work??
Click to expand...
Click to collapse
Oh, it will. But it will change the colour of everything that uses that style. Nothing wrong with that at all..if that's what you want to do.
---------- Post added at 09:52 AM ---------- Previous post was at 09:52 AM ----------
cholopo said:
Will change color as the status bar? I would like to help me,
I'm using CM9, thanks.
Now color is black
Click to expand...
Click to collapse
Do you want the clock the same colour as the status bar?
In which program you do it ? Because i have it:
streetu said:
In which program you do it ? Because i have it:
Click to expand...
Click to collapse
I just use Notepad. Sometimes Notepad++ if I'm working on xml that's very busy.
Did you decompile the apk?
I do all but color is same like before :/
streetu said:
I do all but color is same like before :/
Click to expand...
Click to collapse
Hmm..what colour did you try to change it to?
Are you using a theme at all?
From cyan to violet
streetu said:
From cyan to violet
Click to expand...
Click to collapse
Simple enough, I did the same sort of thing to my tablet (although I got my colour code wrong and made it pink instead..lol)
Can you share your status_bar.xml and I'll see what's gone wrong?
This is my status_bar.xml
streetu said:
This is my status_bar.xml
Click to expand...
Click to collapse
I think I know what the problem is. You've got your clock colour as a RGB code but it needs to be ARPG. If you're not too worried about having transparency, try putting 'ff' in front of the colour code.
ARGB color picker?
Ticklefish said:
Here, the 'ff33b5e5' is an ARGB code for a particular colour and transparency. Work out what the code for the colour you want is and change the line to fit.
[QUOTE/]
is this a hex color code..? i could really use some help finding a way to get color values. In the process of re-themeing my entire z902 systemUI..
Click to expand...
Click to collapse

THEMES (Updated) (xu, xsola) #3D theme + jellywhite

FOR THE PEOPLE HOW LOVE CUSTOMIZATION I AM PRESENTING MY 2 THEMES
1) 3D THEME(real 3d effects)
2) JELLYWHITE(nearly white background in apps like settings and phone)
...........3D THEME................................
3D 3D 3D 3D
A new generation of themes is just began for android Xperias
You have 3d glasses?
If your answer is yes, there is good news for you
I have created a 3d theme
Just put on the glasses and enjoy
Download the attachments
3dtheme and the wallpaper
Requirements: 3d glasses
CAUTION: IT may take 3 to 4 seconds to your eyes to see 3d images with glasses
There may be pain in your eyes after testing
Note : 3d theme is only a test release not final one but you must try it out
.....................JELLYWHITE..................
Many people wants a white background in apps like settings and phone
So I decided to make this
However it is not complete white but grey due to the white font present in these apps but it looks really cool
This theme is best combined with white theme of Xperia keyboard
..............................................................
REQUIREMENTS
A rooted device(obviously a Xperia)
Root explorer(or a similar app)
The attachment
A working brain
PHONES TESTED
Xperia u
Xperia sola
May work on s,p,go and other firmware versions
But try on your risk
METHOD TO INSTALL
Push in system/vendor/overlay/framework/
and fix permissions
reboot
For jellywhite select silk theme in theme manager
For 3d theme select turquoise in theme manager and apply the attached wallpaper
please comment here and provide feedback for future development
Any screenshot or something ?
Hello any screenshot?
Re: Theme (xu)(b.10) jellywhite
Here are screen shots
This should be noted that this is my first thread and first post
droidzeus said:
Here are screen shots
This should be noted that this is my first thread
Click to expand...
Click to collapse
ok :good:
but its not white but grey
screen shot please??
Re: Theme (xu)(b.10) jellywhite
I cannot make this complete white because of the white font
U guys know any method to turn these font to black
patokaz said:
screen shot please??
Click to expand...
Click to collapse
its already added over here, look better:silly:
Re: Theme (xu)(b.10) jellywhite
So anyone tried it
from where its white
on topic its look cool anyway, good work I will try it.
Re: Theme (xu)(b.10) jellywhite
Dude I already posted that it cannot be made completely white due to white fonts but yay it looks way cooler than those stock theme
I've tried, and it's nice
here's a bigger screenshot
I hate to be rude, but it's not white all. It's grey mostly.
Re: Theme (xu)(b.10) jellywhite
If you develop a way to change font color to black I will surely provide a complete white theme
Customizing a theme to white is not hard. The point is to make the font black. It requires heavy modifications of framework images and programing too.
Hope some dev can do that.
Re: Theme (xu)(b.10) jellywhite
Very true but for now try this cool theme
This is something we need.
Re: Theme (xu)(b.10) jellywhite
Where you get these
Pls provide link
Re
Link please.
This should Help
res\values\colors.xml
res\values\styles.xml
this is what i found
First off is the text on buttons.
Do a ctrl+f to bring up the find button.
Type widget.button and click find next. (hit find next 6 times)
You should now be at this portion of the .xml
Code:
<style name="Widget.Button" parent="@style/Widget">
<item name="textAppearance">?textAppearanceSmallInverse</item>
<item name="textColor">@color/primary_text_light</item>
<item name="gravity">center</item>
<item name="background">@drawable/btn_default</item>
<item name="focusable">true</item>
<item name="clickable">true</item>
</style>
Where it says primary_text_light (black) change to primary_text_dark (white).
Also you could delete the whole @color/primary_text_light and just put #ffff00ae as an example for the color code you desire.
If that is all you need save and look down for the completing instructions.
Next is the menu text (when you hit he soft key for menu)
Do ctrl + f and put in TextAppearance.Widget.IconMenu.Item and click find next.
You should now be at this area
Code:
<style name="TextAppearance.Widget.IconMenu.Item" parent="@style/TextAppearance.Small">
<item name="textColor">?textColorPrimary</item>
</style>
Change textColorPrimaryInverse (black) to textColorPrimary (white and then black when pressed)
Also you could delete the whole ?textColorPrimary and just put #ffff00ae as an example for the color code you desire.
If that is all you need save and look down for the completing instructions.
Keyboard text (the actually text on the soft keyboard keys)
Do ctrl + f and put in Widget.KeyboardView and click find next twice
You should now be at this section
Code:
<style name="Widget.KeyboardView" parent="@style/Widget">
<item name="background">@drawable/keyboard_background</item>
<item name="shadowColor">#bb000000</item>
<item name="shadowRadius">2.75</item>
<item name="keyBackground">@drawable/btn_keyboard_key</item>
<item name="keyTextSize">22.0sp</item>
<item name="labelTextSize">14.0sp</item>
<item name="keyTextColor">#ffffffff</item>
<item name="keyPreviewLayout">@layout/keyboard_key_preview</item>
<item name="keyPreviewOffset">-12.0dip</item>
<item name="keyPreviewHeight">80.0dip</item>
<item name="verticalCorrection">-10.0dip</item>
<item name="popupLayout">@layout/keyboard_popup_keyboard</item>
</style>
Pretty simple, where it says keyTextColor, change that to whatever you want.
If you want to change the key text on the pop up or preview, that is located in /res/layout/keyboard_key_preview.
If that is all you need save and look down for the completing instructions.
Text highlight color
Do crtl + f and put (style name="TextAppearance") in the find box and click find next.
You should now be at this section.
Code:
<style name="TextAppearance">
<item name="textSize">16.0sp</item>
<item name="textStyle">normal</item>
<item name="textColor">?textColorPrimary</item>
<item name="textColorHighlight">#ffc0c0c0</item>
<item name="textColorHint">?textColorHint</item>
<item name="textColorLink">#ff5c5cff</item>
</style>
Just change the textColorHighlight to whatever color you desire.
If that is all you need save and look down for the completing instructions.
Edit Text (what shows when you type in any textfield like talk, facebook, twitter, and such)
Do crtl+F for Widget.EditText and hit find next twice.
You should now be at this area.
Code:
<style name="Widget.EditText" parent="@style/Widget">
<item name="textAppearance">?textAppearanceMediumInverse</item>
<item name="textColor">@color/primary_text_light</item>
<item name="gravity">center_vertical</item>
<item name="background">@drawable/edit_text</item>
<item name="focusable">true</item>
<item name="focusableInTouchMode">true</item>
<item name="clickable">true</item>
</style>
Where is says primary_text_light, you can change it to primary_text_dark for white text. Otherwise just do this "textColor">#ffff0000< that code is for red. Just replace with what color you want.
If you are done save and continue to finishing instructions
Lockscreen Text
This is located in the /res/layout folder as keyguard_screen_tab_unlock.xml and keyguard_screen_tab_unlock_land.xml.
To help out I have added a color values string to the text areas (they don't have them by default)
Grab the Lockscreen Text xmls.zip found at the bottom. Unzip
Open these files in a Hex editor like HxD.
Do a hex-string search of 08 00 00 1c. The first one is for a background color skip it.
The next eight are for the text on the screen. By default I have them set at FF FF FF FF for white.
Just remember in hex editing the color values are backwards. Save the files and add to your framework-res.apk.
I will add more later. Just wanted to get these out right now.
Statusbar for Music.apk
Change the .zip to .xml.
Open with hex editor like HxD.
Do a search for 08 00 00 1c, there will be two in this file.
Right now the default is for white FF FF FF FF. change to desired hex color and save.
Then place in /res/layout folder of Music.apk and push to phone.
Click to expand...
Click to collapse

How to change the statusbar background?

Hi there.
I for one am not a fan of the solid black statusbar of recent androids. It ruins the very nice Sony look, if you ask me.
How would I go about replacing it with a nice gradient one like the Gingerbread days? Is it really that hard or is everyone fine with the solid black one?
Thanks,
You can use ninjamorph and some icons you'd like to use as a backgroud.
Sent from my LT18i using xda app-developers app
I know it's possible to mod system files with ninjamorph but I was really hoping for a more specific answer.
for an easy way to do it, you can try UOT Kitchen.
or if you want to add your own-made background, you can decompile systemui.apk.
Edit: deleted
Aren't you pointing out the notification menu background? I guess its a little bit confusing what i mean but I'm talking about the top bar background, where the clock, batter icon, etc are located.
I know, sorry I realized after I posted the pic. Can't seem to delete.
You will find the drawables in there though, but if your after transparent, I count t get it to work nice. Ghost notification icons.
Sent from my metalliArc S
You need to edit your drawables.xml in the values folder after decompiling, then add an image to drawable-hdpi and point to it from the xml...
Code:
<item type="drawable" name="status_bar_background">@drawable/status_bar_background_custom</item>
...or simply point to an existing image.
Ahh! That's why it ignorered my statusbar images. Thanks man, great help !

[Q] Keyboard Help

Hello i am trying to change the smily button on my keyboard, so it will display emojis and looks like this:
http://i.stack.imgur.com/prR5A.png
so far you can see the google emojis but they are in back and white, but i want them to display the images in color
This is the code im using:
<Key semc:iconId="@drawable/emoji_u1f60a">
<Candidate semc:candidate="" />
But I need to find a way to make the emoji icon display any suggestions?

[Q] Edit StatusBar different for HomeScreen & InApp

I started playing with the SystemUI.apk, first because with the last official ROM of my JiayuG4A the status bar became trasparent (and i hated that thing) then because now i want to try a couple of things to edit further my smartphone (JB 4.2.2)
Here's the question:
I would like to create two different BackGround for my StatusBar, on HomeScreen view, and on InApp view:
Like, when I'm working on the desktop, on the drawer (maybe) etc, there should be a particular background
while, when I'm with an App opened (the browser, the messages, whatever) there should be another background.
Looking on the internet and inside SystemUI/res/Layout i thought this:
Gemini_Super_Status_Bar.xml & Super_Status_Bar.xml are used to define the StatusBar for the HomeScreen view
Gemini_Status_Bar.xml & Status_Bar.xml are used to define the StatusBar for the InApp view
So i made this changes:
SystemUI/res/drawable/ gradient_sb.xml​
Code:
<?xml version="1.0" encoding="utf-8"?>
<shape android:shape="rectangle"
xmlns:android="there's a link here, i can't post it XD">
<gradient
android:startColor="#ff000000"
android:endColor="#44000000"
android:angle="270.0"
android:centerColor="#bb000000" />
</shape>
SystemUI/res/layout/ gemini_super_status_bar.xml & super_status_bar.xml​
Code:
android:background="@drawable/gradient_sb"
SystemUI/res/layout/ gemini_status_bar.xml & status_bar.xml​
Code:
android:background="#ff000000"
I checked the apk a couple of times before putting it inside the system/app folder of my device. So i'm sure that these changes have been made.
But now the StatusBar appears to be always black and without gradient.
Is there something i missed, something i need to do to make this changes work?
Help please!!

Categories

Resources