[Q] Is it possible for the ChromeColor to be transparent? - Windows Phone 7 Development and Hacking

While messing around with the colors and themes in the registry I wondered if it would be possible to make the ChromeColor value transparent. This value applies to the background of the keyboard, as well as the "drawer" type thing (were all the buttons are kept in apps). I think it would be interesting to see and could help free up some screen space (visually, not necessarily functionally). However, I'm a little timid in changing the value myself. I'm not good at anything related to coding really (only small time practice) so I don't know if its possible to change the value to simply "transparent" and have it take effect. The values seem strange because they're FFCCCCCC, while online they typically seem to be FFCCCC so I'm assuming it's CSS values (is there a numerical value for transparent?). I'm worried that if the value is changed to a non numerical value that something will go wrong.
Has anybody tried this? If you know if this works/try it out please let me know as I think it could be really cool for the ChromeColor to be transparent.

Sure, this is possible. The first to digits are the transpareny values. In Hexadezimal-Code F is the highest number. So FF is fully untransparent. Fully transparent is 00 in front of the colour value. 0,1,2,3,4,5,6,7,8,9,A,B,C,D,F this is the order and with that you can change the percentage of transparency.
For example the code #00000000 is fully transparent and black.

JoniJi said:
Sure, this is possible. The first to digits are the transpareny values. In Hexadezimal-Code F is the highest number. So FF is fully untransparent. Fully transparent is 00 in front of the colour value. 0,1,2,3,4,5,6,7,8,9,A,B,C,D,F this is the order and with that you can change the percentage of transparency.
For example the code #00000000 is fully transparent and black.
Click to expand...
Click to collapse
Doesn't fully transparent mean there is no color?

JoniJi said:
Sure, this is possible. The first to digits are the transpareny values. In Hexadezimal-Code F is the highest number. So FF is fully untransparent. Fully transparent is 00 in front of the colour value. 0,1,2,3,4,5,6,7,8,9,A,B,C,D,F this is the order and with that you can change the percentage of transparency.
For example the code #00000000 is fully transparent and black.
Click to expand...
Click to collapse
Alright, thanks for that info. #00000000 turned out to be white (I think), but #00FFFFFF is truly transparent. It's kinda neat, only problem I've identified is that it doesn't take effect in all apps. In the messaging app when I bring up the keyboard its transparent for a second, and then goes to solid black. Not quite sure why thats happening if its supposed to be reading the same registry value. Also, some of the drop down menus (when an app has an error/something at the top of the screen like the music) don't have the backing so the text is unreadable. I think it's best to just stick with solid black.

Is there an app for this? I'd like to know how to do it.
Sent from my SGH-i917R using Board Express

kr3w1337 said:
Is there an app for this? I'd like to know how to do it.
Sent from my SGH-i917R using Board Express
Click to expand...
Click to collapse
Currently the only way to change theme colors (outside of tile colors) is modifying registry values. I'm using the registry editor from here: http://forum.touchxperience.com/viewtopic.php?f=20&t=593 (just look in the attachments box for the newest version).
Once you have the app open you need to go HKEY_LOCAL_MACHINE -> ControlPanel ->Themes. The "0" folder is for the light theme and the "1" folder is for the dark theme.
I'd recommend checking out this thread if your curious about changing some things in the registry: http://forum.xda-developers.com/showthread.php?t=907971

Related

I can help with a transparent button?

Good afternoon ,
I am doing a college project and not make vb.net 2008 logo for mobile devices , the button is transparent
I could put the image transparent by changing the color pink . png
and everything looks good ,
the question is how I can put it after like a button ?
Thanks in advance .
this is the code I have the picturebox2 is the one with the pink color is . png
Dim g As Graphics
g = Graphics.FromImage(PictureBox1.Image)
Dim Picture As Bitmap
Picture = New Bitmap(PictureBox2.Image)
Dim imgatr As New Drawing.Imaging.ImageAttributes()
Dim colorx As Color = Color.FromArgb(255, 0, 255) 'Transparent color
imgatr.SetColorKey(colorx, colorx)
Me.PictureBox2.Visible = False
Dim Rectangle = New Drawing.Rectangle(70, 90, Picture.Width, Picture.Height) 'destination rectange
g.DrawImage(Picture, Rectangle, 0, 0, Picture.Width, Picture.Height, GraphicsUnit.Pixel, imgatr)
Hi,
What I understand is that you want to add a button with a transparent background to something which I suppose is a form or a User Control, is that correct?
There is no such thing like a transparent background button out of the box in .Net CF.
You can implement a custom control for this. A transparent background control needs to know how to paint whatever is behind it before drawing it owns content to provide the transparency effect. You can implement it but keep in mind that you might need to pass a bitmap with the background to the "transparent" control, or build a mechanism to discover it.
However, It's highly probable that in your use case you don't really need such a complexity. Can you please elaborate why do you need a transparent button? if the background is not dynamic, you can probably just create a bitmap that already include the background and that would be enough.
If you have any doubt just send me a private message. It can be in Spanish BTW.
If all you want is the graphics, some web sites will generate them for you.
One is http://cooltext.com/
You can choose from several different graphics and give your own button text. It will generate a PNG with a transparent backgroup, ready to be used.

[Q] Stock registry values

I was screwing around with different colors and now its not displaying a couple fonts correctly.
Is there a list of stock reg values floating around? I searched quite a bit and couldn't find one for wp7.
Specifically for HKLM\ControlPanel\Themes\1
Edit: Forgot to say its an HTC HD2/HD7
if it's an hd2, can't you just reflash it?
nrfitchett4 said:
if it's an hd2, can't you just reflash it?
Click to expand...
Click to collapse
Yeah I was hoping not to lose all my apps plus I have my activation code written down at work and I wont be able to get it till Monday. Right now it works fine w/ the white background, but the black background is having issues.
here are the ones I need...
Text Neutral Color:
Base Theme Color:
Text High Contrast:
Text20
Text30
Text60
Text75
Text80
KeyPadBackround
PageBackround
Chrome
Contrast
SysTrayBackround
CheckBox
CheckBoxDisabled
CheckBoxBackroundPressed
TRANS BACKROUND

Post your customized device!

I thought it would be interesting to see what people have done with their devices, now that we can do at least a little bit of customization within WP7. I've seen some pretty smooth looking phones in YouTube videos and around the internet. I'm sure no two customized phones are the same.
Whether it be registry changes, accent customization, theme changes, or whatever, let's see what you've done!
I have mine below, I switch between the grayer shade of blue and the darker red. I can't decide which I like more.
Here you go;
^^^Where did u get the battery percent app from?^^^
dapoharoun said:
^^^Where did u get the battery percent app from?^^^
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=13695919&postcount=1
Here some shots from my device:
Here is my trophy ...this week is orange
rmcgraw said:
I thought it would be interesting to see what people have done with their devices, now that we can do at least a little bit of customization within WP7. I've seen some pretty smooth looking phones in YouTube videos and around the internet. I'm sure no two customized phones are the same.
Whether it be registry changes, accent customization, theme changes, or whatever, let's see what you've done!
I have mine below, I switch between the grayer shade of blue and the darker red. I can't decide which I like more.
Click to expand...
Click to collapse
i like a lot your background. Good job
pth6 said:
i like a lot your background. Good job
Click to expand...
Click to collapse
Thanks, I just changed it up today. Not too sure if I like it or not.
Oh my! I need a whole day to read up. I've been missing a lot. How do you guys change your background colour. I have custom tile colours and i thought that was cool but you guys are changing tiles and backgrounds and everything.
If any one is wondering how to Adding Categorizes to WP7 Home Screen
any idea on how to change the background ?
Update
How to Change the background color on Windows Phone
rmcgraw said:
Thanks, I just changed it up today. Not too sure if I like it or not.
Click to expand...
Click to collapse
is there a way to add colors to the background where "dark" and "light" are just like one the other color accents we can do right now? instead of going in and changing the default ones alone?
would like to know, thanks
Changing the background color is easy. You just need a registry editor such as this and edit the registry key:
[HKLM\ControlPanel\themes\*\pageBackGroundColor]
* - 1 is dark theme, 0 is light theme
Enter a hex number after #FF, such as #FF40546e for a steel blue.
You may also want to edit these keys:
[HKLM\ControlPanel\themes\*\Basethemecolor]
[HKLM\ControlPanel\themes\*\TextHighContrast]
[HKLM\ControlPanel\themes\*\TextBackGround]
[HKLM\ControlPanel\themes\*\pageBackGroundColor]
[HKLM\ControlPanel\themes\*\SysTrayBackGroundColor]
[HKLM\ControlPanel\themes\*\TextNeutralColor]
[HKLM\ControlPanel\themes\*\ContrastColor]
Playing around with these should teach you what each changes. To see your changes, switch themes from dark to light and then back or vice versa.
For more information, see: http://forum.xda-developers.com/showthread.php?t=929017
Wow nice phones!
Sent from my Mozart using XDA Windows Phone 7 App
rmcgraw said:
Changing the background color is easy. You just need a registry editor such as this and edit the registry key:
[HKLM\ControlPanel\themes\*\pageBackGroundColor]
* - 1 is dark theme, 0 is light theme
Enter a hex number after #FF, such as #FF40546e for a steel blue.
You may also want to edit these keys:
[HKLM\ControlPanel\themes\*\Basethemecolor]
[HKLM\ControlPanel\themes\*\TextHighContrast]
[HKLM\ControlPanel\themes\*\TextBackGround]
[HKLM\ControlPanel\themes\*\pageBackGroundColor]
[HKLM\ControlPanel\themes\*\SysTrayBackGroundColor]
[HKLM\ControlPanel\themes\*\TextNeutralColor]
[HKLM\ControlPanel\themes\*\ContrastColor]
Playing around with these should teach you what each changes. To see your changes, switch themes from dark to light and then back or vice versa.
For more information, see: http://forum.xda-developers.com/showthread.php?t=929017
Click to expand...
Click to collapse
yeah thanks that is really helpfull but is there a way to add an extra menu color like when it says "light" and "dark" lets say create a string in the registry to add another drop down menu inside the theme to get one that one makes like lets say "orange" or whatever and change back to those other "light" and "dark" themes without editing them?
just add another one without touching the old ones?
i will try this though, just wanted to know if this was possible before i moved anything
tombrighteyes said:
yeah thanks that is really helpfull but is there a way to add an extra menu color like when it says "light" and "dark" lets say create a string in the registry to add another drop down menu inside the theme to get one that one makes like lets say "orange" or whatever and change back to those other "light" and "dark" themes without editing them?
just add another one without touching the old ones?
i will try this though, just wanted to know if this was possible before i moved anything
Click to expand...
Click to collapse
No you can not add new theme ....Just be aware that messing with registry in that level is danger ..Make a backup first
rmcgraw said:
Changing the background color is easy. You just need a registry editor such as this and edit the registry key:
[HKLM\ControlPanel\themes\*\pageBackGroundColor]
* - 1 is dark theme, 0 is light theme
Enter a hex number after #FF, such as #FF40546e for a steel blue.
You may also want to edit these keys:
[HKLM\ControlPanel\themes\*\Basethemecolor]
[HKLM\ControlPanel\themes\*\TextHighContrast]
[HKLM\ControlPanel\themes\*\TextBackGround]
[HKLM\ControlPanel\themes\*\pageBackGroundColor]
[HKLM\ControlPanel\themes\*\SysTrayBackGroundColor]
[HKLM\ControlPanel\themes\*\TextNeutralColor]
[HKLM\ControlPanel\themes\*\ContrastColor]
Playing around with these should teach you what each changes. To see your changes, switch themes from dark to light and then back or vice versa.
For more information, see: http://forum.xda-developers.com/showthread.php?t=929017
Click to expand...
Click to collapse
mmmm, I remember when windows folk made fun of linux folk for recompiling kernels...
Here's Mine
Lets see if anybody spots what I changed in me2(Menu2)
FPM
FlowerPotmen said:
Lets see if anybody spots what I changed in me2(Menu2)
FPM
Click to expand...
Click to collapse
How did you change the page switcher to the Windows logo? Also nice icon switch. EDIT: Is that a different battery icon as well?
BTW, my phone was featured on 1800pocketpc along with part of my tutorial on how to change your phones background color: http://www.1800pocketpc.com/2011/06...-background-theme-color-on-windows-phone.html
Just thought it was pretty cool
rmcgraw said:
How did you change the page switcher to the Windows logo? Also nice icon switch. EDIT: Is that a different battery icon as well?
BTW, my phone was featured on 1800pocketpc along with part of my tutorial on how to change your phones background color: http://www.1800pocketpc.com/2011/06...-background-theme-color-on-windows-phone.html
Just thought it was pretty cool
Click to expand...
Click to collapse
The page switcher and batt icon are standard in the Xboxmod Ver 1.11 rom
All icons have the glass effect fron here:http://forum.xda-developers.com/showthread.php?t=1055567
But in menu2 I have shortened the names down. (Media Volume Settings=Media Vol Settings) And both the messengers were from aterix and whats her name. I changed these to Hotmail and Yahoo.
FPM
Cant wait to get my hands on my own Windows Phone 7 ;-)

[Q] Turn up the brightness at the very top of the screen?

I can't make out the icons at the very top of my screen - e.g. messages, battery life, BT... (yes, I'm probably older than many of you)
I would either like to make that area large, turn up the brightness or ideally -
I'd like the number of new emails, text messages and voicemails to show up on the icons that are at the bottom of my screen like they did on my EVO3d and ET4G - not sure if that is a skin or mod or what but it was very helpful.
Any one of these solutions for this GN newbie would be most appreciated.
boe said:
I can't make out the icons at the very top of my screen - e.g. messages, battery life, BT... (yes, I'm probably older than many of you)
I would either like to make that area large, turn up the brightness or ideally -
I'd like the number of new emails, text messages and voicemails to show up on the icons that are at the bottom of my screen like they did on my EVO3d and ET4G - not sure if that is a skin or mod or what but it was very helpful.
Any one of these solutions for this GN newbie would be most appreciated.
Click to expand...
Click to collapse
Well then here's the perfect mod for you! Old Geezer
Thanks - that is very close to what I'm looking for - it concentrates on making the ones on the right more noticeable.
The problem is I need the ones on the left more noticeable. E.g. I have a battery status icon that shows me the percent of battery life remaining instead of the stock one that has bar.
It appears that items up there have a transparency thing going on - I'd like to turn that off so the images are brighter/crisper.
The items on the right are easy enough to read -e.g. how many bars I'm getting as they are a more noticeable blue.
So I guess what I'd really like is to remove the transparency if that is what is going on up there and to get my icons back on the main part of the screen that show the number of unread messages, missed calls, new email messages - not sure if that was an HTC and Samsung thing or a feature in the older version of Android but I miss it.
That stupid overlay/transparency pissed me off. But if you can decompile and do a simple xml edit and recompile it can be gone.
SystemUI.apk\res\values\dimens.xml (find line below)
<item type="dimen" name="status_bar_icon_drawing_alpha">100.0%</item>
the default setting is like 54.9999%. 100% = "0" overlay and bright icons now.
good day.
chopper the dog said:
That stupid overlay/transparency pissed me off. But if you can decompile and do a simple xml edit and recompile it can be gone.
SystemUI.apk\res\values\dimens.xml (find line below)
<item type="dimen" name="status_bar_icon_drawing_alpha">100.0%</item>
the default setting is like 54.9999%. 100% = "0" overlay and bright icons now.
good day.
Click to expand...
Click to collapse
Thanks.
Clearly your Jou Jou is much stronger than mine - could tell me exactly how to do this or would that be too complicated to explain?

[Q] Remove "%" from #BLEV# and #WCHUM#

I want to use the numerical values of #BLEV# (battery level) and #WCHUM# (weather, current humidity) in calculations. In the first case to change the dimension of a rectangle, in the second case to calculate the rotation of a pointer in an analog gauge.
Both values are supplied by ZW as percentiles, complete with the "%" character which renders them unusable in a calculation. I have tried using $(#BLEV#)$ and $(#WCHUM#)$ - which works to remove the units in #WCTEMP# and #WCPRESS# - but it won't work in these two cases.
Is there a solution?
TIA
Terry
gritpipethin said:
I want to use the numerical values of #BLEV# (battery level) and #WCHUM# (weather, current humidity) in calculations. In the first case to change the dimension of a rectangle, in the second case to calculate the rotation of a pointer in an analog gauge.
Both values are supplied by ZW as percentiles, complete with the "%" character which renders them unusable in a calculation. I have tried using $(#BLEV#)$ and $(#WCHUM#)$ - which works to remove the units in #WCTEMP# and #WCPRESS# - but it won't work in these two cases.
Is there a solution?
TIA
Terry
Click to expand...
Click to collapse
Try using #BLEVN# and #WCHUMN#. I know the batt Lev one works, so I'm assuming that just adding 'N' at the end of a variable will output the numerical value only.
Hope this helps.
Cheers.
Majik Mushroomz said:
Try using #BLEVN# and #WCHUMN#. I know the batt Lev one works, so I'm assuming that just adding 'N' at the end of a variable will output the numerical value only.
Hope this helps.
Cheers.
Click to expand...
Click to collapse
#BLEVN# works beautifully (and I should have found that myself), but #WCHUMN# is not, as they say, a happening thing.
Thanks.

Categories

Resources