If you use a Custom ROM (e.g. Havoc/Xtended/crDroid etc.) where you can choose the design of the QS tiles, you can change the tile shape in the following way:
Choose a simple tile shape, I take the design "Teardrop" as an example here in the tutorial.
Search under /system/app/ the folder QstileTeardrop with the apk QStileTeardrop.apk. If there are no QStile....-folders in your ROM, you have to search... I was able to work on the following QStiles well (others caused some problems somehow or I didn´t try): Inkdrop, Mountain, Ninja, Pokesign, Squaremedo, Teardrop, Wavey.
Take the QStileTeardrop.apk to the computer and decompile the apk (e.g. with apktool).
Import the file ic_qs_circle.xml as Vector Drawable on this page: https://shapeshifter.design.
This file is in the following folder of the decompiled apk: ...\QstileTeardrop\res\drawable.
Export the image as SVG.
Open the exported SVG (vector.svg in Downloads) with Inkscape/Adobe Illustrator. If you don't see anything the fill color is probably white like the background. As background you now have a document/page in the size you need (this might varies depending on Custom ROM).
Change the path according to your imagination or create a new shape, or import an image that you convert into a path. Adjusts the path to the page so that it does not protrude beyond the document/page. It is best to center the path vertically and horizontally so that the icons (WIFI icon, Bluetooth icon, airplane icon, etc.) are also well centered.
Save your path as SVG (YourCustomTile.svg). Now go back to https://shapeshifter.design and import this SVG. Before that you should delete the old path with File > New. In the preview window at the top you can see if the alignment and size of the tile design on the background is okay. Click on path in the lower left corner and copy everything in the field "pathData".
Open the file ic_qs_circle.xml (in ...\QstileTeardrop\res\drawable) in an editor (e.g. Notepad++). Now insert the path (LettersAndNumbers) from the field "pathData" between the quotation marks:
<path android:fillColor="#ffffffff" android: pathData="Insert_new_path_here" /> (Without spaces between : and p, this results in a ...)
If you have several paths, they just come among one another:
<path android:fillColor="#ffffffff" android: pathData="Path1" />
<path android:fillColor="#ffffffff" android: pathData="Path2" />
<path android:fillColor="#ffffffff" android: pathData="Path3" />
Compile and sign the QstileTeardrop.apk and replace the old one on your mobile phone. The QS-tiles now have your own tile design under the name Teardrop. A restart may be necessary, in my ROM it is enough to switch between the designs.
exactly what i was looking for .
Thank you so much
edit: everything worked great , i made couple and they all worked (a preview attached).
but i'm having a problem now , as i said above , everything worked UNTIL i restarted my phone , they revert back the the default style , so let's say i changed the apk of QstileTeardrop.apk and it worked and showed the one i made , then i restarted my phone , it shows the system default style -not even the old teardrop style- , and when i check in settings it shows that QstileTeardrop is still selected , and if i select a different one -one that i didn't edit- it works , and if i go back and select the QstileTeardrop it shows the default again , it is like as if it is not there , the phone/system is not reading the file . i tried with 3-4 different ones and still the same result .
any help ?
Great tuto thanks. One question I want to change icon of as tiles and stay bar but where is it located ? Frameworks or systemUI ? Is it in XML ?
I'm on havoc Android 10
EgyBob said:
... UNTIL i restarted my phone , they revert back the the default style...
Click to expand...
Click to collapse
oh, sorry. I'm quite out of the loop since I have a new mobile. So I think I can't help you unfortunately, I never had that problem. Do you have maybe any Magisk modules active that might be causing this?
Bradco said:
Great tuto thanks. One question I want to change icon of as tiles and stay bar but where is it located ? Frameworks or systemUI ? Is it in XML ?
I'm on havoc Android 10
Click to expand...
Click to collapse
It may not work under Havoc 10. I think that not all functions (like QS Tiles menu) are implemented in Havoc 10 like in previous versions. But as written above I'm a little out of loop, I don't really know about havoc 10...
C-3OP said:
It may not work under Havoc 10. I think that not all functions (like QS Tiles menu) are implemented in Havoc 10 like in previous versions. But as written above I'm a little out of loop, I don't really know about havoc 10...
Click to expand...
Click to collapse
No problem I confirm no change with havoc 10, anyway thanks for your answer
Related
NOW WITH ANIMATED ICON SET AND FULLY USER TRANSLATABLE
{
"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"
}
Massive THANKS to jmart518 for the cab files !!!
CHANGELOG IN POST 3 - CHECK THERE FOR LATEST VERSION INFO
Well here it is, finally! What started out as three of us playing about with basic layouts and text colours has morphed into 6 weeks worth of work in my spare time creating from scratch a completely new WVGA theme for Weatherpanel. Every layout has been written from scratch, pretty much every icon, background, transition, etc has been created specifically for DDT (except the actual weather icons which is a modified set of Rumball's static Diamond VGA icons as they are without doubt the best weather icon set out there) and this is the result - we hope you like it!
This thread originally started out as a tutorial for getting Weatherpanel up and running on your HD2, giving it somewhere to live (in our case Second Today from Chi-Tai) and linking it using CHTE to be the default weather app. I've removed most of the rather longwinded background behind the project from this post as I'm sure most of you have read it by now, however for new visitors to our little HD2 WP community, welcome and we hope you find what you're searching for here! Weatherpanel really is the most comprehensive weather app out there - it may be old but it is still the best as far as information, accuracy and user customisation goes. Now with this new theme we reckon that visually and from an intuitive UI point of view it blows the other weather apps away (and it's free!)
Before we start I must give credit where due to Marsware, the original creators of Weatherpanel, Chi-Tai for Second Today and of course the remarkable Mssrs Cookiemonster & JCM for the unbelievably superb CHT & CHTE without all of whom none of this would have been possible. Thanks also to my two brothers in insomnia - Davej and Troed whose initial tweaks to the original Phatphinger and Diamond themes set us off down this road in the first place, and for keeping me going over the last few weeks - thanks guys!
Right, so here's why - Basically, fed up with the lack of information on the Sense weather tab I was looking for a way to click on the weather section of the Home tab and be taken to a much better weather app than the weather tab. Days and weeks of searching and experimentation finally led me to the following solution - Weatherpanel (an old WM Today plugin) given a home in Second Today which is in turn set as the preferred weather app in CHTE. It is all beautifully simple and works perfectly.
Let's get this out of the way before we start in BIG RED LETTERS:
This does not replace the Sense weather tab !!!
It is still there and can be accessed from your slider as usual. This setup simply directs a touch on the weather element of CHT to Second Today & Weatherpanel.
About DAVEJ's Animated Icon Set
My very good friend Dave has spent way too many hours editing Rumballs original VGA animated icon set and resizing the various sets to make them fit this theme. The icons set is huge at over 88Mb! Unfortunately WP uses a rather crude MNG image format (renamed .wpa) which means very large files compared to gifs. As a consequence the size of the main screen large animated icons has had to be kept smaller than we would ideally have liked because to make them the same size as the static icons would have meant each file was way over 10mb and caused WP to run at a snails pace or crash altogether. So Dave arrived at the best compromise he could to balance size over performance. The smaller sets are absolutely fine. We have culled frames in many of them to keep the overall size down and have made them all single play. And as you go up in the various sizes Dave has thinned out the sets progressively until the Huge ones on the main screen have just the most common weather types animated and the rest are static (otherwise you'd have had a 150Mb icon set!). They do slow WP down a bit but we think they are well worth it! We all run both icon sets and themes and switch between them as the mood takes us...
IF YOU WANT TO USE THE ANIMATED ICONS YOU MUST INSTALL THE RELEVANT AI (ANIMATED ICON) VERSION OF THE THEME AFTER THE MAIN INSTALL HAS COMPLETED - INSTRUCTIONS INCLUDED BELOW!
Here is the walkthrough:
IMPORTANT FOR NEW USERS AND EXISTING USERS UPDATING TO THE NEW THEME:
For some reason the maximum useable screen area for WP differs between 6.5 and 6.5.x ROMS. Basically in 6.5 ROMs WP can be set to a maximum visible height of 720 pixels, whereas 6.5.x can go to 760 pixels (proper full screen below your taskbar). Also, we have discovered that Weatherpanel takes it's time format from your main phone settings (12hr/24hr) and as the layouts I originally wrote were for 24hr there were errors on screen if you are using 12hr time format. I have therefor created two complete versions of the theme so make sure you download the correct one for your WM version, each with three layout options in both 12 and 24hr format, otherwise the theme will not look right and you may be left with a scrollbar and overlapping elements on screen. Also, you must pay particular attention to the setup instructions for Second Today on first run - Disable Command Bar - as otherwise you will not get full screen and instead will have an unsightly scrollbar down the right hand side of your screen.
FULL INSTALLATION INSTRUCTIONS FOR NEW USERS
(ADDITIONAL INSTRUCTIONS FOR ANIMATED ICON SET IN THIS COLOUR)
There are two cab files linked to below which will do 90% of the installation for you. Make sure you download the correct cab for your WM version (6.5 or 6.5.x). Both cabs can be used for installs with or without CHT, and include the necessary reg settings for both CHT 1.8.5 and CHT 2.0
1. Download the relevant cab file for your WM version:
COMPLETE CAB INSTALL FOR WM 6.5
COMPLETE CAB INSTALL FOR WM 6.5.x
If you want the option of using Dave's animated icon set you will also need to download and unzip the relevant additional AI (Animated Icons) theme folder :
ANIMATED ICONS ADD-ON FOR WM 6.5
ANIMATED ICONS ADD-ON FOR WM 6.5.x
2. Download and unzip one or both of the icon sets:
STATIC ICON SET
DAVEJ'S ANIMATED ICON SET
IMPORTANT - When unzipping files you may find that you end up with a folder within a folder (DDT Mod Diamond WVGA Static Icons>DDT Mod Diamond WVGA Static Icons, same with icons folder) - Make sure you take the 'inner' folder out and use it to copy as if you forget to do this the icons will not appear in Weatherpanel
3. Install the cab to your storage card (you can put it in main memory if you like but the icon files will need to go there too and they are big folders (around 17Mb for the Static Icons and 88Mb!!! for the Animated Icons) - it runs perfectly well from the SD card). The cab will then install Second Today automatically to your device, and Weatherpanel and the theme to your storage card.
4. When the cab finishes intalling Weatherpanel runs through an extract process and will probably leave you with a WP window asking you to select language (default is English). Select your language then press your hardware back key. Then you can click OK as normal after a cab install.
5. Now you need to copy the complete unzipped icon set folder(s) to Storage Card>Program Files>Marware>Weatherpanel>Icons. If you are installing the animated icon set you also now need to install the unzipped AI theme folder to Storage Card>Program Files>Marsware>Weatherpanel>Themes
6. SOFT RESET
7. Now you need to open Weatherpanel for the first time. If you are using CHT then simply touch on the weather element of your home tab. If you are not using CHT then you need to go to Start Menu>Second Today and click on Second Today. First time you open it you will either get a blank screen with a message at the top saying invalid layout or you will see the Second Today settings window. If you see the few lines of text at the top of an otherwise blank screen then simply touch on this message and it will open the Weatherpanel settings screen. If you see the Second Today settings window it means that the ST settings haven't 'stuck' during the install so you need to do the following before proceeding:
7.1. On the plugins tab check the box beside Weatherpanel and make sure NO other boxes are checked
7.2. Still on the plugin tab check 'Use Custom Background' and then browse to whatever wallpaper you want for your main WP screen - don't use anything too light as some of the text won't show up!
7.3. On the display tab delete any text in the Window-Title box
7.4. Check the box beside 'Disable Command Bar' - THIS IS VERY IMPORTANT!!!
Once you have made these changes click on the right softkey to accept the settings and you will be taken to the blank screen with the few lines of text at the top (touch on the text at the top of the screen), or directly to the WP settings window.
8. You then need to set up Weatherpanel by doing the following:
NB There is no confirm or back softkey in the WP settings screen so once you have entered all you need to on a certain screen you need to press your hardware back key to return to the previous screen or to exit settings altogether.
8.1 Add your cities (NOTE - WP does not utilise My Location so you have to manually enter locations you want weather info for) which is just a case of clicking 'Add New', then entering your city name in the 'Search For' box.
8.2 Once you’ve added each new city you then need to add weather images for each city (if you want weather maps to show up). If all your cities are in the same part of the world (i.e. Europe) then you just need to add the same image(s) for each city. I’m in the UK so all my cities use the same Europe maps. For more info on finding and adding weather images look HERE and try http://www.weathercharts.org/ - thanks again Troed
8.3 Once you’ve added all your cities and images click on the Display tab. The theme, icon set and layout are all already preselected by the cab install. You do however have a choice of six possible DDT layouts to select from in the Layout dropdown list (V2+, V2Mid, V2Lite in either 12 or 24hr format - see below). Select the layout you would like to try first, and make sure you select the correct version for the time format you use on your phone. If you are wanting to use the animated icons and have followed the instructions correctly to this point you need to change the Theme to the AI theme you will have in the Theme dropdown. Then simply choose your preferred layout as before, and in the Icon dropdown select the Animated icon set.
Once you’ve done this then click your hardware back key and you should then see the main WP display for the first city in your list. The left/right arrows beside the location name let you scroll through your cities. To exit the WP screen back to wherever you were simply click your hardware back or home key.
Job done
If once you've followed the installation instructions you are having any issues with not seeing the full screen, or having a scrollbar down the right hand side of the screen (and you have definitely installed the correct version of the theme for your WM version) please do the following:
With Weatherpanel open press your hardware Start Menu button. The open the Second Today folder and click on SToday Settings. In the Display tab make sure that 'Disable Command Bar' is checked. Exit by pressing the right softkey and Weatherpanel should now look correct.
About User Translation
THIS WILL ONLY WORK WITH DDT V2 - NOT PREVIOUS VERSIONS
This final edition of the theme is now fully user translatable through the use of the lang.txt file attached at the bottom of this post. All you need to do is download the file, open it in any text editor (Notepad is perfect for the job) and translate the text on the right hand side of each entry. The attached sample is for German users so if you want DDT in German then simply use this file! Once you've completed your translation save the file as lang.txt and copy it to the main Weatherpanel folder on your storage card (Storage Card>Program Files>Marsware>Weatherpanel).
There are a few things to bear in mind when you are translating:
1. Please stick as closely as possible to the number of characters in the english version of each text entry as this is the text the theme was designed around and if you increase the number of characters it will mess up the look of the theme or the text may not display at all.
2. You will be limited to the language specific characters available in the fonts used in DDT (Helvetica and Helvetice Neue Thin) so probably no Chinese or Russian translations?
3. Once you have translated I apologise if some of the grammar or syntax doesn't track perfectly but again the theme is written in English and although I have done my best to break the text up in such a way that when translated it makes sense there may be one or two elements that aren't perfect!
If you do translate the lang.txt into something other than German (or if you produce a better German one than mine!) please post it in the thread with the filename lang_*language*.txt (i.e. lang_french.txt) and I will compile a library of translation files in the second post.
Dave and I also reckon there should be a prize for the most amusing English adaptation of the text - do and English to English translation but substitute where relevant for amusing alternatives (ie Snow=Jeez, it's cold out here etc...)
CREDITS FOR USER SUBMITTED TRANSLATIONS:
GERMAN - lang_DE_V1.5.txt - Thanks to ceh01
PORTUGUESE - lang_POR.txt - Thanks to filipepro
DUTCH - lang_DUTCH.txt - Thanks to luckyuser
POLISH - lang_PL.txt - Thanks to Jack_Surfer
FRENCH - lang.FR.txt - Thanks to t00ms
DANISH - Lang_DK_v1.2.txt - Thanks to polpot
SWEDISH - Lang.SE.txt - Thanks to halloj
Remember to rename these files to lang.txt before copying to the WP folder.
UPGRADE INSTRUCTIONS FOR CURRENT USERS
1. Download the correct DDT theme zip for your WM version:
DDT ULTIMATE V2 THEME ONLY FOR WM 6.5
DDT ULTIMATE V2 THEME ONLY FOR WM 6.5.x
If you want to use Dave's animated icons also download the relevant AI theme zip for your version:
ANIMATED ICONS ADD-ON FOR WM 6.5
ANIMATED ICONS ADD-ON FOR WM 6.5.x
Download the fonts:
DDT WP FONTS
Download the icons:
STATIC ICON SET
DAVEJ'S ANIMATED ICON SET
2. Extract all the zips.
3. Place the fonts in your Windows>Fonts directory on your device
5. Place the theme and icon folders in the relevant WP folders on your storage card as usual.
6. BEFORE YOU RUN FOR THE FIRST TIME - Go to your Start Menu and open the Second Today folder. Click on SToday Settings and in the display tab check the box beside 'Disable Command Bar'
7. Run WP and select theme [COLOR=Dark Orchid](AI version if you want to use the animated icons)[/COLOR], icon set and layout (DDT_Ultimate_V2+ DDT_Ultimate_V2Mid or DDT_Ultimate_V2Lite, either 12 or 24hr)
8. Enjoy
IMPORTANT: For anyone using Android builds see Android section in FAQ's
FAQ's in Post 2
Main screen layout options and navigation overview
V2+
V2Mid
V2Lite
There are three options for the main screen in the theme - V2+ (shown on the left above with two hide/reveal panels to play with), V2Mid (shown in the centre with the 5-day forecast permanently displayed and a hide/reveal info panel) and V2Lite (shown on the right above withboth the info and forecast panels permanently displayed). In the V2+ and V2Mid layouts the info panel is opened with the info button on the left hand side of the screen, and in the V2+ layout the five day forecast panel is opened by clicking on the five suns at the very bottom of the screen. Once the forecast panel is open you can then click on each day to be taken to a full forecast summary for that day.
Most elements on the main screen are clickable as shown above, and in each subsequent screen you will find a shortcut navigation panel on the top right of the screen allowing you direct access to anywhere else in WP you might wish to go. In addition, wherever the moon appears in the theme you can click on it to be taken to the Lunar Schedule page. It would take me forever to explain the function of every element in the theme, but as they are all very intuitive and each screen is fully self-explanatory I'll just let you play around and discover it all for yourself! You can't break it by playing around too much so have fun! As a rough guide however the various screens are as follows:
Main screen - contains all relevant current weather data (with info panel open), 5 day overview (with forecast panel open, sunrise/sunset times, local time for location selected, current moon phase, current temp, etc
1 - Current conditions screen - gives a bit more detail along with a 24 hour combined temp/rain chart
2 - 10-day summary page - each day is clickable to access the main forecast page for that day
3 - Lunar Schedule - with current and next moon phase info
4 - Charts page - four hourly/daily charts showing forecast max/min temp, precipitation, windspeeed and humidiy
5 - Full forecast page - Day and evening forecasts for the selected day, plus moon info
6 - Radars page - where web weather images, traffic cam images, etc you specify in your radars.txt appear and can animate. The player buttons are hidden when you first open an image page - to open the controls simply touch and hold on the image for a second or so and the buttons will appear.
If you are in Europe then you can download the attached radar.txt file and overwrite the one in the Weatherpanel folder on your storage card as it contains several more Europe radar image URLs.
Hope this walkthrough helps anyone else out there as thick as me to get there a lot quicker than I did! Now I have four questions for the clever people out there to do with things that would make it better but which I have no chance of finding a solution to on my own:
Any questions/suggestions please feel free to ask.
Enjoy
One word of warning - WP can be pretty data intensive so beware! I have two cities and four weather images and the update size is around 1MB, so if I have it set on hourly updates I can easily hit 10MB+ each day. I only hook up on wifi at home and work so not a problem, but if you are using mobile data you may want to keep an eye on it.
POSTS IN THREAD FOR NEW THEME START HERE
If you like my work please buy me a coffee to keep me going
FAQs
FAQs & Add-ons
City name cut off or overlapping left/right arrows - When you search for your city in the WP Add City screen it will appear in the Name box at the top of the screen as City, Country. In a lot of instances this will make the name too long to fit on screen in the space I have allowed. All you need to do is edit the City name in the Name box at the top of the screen to either remove or abbreviate the Country or State name and it should now fit. Also if you cannot find your tiny village in the search then just search the nearest large town, select it and edit the name in the top box to that of your village.
Can I use other WP icon sets - No. I have edited the Diamond VGA icon set, which has included adding in some missing ones and creating a full new set of resized moon icons. The theme also uses 5 different sizes of icons which other sets will not necessarily have.
Does it work with My Location - No. I am hoping someone far cleverer than me may pick this up and find a way of making it work but I'm afraid this is far beyond my meagre skills!
Animated icons? - Davej is currently working on an animated set of the main screen icons but at present the set is about 120Mb+ and slow to run so don't hold your breath - it may take some time!
Scrollbar showing on right hand side of screen - Either you are using a 6.5 ROM and have not followed the instructions for overwriting the 6.5 optimised files, or you have not followed the last instruction in Step 9 to Disable Command Bar in Second Today settings
Multiple city images overlapping when switching between cities - HERE - Thanks fmlarsen
Waiting for storage card error message - HERE - Thanks scandiskfr
Get rid of annoying beeps and alert noises - HERE - Thanks davej
To add additional weather images - Search online on your PC for current weather forecast for desired location. Once you've found a weather map/satellite image/radar image/etc that you want to use right click on it and select properties. Then copy the URL from the properties box. Open the radars.txt file from your WP folder using Notepad on your PC. You then need to add a name for the image, then hit enter and on the next line paste the URL (it'll make sense when you open the file!). Note - quite a few of the good looking weather images you'll find will be flash so you won't be able to incorporate them. Also try http://www.weathercharts.org/ and look HERE for more info Troed has posted on this
Sunrise/sunset times not showing correctly in 12hr format - MAKE SURE YOU HAVE SELECTED ONE OF THE 12hr LAYOUTS IN THE DROPDOWN LIST
LITE version - If you would prefer to have the two popout panels (info and 5-day forecast) permanently displayed on the main screen there are two layout options in the theme folders available for download in the first post. Open WP settings and select DDT_Ultimate_V1Lite in the layout menu.
For Lite users - if you would prefer not to have the semi-transparent background behind the info panel 996r has created a fully transparent version which you can download HERE - just overwrite to the DDT theme folder.
Changing the background on all screens - The custom background you select during the setup process for Second Today is the background that will appear on the main screen only. If you want to apply the same (or any other background image) to the rest of the WP screens (with the exception of the Lunar Schedule and Detailed Forecast screens which use specific custom backgrounds) then you need to make a background image exactly 480x788 in png format, name it bkg.png and overwrite the one in the DDT theme folder. Restart WP and there you go.
Android causing problems with Weatherpanel - Look HERE - many thanks to jaguaralani for this one You'll have to follow his instructions for both the V1+ and V1Lite wpl's if you have both in the theme folder
GPS Setting - On the Connection tab in WP Settings there is an option for setting the GPS Port and Baud Rate. This does absolutely nothing so don't bother with it. The original developer of the core WP software disappeared in 2005 and it has remained pretty much unedited since then. This was something that appears to have been being planned for a later revision but that never happened.
For US Users - In some parts of the US Weatherpanel will provide weather alerts for certain conditions. As I don't get these in the UK I hadn't thought to do anything about an alert POPUP so WP uses the one from the default theme folder which isn't very pretty! I'll have a go at putting one together but as I can't test it it will be good luck if it looks any good! In the meantime Troed has edited the default one to be a bit more readable. Download and unzip the Alert.zip from this post and copy the Alert.wpx into Storage Card>Program Files>Marsware>Weatherpanel>Themes>DDT Ultimate
Changelog
1/10/10
V2 Final Edition Uploaded
Some icons and arrows updated
New 'Updating' icon thanks to LessCro!
Now fully user translatable through lang.txt file
DaveJ's animated icon set now uploaded!!!!!!!
Additional Add-On version of the theme added to accomodate correct positioning on screen for the animated icons
Alert window fixed for US users
30/8/10
CAB files now uploaded - MASSIVE THANKS TO jmart518 FOR THESE
25/8/10
Completely revised theme folders uploaded
Screenchanges away from main screen now done with POPUP/CLOSE so number of layout files needed reduced. Once away from main screen changes still done by smooth fade between screens. Pressing Home shortcut then closes POPUP screen and immediately returns to main screen (much quicker!)
Final bug fixes for Update button
12 and 24hr versions now consolidated into one folder for each WM version for less confusion and more choice in layout selection - 6 DDT layouts (V1+,V1Mid & V1Lite in both 12 &24hr format)
23/8/10
Fixed update button not working on main and forecast screens - all theme folders updates and reuploaded 10.55 GMT
23/8/10
V1Mid layout added to all theme versions (fixed 5-day forecast panel, hide/reveal info panel
All theme folders bugfixed and reuploaded
Bug on main screen not allowing touch on main weather icon to access current conditions now fixed
21/8/10
Created and uploaded complete themes for each WM version/time format (6.5, 6.5 12hr, 6.5.x, 6.5.x 12hr) and uploaded to first post. These theme folders also now contain both V1+ and V1Lite layouts so you can choose either from the layout menu in WP settings.
Minor modifications made to main screen layouts to increase response area for pressing on Info button, and to remove the problem of touching on the top left temp info on the main screen causing a new window to open with unsightly grey bar across the bottom.
If you have already installed the theme you can download the latest update for your WM version/time format from the first post, then delete your existing DDT theme folder and replace it with the complete new folder.
20/8/10
Lite version added
20/8/10
Additional Overwrite files added for 12hr time format
19/8/10
Completely new DDT Ultimate WVGA theme uploaded
Install walkthrough revised for new theme
Gone to bed for a week now to recover!
26/6/10
Amended install process to make it easier:
Reuploaded PhatPhinger IV Altered zip now with all irrelevant layouts removed and Kangmas's tweaked layout included
Original Phat+265 layout amended slightly
Complete HTC VGA Icons folder now uploaded to Mediafire for single download - original three zip files removed from this thread
Great! Great! Great JOB!
Thank you very much for your efforts!!
Greatly appreciated!!!
Thanks, It's fantastic!!
It will be better if high-resolution big icon is used...
Anyway, the weather is more accurate in my country, I'm from Hong Kong...
THANKs Dunc001
THIS IS GREAT
OMG ... .. . Finaly , we could have WP in HD2
but coud it be inserted into manila weather page !!!!!
abumhmmd1 said:
THIS IS GREAT
Finaly , we could have WP in HD2
but coud it be inserted into manila weather page !!!!!
Click to expand...
Click to collapse
I don't think so. The closest solution would be one similar to here - http://forum.xda-developers.com/showthread.php?t=563150 - where you'd need to use MTP or similar to add a new tab in manila then deselect Sense weather tab in display settings. You'd then need to find the right bit of the registry to edit for CHT to then send you to the new tab when touching on the home tab weather element?
I didn't want to do this as it seems like far too much hassle and the solution above is really easy to implement.
Thanks a ton. Great instruction. Only problem: The Name of my city in the main screen is cut on both sides (as if it was too long), but there is still a lot of space to the edges of the screen. Any suggestions?
super, but, can i have this app in one .cab please, i'm geek ;p
thank you
I have followed everything step by step multiple times but when I get to the step to choose the layout, I don't see the option on the drop down for Phat+265.wpl, any ideas on this? Thank you for your assistance in this matter.
Thanks for a great walk-through
elburna said:
Only problem: The Name of my city in the main screen is cut on both sides (as if it was too long) Any suggestions?
Click to expand...
Click to collapse
Second this...followed instructions and everything else is working a treat.
elburna said:
Thanks a ton. Great instruction. Only problem: The Name of my city in the main screen is cut on both sides (as if it was too long), but there is still a lot of space to the edges of the screen. Any suggestions?
Click to expand...
Click to collapse
I had this too, sorry forgot to mention it! Basically I found that when you go into WP settings to add or edit one of your cities you just remove the country name from after the city name in the very top box on the screen, then just hardware back key and it is saved - job done!
aurelien hd2 said:
super, but, can i have this app in one .cab please, i'm geek ;p
thank you
Click to expand...
Click to collapse
Sorry, way to big for a single cab.
morfis said:
Thanks for a great walk-through
Second this...followed instructions and everything else is working a treat.
Click to expand...
Click to collapse
Answered above
hey op,i see your from pickering,i live in thirsk, great init lol....
is it totally not possible to cab this file as i'd love this on my phone.....great job by the way.
great app!!!!!!!!! now if it only came in GTX
Works great, thanks very much, now if only I could enter where I actually live, damn living in the countryside.
Can someone confirm it working on HTC-Stock-ROM 1.48 GER (Sense 2.5.1921xxxx, WM 6.5, no .x) ??????????????
troed said:
Can someone confirm it working on HTC-Stock-ROM 1.48 GER (Sense 2.5.1921xxxx, WM 6.5, no .x) ??????????????
Click to expand...
Click to collapse
Yes it does as it is not integrated in Sense and therefore dependent on the SenseVersion or something (like the Sense-Tab-Integrated-Version you might have seen somewhere). This Proggi is fully based on SecondToday which should even run on WinMob2003
Greets
pretty cool.. good job.. hopefully a cab will be issued
1000 Tx for the prompt answer. This forum is a treasure ...........
For 2.1 themes see post #17 on page 2: http://forum.xda-developers.com/showpost.php?p=9049613&postcount=17
I decided to open a thread to share the knowledge I have collected on timescape themes. This also partially applies to mediascape and up until now has been split between these two threads:
http://forum.xda-developers.com/showthread.php?t=737778&page=46
http://forum.xda-developers.com/showthread.php?t=765686 Please read this!
I thought it would be better to combine this into one thread that will be easier to find. If anyone disagrees then please post with reasons and alternatives. I will update this first post as we figure out more tweeks etc. (hopefully it will need a big rework soon because SE finally gets us 2.1 )
Before I start, thanks to Chewitt for finding the acet files, and for inspiring me to start messing with the look of my x10 with his Dark10 themes.
Timescape (and mediascape) do not store all of their images in the .apk resources. Oh no, that would just be too logical, and we are talking about Sony Ericsson here
The timescape theme .apk resources do contain some of the images used (e.g. the trash can and app drawer handles), and the actual Timescape .apk has the resources for the tile images etc. I'm not going to go into this as there is enough content about modifying these sorts of resources here. What I will go into is where the timescape background, wave animation, pagination slider colours and the tile alpha blending and default colours.
1. The background: This is stored in an .acet file (see the first of the above posts). This is an file that basically just contains a samll header and then rgb information (or sometimes argb, this is specified in the header which I haven't got 100% sussed yet). The background images are in the assets/ts folder in the theme .apk and are called ts_bg_app.acet and ts_bg_home.acet for the application and timescape home respectively. These can be modified with acetConverter.exe. You can load an image and export an acet file or you can go the other way. TS uses acet backgrounds without an alpha channel so leave the alpha checkbox unticked when creating them (it might work with alpha... never tried...).
2. The Tiles: I'm pretty sure the alpha blend images for the tiles are found in the system/usr/semc/seee/files folder (alpha_tile.acet and alpha_tile_fade*.acet) but I haven't modified these yet. As an aside the background for the first page of mediascape is here too. More important is the default background for a tile. This file, ts_tile_empty.acet, is a single pixel file found in the assets/ts folder for each theme. This specifies the solid colour to be used as a background for the alpha overlay on empty tiles.
3. Animation files: Wave and Pagination. This is all stored in three .afx java animation files in the themes assets/ts folder (ts_bg_wave.afx, pagination_glow.afx and pagination_area.afx). pagination_area is the square around the selected item in the scroll menu at the bottom (or the top if TS is the home page) and pagination_glow defines the lines at the top and bottom of this area. I haven't got these files fully sussed either, at the moment I'm restricted to doing some awful byte replacement to change the color (I can also change the wave pitch, but it doesn't look any good). I have attached an exe to generate these files (SetTimescapeAnimationColor.exe). Click on the white square to choose a base color and use the buttons to generate whichever of the files you want. If anyone knows how to edit these files properly please let me know, I come from a c# and c++ background and don't really know what I'm doing with java...
Thats pretty much it. Just sort out 6 files, update the png resources (the thumbnails for the theme selection are in the Timescape.apk resources folder) and you're done.
Note: I have had problems when I modified the wrong bytes in the afx files. Basically, after selecting the theme timescape just crashed. If you replace the theme file it still won't start, you need to clear the application data to get it running again. Along the same lines, after modifying a theme you need to reselect it from the themes menu as the files are cached.
Please let me know if I missed anything.
Update: I have attached the source code for the animation color tool. Please keep in mind that this was just a bit of code quickly thrown together so we can modify the animation color, I don't usually write code that looks like that
The project is a C# project from visual studio 2010 but the meat of it is in MainForm.cs so just open that if you use a different language/dev environment.
Here is the code from one of the buttons. Resources.pagination_glow is a byte array from an embedded resource (pagination_glow.afx).
Code:
string r = string.Format("{0:000}", (int)(((double)colorPanel.BackColor.R / 255.0) * 100));
string g = string.Format("{0:000}", (int)(((double)colorPanel.BackColor.G / 255.0) * 100));
string b = string.Format("{0:000}", (int)(((double)colorPanel.BackColor.B / 255.0) * 100));
byte[] bytes = new byte[Resources.pagination_glow.Length];
Array.Copy(Resources.pagination_glow, bytes, Resources.pagination_glow.Length);
bytes[949] = (byte)r[0];
bytes[950] = (byte)'.';
bytes[951] = (byte)r[1];
bytes[952] = (byte)r[2];
bytes[953] = (byte)',';
bytes[954] = (byte)g[0];
bytes[955] = (byte)'.';
bytes[956] = (byte)g[1];
bytes[957] = (byte)g[2];
bytes[958] = (byte)',';
bytes[959] = (byte)b[0];
bytes[960] = (byte)'.';
bytes[961] = (byte)b[1];
bytes[962] = (byte)b[2];
bytes[963] = (byte)',';
using (FileStream stream = new FileStream(saveDialog.FileName, FileMode.Create))
{
stream.Write(bytes, 0, bytes.Length);
}
What is important to note is that the embedded afx resources came from the orange theme, the other themes will require different offsets for the byte modification. I'm not sure why the different themes have different code here, I haven't looked closely at the wave animation code for each theme so there may only be a difference there, or there could just be one more space here and there in the preceeding lines or four spaces instead of a single byte tab ('\t')...
Anyway, the next step is to try and modify the number of bytes in the code and see if it still works, on my first few tests timescape just crashed so I thought that the number of bytes of clear-text code may be stored in the header. I'm not so sure now as I think I may have just been having problems while mixing the use of the .Net stream classes for reading an writing. I'll check this out though.
If we can modify the code however we want then I just need to learn a bit more java
The code for the wave animation is in the comments at the bottom of MainForm.cs. Here is the line with the characters being modified in bold:
fcolor.rgb = vec3(1.0, 0.91, 0.72) * ambientRatio + vec3(1.0, 0.516, 0.0) * specularRatio;
LOL this is just lazy lol, Thanks for the guide i will get the other 3 i need for Dark10 sorted on sunday.
this all sounds awesome =)
May I suggest posting the source code to your .exe files? that way others can pitch in and help improve the tools, too. slap on the GPL for a decent licence and it should be no problem
ttxdragon said:
this all sounds awesome =)
May I suggest posting the source code to your .exe files? that way others can pitch in and help improve the tools, too. slap on the GPL for a decent licence and it should be no problem
Click to expand...
Click to collapse
Good idea I have just updated the first post. I have only added the animation tool source as the .acet converter is just a direct color translation except for the header which is post in the acet thread linked in the first post.
I can post this code as well if anyone is really interested, but it will have to wait until I am back at work on the 14th, or until the VPN starts working again
VPN's up - posted the rest of the source.
calum.. just got a new charger today lol so back on track.. although some reason i cant seem to get my colour to change at al? ive rebooted, tried task managers n al but no luck..
Edit: ignore that.. managed to get it working! like an idiot i forgot to add the code at the top for mount/remount lol.. feel like a blonde
Has anyone got an original version of ms_bg_background_home_icn.acet?
Being the genius that I am, I tried to edit it without backing it up first.
I tried to convert a png image to an acet file using that acet converter but ended up with a background with a similar issue to what's in this post. Will read through all the posts tomorrow and try again.
Hey buddy any more progress with this project?
Sorry, on the road at the moment. I'll be back onto this next week.
@Mobzter: glad you got it sorted.
@Sixpence: you may have exported the image with the alpha channel. Make sure the alpha option is off for the timescape and mediascape backgrounds. I'll add complete backups to the first post next week
heres a backup of that file
_calum_ said:
@Sixpence: you may have exported the image with the alpha channel. Make sure the alpha option is off for the timescape and mediascape backgrounds. I'll add complete backups to the first post next week
Click to expand...
Click to collapse
Ah, yeh, I think that's what I did. I'll try again and see how I go. Cheers!
Thanks for backup Mobz!
EDIT: Sweet, that worked!
I just thought I'd post a link to my dark Timescape theme here.
Timescape (Dark)
If anyone else has got any modified timescape themes please post them (including the modified framework and thumbnail images). It would be nice if we didn't just all modify the Indigo them (as I did above) as if we use neutral images for the default contacts etc. then we can easily change between the different themes.
Any interest
Just a bump to see if anyone is interested in doing anything with the Timescape animation except changing the color.
If they are then I might get back into modifying the .afx files, otherwise I'll probably just move on....
I don't actually use it that much and now I've got rid of the blue I'm sorta happy, but it might be kinda cool if we can add our own animations to replace the wave...
How about the mediascape animation? I wanna make it melt into the next screen. Do u think that's doable?
How can i chnge theme for x10i
Sent from my X10i using XDA App
gavriel18 said:
How about the mediascape animation? I wanna make it melt into the next screen. Do u think that's doable?
Click to expand...
Click to collapse
Do you mean instead of the spline/fade animation when you hit the 'more' button? I think a melting animation would be pretty ambitious and probably only doable if the fade is actually part of the animation. I'll see if I can get an editor slapped together so we can just modify the afx code directly. I'll have a look at the mediascape animation files once I've got that done...
xian08 said:
How can i chnge theme for x10i
Click to expand...
Click to collapse
Sorry, I need a bit more information here. Where exactly are you stuck? Do you just want to install a different theme that you have from one of the x10 themes in another forum, or do you want to create you own?
That's exactly what I was thinking, a melt to a fade into the next screen.
I'm trying to understand how it works but i don't have enough spare time right now.
OK, 2.1 is here and the file formats for timescape themes have changed...
First off, the apk names have changed. They are now named like this:
TimescapeLargeUITheme[ThemeName].apk (e.g. TimescapeLargeUIThemeSakura)
The .acet files are now .uxraw files. The file header and content has also changed: the header is now 8 bytes, that can be split into 4 16bit integers. The first two I'm not sure about, (second one always seems to be 8...) but the 3rd and 4th are width and height respectively. After the header we still have the color info, but it seems that alpha is always included. The bytes are in the order R G B A (the alpha is now the 4th byte instead of the first).
I have attached the new converter and source.
Edit: I originally wrote an incorrect value for the first byte in the header (20 instead of 0x20... oops ) this resulted in a black background...
The afx files have also changed to uxsh. There seems to be a bit more in these files but the animation code is still in plain text. I'm working on an editor, and will update this post when it's done.
2.1 or 1.6 ?
Is this for 2.1 or 1.6 ?
Looks a silly question... But, am little cautious and more excited to see this on my 2.1update1.
Thx for such a great work.
_calum_ said:
OK, 2.1 is here and the file formats for timescape themes have changed...
Click to expand...
Click to collapse
mitalbr said:
Is this for 2.1 or 1.6 ?
Click to expand...
Click to collapse
2.1 (I had also changed the thread title to make this clearer )
_calum_ said:
2.1 (I had also changed the thread title to make this clearer )
Click to expand...
Click to collapse
I was just adb'ed the file system and I found I have following files...
TimescapeLargeUI.apk
TimescapeLargeUIThemeBlue.apk
TimescapeLargeUIThemeGreen.apk
TimescapeLargeUIThemeIndigo.apk
TimescapeLargeUIThemeOrange.apk
TimescapeLargeUIThemeSakura.apk
TimescapePluginManager.apk
I couldn't locate...
Timescape.apk
TimescapeThemeIndigo.apk
I've made an app that has a file browser on the side based of a ListFragment. I've created a custom View called IconTextView which is Basically a linear layout with a drawable for an icon and a text view for text. I also created it's adapter. I use the fragment as a file browser, the user selects a file and sends the string back to the main activity to do something with that file. For reference the class that implements the ListFragment is called FileBrowser.
This is my problem:
In the onCreate() method of FileBrowser First I add two Headers to the ListView Then I set the root directory of my application (which is a Specific Folder of the memory card) to generate the first file list.
While using the app: When the user then touches a folder I browse to it by generating the file list and setting my custom adapter again. What happens here is that the background still retains the original file list. It is obviously inactive but it is there kind of like a wallpaper and it is like the new list in front of it is transparent and the old list is the background. It works just fine, but it looks horrible. I've tried setting the original folder to multiple different folders but it is the same. Also when I scroll the file list, it goes behind the two stationary headers I mentioned.
The work around I found was to set the adapter in the OnCreate Method to null and simply press a button to show the first file list when the application is allready running. This implies that it should be a problem of simply when the setListAdapter is called for the first time. I've tried in the onResume() but the same thing happens. Even with this solution when I scroll the list of items it still goes behind the headers I mentioned just like before.
What I would like to know is if has anyone encountered this before and has found a way to solve it?
Thank you very much for all the help.
PD: The I just realized something else, the color of the headers I define is a custom color with an alpha value. Could it be that the non default alpha value creates the translucency problem?
About
In this guide I will be telling you about how to create your own device mods like this. This involves using an engine built into Android Nougat. There is no root required.
Prerequisites
- Apktool installed (official guide here)
- The apk of the app you wish to modify (ex: SystemUI.apk) (system dump here; USE WINRAR AS 7z DOESN'T EXTRACT RIGHT)
- Android Studio
- Basic knowledge of apk guts
- Template RRO project
- optional: Finished Example Project (for reference)
Tutorial
The first step is to decompile your target APK so we can see what options we can change. For this tutorial, I am going to be modding SystemUI.apk.
"apktool d SystemUI.apk"
After it finishes, go to "SystemUI/res/values", as this will be where we change most things.
Here we can see files like "bools.xml, strings.xml, integers.xml, etc..."
Let's look in "bools.xml".
I see a line in here that mentions lock screen rotation:
"<item type="bool" name="config_enableLockScreenRotation">@android:bool/config_enableLockScreenTranslucentDecor</item>"
For this tutorial, let's change this value, as it is easy to change, and we can visually see this change.
It looks like this boolean is enabled if "config_enableLockScreenTranslucentDecor" is enabled. To override this, we have to change it to "true" instead.
Now that we know what we are changing, let's open up the "RRO_Template" project in android studio.
First navigate to the Gradle Scripts and select the "build.gradle" for the "(Module: app)"
Here lets change some variables. First is the "theme_name". Let's change it to "Lockscreen Rotation"
Next is "theme_id". Let's make it "com.mod.lockscreen_rotation"
We don't need to mess with "priority"
Last is the "package_id" Since default is the id for the SystemUI, we don't have to change anything. If you need to find this for another app, look in the decompiled APKs AndroidManifest.xml under "package="com.app.id""
Next, navigate to the res folder. If you remember, our "bools.xml" file is under "res/values/bools.xml", so let's add that file.
We can delete the sample "strings.xml" as we don't need to change anything there, and add the "bools.xml" file.
Inside of the newly created XML file, we should see a setup like this (if not add it):
"<?xml version="1.0" encoding="utf-8"?>
<resources></resources>"
Looking back at the setting we want to change, it's "<item type="bool" name="config_enableLockScreenRotation">@android:bool/config_enableLockScreenTranslucentDecor</item>". So let's add that line.
But since we are overriding the value to true, it will now look like this :"<item type="bool" name="config_enableLockScreenRotation">true</item>"
And that's it for the value changing!
Now let's go build the APK. Press "Alt + B" to bring up the Build menu and press "Build APK"
Click "Show In Folder" on the bottom right after it compiles to see the APK.
Put this on your phone and install the APK.
Since we modified the SystemUI.apk, we need to reboot to see the changes.
Now, lets try going to the lock screen and rotating the screen. It should rotate!
Congratulations! You made a mod / theme!
If you have any questions, please ask. I will try to help if I am available. I have classes starting in a few days so I may be busy. Enjoy the guide!
Hello tytydraco,
Not sure if my problem is totally related to your posted thread but it sounds like you are very knowledgeable on Galaxy theming! I have a rooted Galaxy S8 and have merged/moded different themes from the Theme store, such as using another theme’s icon pack or wallpaper by swapping them out of their respective .apk files and implementing them with success!
My problem is with a theme’s "InCallUI" (accept, reject, hangup icons in phone dialer) after adding cool graphic .png icons (then changing to .qmg) it works flawlessly, however every time I restart my phone or a Samsung system app is updated, they revert back to those default Samsung cartoony icons. I then have to apply stock theme then re-apply customized theme to get icons back. This process also changes/breaks 3 or 4 other theming aspects, which are not affected by restarts, that I have to re-adjust!
Not only have I altered the theme’s “base.apk” in /Data/App/MyTheme folder, but also the theme’s InCallUI.apk and placed into; Data/Overlays/Style/Mytheme folder, then changed permissions to "rwx r-- r-w". I use these permissions because all the other apk's in this folder use them. I have even tried using different theme’s InCallUI.apk, whose icons remain after restart, by just changing the icons and renaming to my theme….but to no avail, same problem!
I know this all sounds really OCD, like probably most of us within these forums, but it’s getting to be a real pain in darse to constantly have to change everything back again every restart if I want to maintain my theme!
So if I may poach upon your smart nature, do you know if there is a configuration file/folder that can be edited/altered to make those “InCallUI” icons stick upon a restart?
Any advise or corrections in what I'm doing would be greatly appreciated!
Thanks in advance.
eltoro5 said:
Hello tytydraco,
Not sure if my problem is totally related to your posted thread but it sounds like you are very knowledgeable on Galaxy theming! I have a rooted Galaxy S8 and have merged/moded different themes from the Theme store, such as using another theme’s icon pack or wallpaper by swapping them out of their respective .apk files and implementing them with success!
My problem is with a theme’s "InCallUI" (accept, reject, hangup icons in phone dialer) after adding cool graphic .png icons (then changing to .qmg) it works flawlessly, however every time I restart my phone or a Samsung system app is updated, they revert back to those default Samsung cartoony icons. I then have to apply stock theme then re-apply customized theme to get icons back. This process also changes/breaks 3 or 4 other theming aspects, which are not affected by restarts, that I have to re-adjust!
Not only have I altered the theme’s “base.apk” in /Data/App/MyTheme folder, but also the theme’s InCallUI.apk and placed into; Data/Overlays/Style/Mytheme folder, then changed permissions to "rwx r-- r-w". I use these permissions because all the other apk's in this folder use them. I have even tried using different theme’s InCallUI.apk, whose icons remain after restart, by just changing the icons and renaming to my theme….but to no avail, same problem!
I know this all sounds really OCD, like probably most of us within these forums, but it’s getting to be a real pain in darse to constantly have to change everything back again every restart if I want to maintain my theme!
So if I may poach upon your smart nature, do you know if there is a configuration file/folder that can be edited/altered to make those “InCallUI” icons stick upon a restart?
Any advise or corrections in what I'm doing would be greatly appreciated!
Thanks in advance.
Click to expand...
Click to collapse
Sounds like the apk is reverting back... There may be another QMG file that puts the icon back. Other than that, it may be samsung's themes overriding this. Good luck and thanks for the question!
Couple of quick questions
Thanks for the guide OP!
I had a couple of quick questions.
You mention at the beginning of your guide that your method works because of a built in engine in Nougat and that it doesn't require root. I thought that RRO support was added to the AOSP by Sony in Marshmallow? Is this different, or did it just take until Nougat for Samsung to catch up?
The reason I ask is that I tried to do something very similar on an A5 (2017) running 6.0.1 and had no success. I had full root access so I manually installed my .apk into /system/vendor/overlay and could see that the app was installed in the Application Manager, but the desired changes did not take effect. I based my .apk on a similar guide from tutsplus and they say it should work on a device running Marshmallow or higher, but they emulate a Nexus which is obviously closer to AOSP than a Galaxy.
Is this guide Nougat specific or S8 specific? i.e. will a J5 2017 (released after the S8) running Nougat also work in the same way? Can you still install the app manually to the /system/vendor/overlay folder or do you have to manually install it through the UI?
Thanks again for the guide!
tytydraco said:
Enjoy the guide!
Click to expand...
Click to collapse
Hello, sorry for waking this up, the RRO template links are down. Can you attach them here?
This is my first thread, so please excuse me if I left out any necessary information. My Quick Settings toggles above the notification panel are showing up very small with all four on the same line, instead of two each on two lines like they should. Is there a way I can make them show up like they are supposed to?
I have the Blu G90 with the Android 13 GSI downloaded from Google's release site. Thanks for reading!
I fixed this by mounting my vendor.img and removing the "overlay" folder which contained various Blu-specific changes to the system UI.
This solved my same issue as well. Thanks for posting your solution!