[Q] Theme-aware icons - Windows Phone 7 Software Development

Hi guys.
Does anyone know how to create theme-aware png icons for applications? Like Microsoft built-in apps icons - the icon background color same as theme accent color...
I've tried a few things like an adding alpha-layer to png but have no success. Please post the instructions and example.
Thanks!

I found an answer to my question: it's not possible and not allowed by Microsoft :-(
Here are list of all possible templates, we can use only TemplateType5 (for file WMAppManifest.xml)
TemplateType1 - no image visible, accent colour tile, caption text, no count
This seems to be a default style for the internal apps, it uses the title attribute as well as an IconImageURI for a transparent png image on top of the accent colour tile
This template is also used for Emails and Text Messages, the large number is in the attribute Number
TemplateType2 - image is shown, grey tile colour, caption text, no count
This is used for the Microsoft Office live tile, and contains an IconImageURI and a BackgroundImageURI. It can contain a Title attribute also, but a count does not appear. It does not seem to animate at all
TemplateType3 - image is shown, grey tile colour, caption text, count in accent colour circle
This is the Games or Xbox Live Tile design. It has a BackgroundImageURI for the backing, the Title for the text bottom left, An ImageURI for the xbox live logo, and an AvatarImageURI for the image of the avatar that animates and interacts with the logo
TemplateType4 - no image visible, double width, accent colour tile, no caption, no count
This is the Calendar template. The only property I can find for it is AppointmentTitle. This is where the text "Calendar" is displayed
TemplateType5 - default and only one allowed to be used!
This is the only template you are allowed to use for the moment. It has a grey tile, with a BackgroundImageURI, a Title attribute, and a Count attribute for the small number in the top right, on a circle in the accent colour
TemplateType6 - default but double width, not allowed like the others at the moment
This is the template for the Pictures Tile design. It uses a BackgroundImageURI and the Title attribute.
TemplateType7 - image visible, grey tile colour, caption visible, no count shown
This is the Zune Style Tile. It has an ImageURI for an icon in the top left, and BackgroundImageURI for animated backgrounds. The animation style is random when you leave and return to the Start Screen
TemplateType8 - image visible, grey tile colour, extra large caption text at top, no count shown
I think this is a template for when you pin a contact to your home screen, I am not sure what attributes to add in order for it to animate
TemplateType9 - image visible, grey tile colour, caption visible, no count shown
Not sure what is special about this template, it can use a backing colour, and title, but can't find anything else it can do
TemplateType10 - People Tile design and animation (not sure how you populate images)
This is the Contacts Tile design, you have the title but also Photo01ImageURI upto 09 I guess, but it may support more and choose randomly from that list of Photo Image URIs
TemplateType11 - no image, accent tile colour, large caption like single contact tile, no count
This also looks like a Contact pinned to the Start Screen Tile, except it uses an accent colour, and does not support backgrounds or icons. The large caption text appears at the bottom

It is possible, just add an alpha layer in the .png and it will render bg in accent color (note: there's a bug that prevent the accent color to show in the app list, but it works perfectly if you add it to the "start page")

Edit: scrap that just realised you were talking about application tile icons. For the small tile, no it cannot be done, but if they pin your icon to the start page it'll take on the accent colour if it's background is transparent.
create two images, 1 dark and 1 light. Then using a Bool like
public static bool IsLightTheme
{
var v = Application.Current.Resources["PhoneLightThemeVisibility"]
If (v == Visibility.visible)
return true;
Else
return false;
}
You can then switch images depending on the theme selected.

Related

Q:How to change the icon color in the tiles?

Peeps,
I know its possible to change the tile color but is there a way to change the icons color inside the tiles from the standard white?
Icons inside the tiles like message icon, phone icon etc etc
I want to achieve the following theme:
black background, white tiles and black icons...
Thanks
Have a look in this thread, it might help you out.
http://forum.xda-developers.com/showthread.php?t=929017

[Q] MIUI THEme--Help on theming plz!!!! UPDATE

Hi All, wont to know how to apply the status_bar_close_on?
Every time I edit the PNG file with my own, It never shows up and all I get is no bar at bottom of pull down.
I edit to the same size as original and in draw9 editor.
I also have changed the music player ALBUMS navigation background to black and I wont to change the text under the ALBUMS to white.
Thanks!
Ok! I have posted some screens to show you what I mean about the text colour and the status bar.
wHAT needs Editing.
-MUSIC PLAYER. -text under the album covers. (ref. to picture)
-INSTANT MESSAGE POPUP. -message text (ref. to picture)
-STATUS BAR CLOSE ON. - NEED GUIDE ON HOW TO EDIT.(TRIED EVERYTHING)
-MESSAGE BUBBLE. - text on top of bubble (ref. to picture)
-DROP DOWN MENU. -the drop down menu in downloads (ref. to picture)
-SETTINGS MENU. -there is no text on top of list (ref. to picture)
If you know please post the xml thanks.
I'm not running MIUI, but maybe it would be handy to take a look at another theme to see how it should be?

			
				

			
				
I'm having the same exact issue...I have a theme that I love, but want some changes made..So I modified all the png's within the .mtz file, and reapply the theme but no changes take effect..I dont understand at all. I think the pictures are cached out somewhere...

[Q] Icon formats

I want to make some neon glow sign type tiles for my home screen but would really like to have them animated (i.e. fade in-out transition or blinking). Most icons are static & I wanted to know if animated icons could be used. If so what format does it have to be in order to work? I have Photoshop & Image Ready to create the animated gif (if in fact animated gifs are supported as icons)

Fancy Widgets Skin Issue

Yo, ho, hello there, I'm making a skin for Fancy Widgets right now and it's almost perfected. The one thing that is really driving me crazy is that the numbers and the am/pm indicators are missing. The left/right clock background shows up fine, the weather background is there, and all the weather text and icons are visible. But the numbers (which are images) and the am/pm indicators (also images) do not appear on the widget. No elements are hidden in the settings and all the transparency is set to opaque for everything I could find.
I noticed that if I use a different style - ex. digital rather than the flip clock I'm designing - when placing the widget, the numbers & am/pm show up.

[ ROM ] LeoROM 2.0 for Samsung Galaxy S6 Edge+ (G9280) Chinese Variant

Applicable model :Samsung Galaxy S6 Edge+ (G9280)
Other Model Compatible : Samsung N9200/N9208/N920S/K/L/G9250
Version based : Android Nougat 7.0
Release date : 2018.4.24
ROM author : Salty salt
ROM Version : Leo Rom V2.0
Code:
Support models N9200/N920S/K/L/N9208/G9280/G9250
1. Increase pull-down memory cleanup
Pull down memory to clean background color
Pull down memory to clean up digital colors
Pull down memory to clean up the number size
Drop-down memory cleanup font format
2. Recent tasks add shortcut bar
Shortcut bar switch
Open program text display switch
Shortcut text color
Shortcut text size
Shortcut text font format
Shortcut icon size setting
Shortcut program single row display quantity setting
Shortcut add entry
3. CPU frequency setting
Big core frequency setting
Small core frequency setting
4. Suspended ball increase boot switch
5. Upgrade local WIFI password settings
Click QR code to share
Long press the copy password
WIFI password backup
WIFI password restoration
6. Adjust LeoTweaks (upgrade to SDK API27)
7. Call background settings
Call background enabled/disabled
Background style (general color, gradient color, wallpaper)
Gradient color (start color center color end color)
Gradient mode (linear gradient, radioactive gradient, scanning gradient)
Gradient type setting (8 types)
Gradient color radius setting
Gradient color fillet radius setting
Wallpaper customization
Wallpaper transparency settings
Wallpaper coloring settings
Wallpaper Gaussian Blur Enable/Disable
Wallpaper blur setting
8. Pull down the quick set button to increase the floating ball LeoTweaks
9. Increase window animation settings
10. Time details increase language judgment Chinese (Simplified/Traditional) support Chinese detail settings, English support AM/PM settings
11. Newly designed LeoTweaks multi-interaction mode, richer animations, fully follow the Google Material design style
12.LeoTweaks sliding drawer similar to QQ animation effect
12. Remove the LeoTweaks sliding drawer boot time display
13.LeoTweaks sliding drawer operator customization
14.LeoTweaks sliding drawer menu background customization
15.*Signal icon switching (Double card telecom card can be switched to single line/single card to hide 4G icon) No need to restart the phone original method Thanks _Man for inspiration
16. Added QS background status bar background recent task background call background power menu background support dash stroke setting
17. Dotted Stroke Settings Support Dashed Thickness Set Dashed Stroke Width Set Dashed Stroke Clearance Setting
18. Crack split screen mode supports all APP split screen thanks _Man
19. Added 3 kinds of fonts (supports all custom items that can set fonts independently). There are 32 font styles in total.
20. Add a one-click process cleanup button on the desktop (can be hidden by LeoTweaks/Slideshow/Setup Control)
21. Add floating ball button icon to customize 10 styles
22. Add floating ball button icon color limit white button to set color
23. Add floating ball click effect color setting
24. Custom Action Added <Sound Mode (Ring-Vibrate-Mute Switch), Previous, Next, WIFI Status, Play/Pause, Power Menu >
25. Power menu added a quick restart
26. Power Menu Text Increase Font Color Set Font Size Set Font Style Settings
27.LeoTweaks adds a one-click reset (eg status bar time set custom color just click the reset button to revert to the default value)
28. New growth is customized by power button action (specific action reference top action description)
29. Modify the power menu layout settings After the custom background, there will be no black edges at the bottom.
30. Fix the problem that the lock screen weather sometimes does not show
31. Lock screen weather text supports font color size setting
32. Lock screen weather icon supports display hidden size color settings
33. Add desktop wallpaper Gaussian Blur
34. Desktop Wallpaper Gaussian Blur Support Blur Settings Color Settings Transparency Settings
#### There are still many updates that don't remember. ###############
Leo ROM first edition update log
I. Status bar
1. Time (Leo self-compiled source code, this source code only shares tired)
Single row and double row display switch
single line and double line text size Custom
time seconds display
date display (normal, small, hidden )
Date format customization (multiple format styles, and display constellations, etc.)
Date Customize any format
Date display position (displayed on the left or right side of the time)
Weekly display
Weekly display style
Time detail display
detail style (12 hours, 12 hours) , Lunar calendar)
time font custom
time color customization (perfect support color change)
time in the status bar position switch (left middle right)
time system switch (12-hour 24-hour system)
2. Status bar information (Leo self-compiled source code )
Status bar switching (custom text, carrier. Battery CPU temperature, memory usage, device information, lunar calendar)
Single-line and double-line display switching
single-line and double-line text size Custom
font Custom
Lunar style switching
status bar information display and
Status bar signal position switching (left side of status bar, right side of status bar)
* Card 1 signal icon customization (Leo original method)
* Card 2 signal icon customization (Leo original method)
* Wifi icon customization (Leo original method)
*WIFI data arrow hidden and displayed
*Telecom card signal box hidden and displayed
*Status bar SIM card icon Hide and display
WIFI icon Color
mobile signal icon Color
signal box Color
data Color
SIM card Color
Flight mode Icon color
* Alarm clock icon hidden with Display
*Bluetooth icon hide and display
*Sound vibrate icon hide and display
3. Status bar Logo (Leo self-compiled source)
status bar LOGO display and hidden
status bar LOGO position switch (left side of status bar, status bar right side)
status bar LOGO Logo switching
status bar LOGO color customization (perfect support for color change)
4. Status bar network speed (based on ResurrectionRemix open source project modification and compilation)
Shield system automatic network speed
status bar network speed display status (upload, download, upload download, hide)
status bar
Status bar speed upload/download label display and hidden
speed arrow hide and show
no network traffic occurs automatically hide network
speed network speed arrow switch (arrow is located on the left or right side of the
network speed ) network speed single line and double line display switching
speed Text size
web speed text font switching
network speed color customization (icon text perfect support for color change)
5. Battery icon (Leo self-compiled source code)
official battery icon and Leo battery icon switch
built-in three battery pack switching (including battery percentage, system self With percentage to shield)
Custom battery pack N styles (if you are not satisfied with the battery pack, you can download it yourself or you can compile it yourself)
Battery standby icon color (icon text perfectly supports discoloration)
Percentage standby color (icon text perfectly supports color change)
Battery icon Charging color (icon text perfectly supports discoloration)
Percentage charging color (icon text perfectly supports discoloration)
Icon in battery color
percentage Percentage in battery color
Mid-term battery threshold setting
icon Low battery color
percentage Low battery color
Low battery threshold Set
percentage Text size Set
battery
Battery bar display position (hidden, top of status bar, bottom of status bar. top of lock screen status bar)
battery bar centered / left
battery bar thickness
charging animation
standby color
charging color
low battery warning color
gradient color
high position color color
low position color
7. Status bar background (Leo self-compiled source)
Status bar background Enable/disable
background style (general color, gradient color, wallpaper)
Gradient color (start color center color end color)
Gradient mode (linear gradient, radioactive gradient, scanning gradient) )
gradient type settings (8 types)
gradient color radii
gradient color corner radii
wallpaper custom settings
wallpaper transparency setting
wallpaper provided colored
wallpaper Gaussian blur enable / disable
wallpaper ambiguity disposed
============ =================================
Second, the notification bar
1. time (Leo to compile source code)
time display hidden
time Color Custom
AM AM Color Custom
Seconds Show Hidden
Seconds Color Custom
Time Custom Font Style
Time Custom Text Size
2. Date (Leo Compile Source Code)
Date Display Hidden
Date Color Custom
Date Font Set
Date Format Setting
Date Custom Format
Date Size Setting
Week Display Hide
Weekday Style Setting
3. Lunar (Leo Self-compiled source code)
Lunar style switch (can customize any text)
Lunar calendar display hidden
Chinese calendar font Custom
Lunar color Custom
Lunar size Custom
4. Button (Leo self-compiled source code)
LeoTweaks shortcut button shows hidden
LeoTweaks shortcut button action Custom
LeoTweaks Shortcut button color custom
setting button color custom
QS button text display hidden
QS button text color custom
QS button font custom
QS button dividing line display hidden
QS button dividing line color setting
5. Operator (Leo self-compiled source)
operator Switching
font style settings with custom text,
carrier color setting,
operator text size setting
6.Notify the project (Leo compiles the source code yourself) to
notify the project background to enable/disable the
background style (general color, gradient color, wallpaper)
gradient color (start color center color end color)
gradient mode (linear gradient, radioactive gradient, scanning gradient)
Gradient type setting (8 kinds)
Gradient color Radius setting
Gradient color Fillet radius Setting
wallpaper Custom setting
7.S Search
S Search text Switch
Custom S Search text
S Search text font Custom
S Search text size Custom
S Search icon color Custom
8. Traffic display
traffic display and hidden
traffic display font Custom
traffic display color Custom
traffic display size Custom
9. Dual card module
* Disable enabled dual card module
10. Drop down background (Leo self-compiled source code)
drop-down background enable / Disable
Gradient Type Settings (8 types)
Gradient Color Radius Settings
Gradient Color Fillet Radius Settings
Wallpaper Custom Settings
Wallpaper Transparency Settings
Wallpaper Coloring Settings
Wallpaper Gauss Blur Enable/Disable
Wallpaper Blur Settings
=============================================
III. Lock screen
1 Lock screen time (Leo self-compiled source code)
* Lock screen time style switching (S8 style. N5 style)
lock screen time and analog time switching
analog time style switching (11 styles)
simulation schedule disk color custom
simulation time hour hand color from the definition of
simulation time minute color custom
simulation time seconds color custom
simulation schedule disk size custom
simulation time and date display hidden
analogue font setting time week
simulation time date size set
simulation time and date color settings for
lock screen digital time color settings for
lock screen digital time details Show/hide
lock screen digital time detail style setting
lock screen digital time font setting
lock screen digital time color setting
lock screen digital time second display hidden
lock screen digital time size setting
2. lock screen date (Leo self-compilation source code)
lock screen date color Set
lock screen date display. Hide
lock screen date font set
lock screen date size setting
3. Lock screen Lunar calendar (Leo self-compiled source code)
lock screen Lunar calendar display hidden
lock screen Lunar style set
lock screen Lunar calendar custom text
lock screen Lunar size set
lock screen Lunar font set
4. Unlock mode
Lock screen password Quick unlock
lock screen Hybrid password Quickly unlock
fingerprints Quickly unlock and
restart the device. Direct fingerprint unlocking
Automatic lock screen timeout setting
Lock screen screen rotation
5. Lock screen weather (official weather source, thanks to Aurora guide)
Lock screen weather display hidden
lock screen Weather font size setting
Lock screen weather color setting
Lock screen weather font settings
6. Lock screen alarm clock (Leo self-compilation source code)
lock screen alarm clock display hidden
lock screen alarm clock color settings
lock screen alarm clock icon click action
lock screen alarm clock text size
lock screen alarm clock custom font
====== =======================================
four recent task (Leo to compile source code)
recently Task background enable/disable
Background style (general color, gradient color, wallpaper)
Gradient (start color center color end color)
Gradient mode (linear gradient, radioactive gradient, scanning gradient)
Gradient type setting (8 types)
Gradient color radius Set
gradient color fillet radius Set
Wallpaper Custom Settings
Wallpaper Transparency Settings
Wallpaper Coloring Settings
Wallpaper Gauss Blur Enable/Disable
Wallpaper Blur Settings
============================== ================
V. Desktop
1. Desktop effects
increase desktop effects more than 20 effects
2. Desktop double-click (Leo self-compiled source)
desktop double-click action Custom
desktop double-click to enable disable
desktop Double-click action vibration feedback
3. Desktop weather (Leo self-compiled source code)
Desktop weather Lunar style set
desktop weather Lunar calendar custom text settings
4. Desktop CPU Battery information floating window
================ =============================
6. Gestures and Actions (Leo self-compiled source)
status bar double click, click, long press, Left swipe, right swipe gesture action enabled/disabled
The status bar gestures vibration feedback to enable / disable the
back button press and action custom
HOME button double-click custom action
HOME button press action custom
return-click action Custom
return key press action custom
three-finger swipe gestures Custom
Home Key Screen Wakeup Enable Disable
Volume Key Wake Up Screen Start Disable
USB Insert/Unplug Wakeup Screen
================================ =============
7. Power menu
1. Power menu display hidden (power off. Restart. Card brush mode line brush type mobile data flight mode auxiliary light screen recording screenshot emergency mode personalized setting)
2. Power menu confirmation dialog enable/disable
3. Power menu background (Leo self-compilation source)
power menu enable/disable
background style (general color, gradient color, wallpaper)
gradient (start color center color end color)
gradient mode (Linear Gradient, Radioactive Gradient, Scan Gradient)
Gradient Type Settings (8 types)
Gradient Color Radius Settings
Gradient Color Fillet Radius Settings
Wallpaper Custom Settings
Wallpaper Transparency Settings
Wallpaper Coloring Settings
Wallpaper Gaussian Blur Enable/Disable
Wallpaper Blur Settings
====================================== ========
VIII. attribution setting
1. SMS attribution (Leo self-implementation method)
SMS attribution color setting
SMS attribution size setting
SMS attribution font setting
SMS attribution display hidden
SMS date color setting
SMS date Size setting
SMS date font setting
2. Call record attribution (Leo self-implementation method)
Call record attribution color setting
Call record attribution size Setting
call record attribution font setting
Call record attribution database switching
======== =====================================
IX. prompted
charge prompt
the battery is fully prompts
low battery indicator
low Battery Tip Threshold Threshold Threshold
Screen
Shot Sound Tip
Headphone Volume Oversized Tip
=================================== ===========
10. Suspended ball (modified on the basis of csdn open source project)) Suspended ball left sliding action Custom
floating ball Right sliding action Custom
floating ball Slide action Custom
floating ball Under sliding action Custom
floating ball Click action Custom
suspension ball vibration feedback
=========== ==================================
11. Animation set
list animation (based on ResurrectionRemix open source project modified compile)
boot Animation customization (download more material) (compile and compile based on ResurrectionRemix open source project)
================================= =============
Twelve other features
*Virtual navigation enabled to disable
local WIFI password view (modified on the basis of csdn open source project )
device hardware details view (from Aosp open source project )
self-starting Management (from Le Frog )
DPI settings definition settings (from github open source project )
system program streamlining (from Aosp open source project )
All gestures of ROM support the following actions: lock screen HOME return menu volume + volume - mute S search local WIFI password recent task camera notification bar screenshots program drawer arbitrary program auxiliary lighting LeoTweaks screen recording split screen mode end processSo in the ROM so support custom custom fonts are 29 styles
The kernel uses a self-compiled kernel (thanks to the helpful help guide)
Click to expand...
Click to collapse
Installation:
Reboot to recovery
Wipe Dalvik Cache
Install rom
Select the Device you have
Wait to reboot
Done
Screenshots:
{
"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"
}
ROM DOWNLOAD: LeoROM_V2.0.zip
Cloud Storage Password : 3zpu
Please translate to english the cloud storage website because it is from Chinese uploader
I will update the download link on mediafire nextweek. thanks for the patience
Credits and Thanks to LeoRom CC, Numerous open source Great God on Aurora, sdhz152, (csdn, github) and the Great God on XDA
G928C not booting....Need to flash own Kernal for other S6 edge plus devices?
musaibavr said:
G928C not booting....Need to flash own Kernal for other S6 edge plus devices?
Click to expand...
Click to collapse
maybe coz its not compatible with your device,, its for G9280 device variant only..

Categories

Resources