• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Need xml/mclock help please

sadielynn

Android Enthusiast
May 3, 2011
484
125
Michigan
I really want to use this mClock skin on my mdpi optimus V, ,but it comes out looking like this:
screenshot-1320911647781.png


No amount of resizing or choosing different widget sizes helps, so I know that the xml needs to be edited. If it was just the font size, I could probably handle it, but I have a feeling that with font size changes, spacing issues will arise, and well, my xml-fu is weak to say the least :eek:

If someone could edit it for me, I would much appreciate it.
Thank you in advance :)

(also having the same issue with the typoclock skin, if anyone is willing)
 
You would be more likely to get a response somewhere here
Android Themes - xda-developers


I know, but ill either get snarked to death or told to do it myself. That is if my all important post count is high enough to even ask. I thought I'd ask the nice(er) people here first. Figured someone here would know how, but I guess not.
 
Upvote 0
I really want to use this mClock skin on my mdpi optimus V, ,but it comes out looking like this:
screenshot-1320911647781.png


No amount of resizing or choosing different widget sizes helps, so I know that the xml needs to be edited. If it was just the font size, I could probably handle it, but I have a feeling that with font size changes, spacing issues will arise, and well, my xml-fu is weak to say the least :eek:

If someone could edit it for me, I would much appreciate it.
Thank you in advance :)

(also having the same issue with the typoclock skin, if anyone is willing)

IF you wish, I would love to help you. I have coded a ton of skins for the mclock widget. I run a design studio and we modify all types of skins for the mclock. Our studios FluxboxMedia - 510Studios , is known for Android modifications and tutorials. Email it to geektekneek@gmail.com

We will take care of anything you wish or need on that skin.

Check out our Youtube channel for tutorials and such. We will be posting a XML Editing tutorial soon on this.

Thanks.

PluggedIn2010's Channel - YouTube

Thanks

FBM Administrator and CEO
 
Upvote 0
Just from the screen grab you have there it almost looks like you don't have much more than either 4 columns in your homescreen or 3. You will need at minimum 5 to show this accurately. I would check that also before any shrinking or XML is needed. We will help anyway we can, but that was the first thing that our design team noticed by the pics.
Hope this helps also. We found the XML in the post, so we are looking at it now.
Thanks.
FBM Team
 
Upvote 0
IF you can, open the file you have which is your XML or open a new text document and copy this in and try it. We have updated the sizes and alignments :

Code:
<stack orientation="vertical" horizontalalignment="stretch" verticalalignment="top" margin="3" clipping="false">
<stack horizontalalignment="center" verticalalignment="top" orientation="horizontal" margin="3" height="35">
<Sunday CurrentForeground="#ff2680a1, #ff5dd3ff" Case="Upper" FontSize="30" Shadowy="-10"/>
<Monday CurrentForeground="#ff2680a1, #ff5dd3ff" Case="Upper" FontSize="30" Shadowy="-10"/>
<Tuesday CurrentForeground="#ff2680a1, #ff5dd3ff" Case="Upper" FontSize="30" Shadowy="-10"/>
<Wednesday CurrentForeground="#ff2680a1, #ff5dd3ff" Case="Upper" FontSize="30" Shadowy="-10"/>
<Thursday CurrentForeground="#ff2680a1, #ff5dd3ff" Case="Upper" FontSize="30" Shadowy="-10"/>
<Friday CurrentForeground="#ff2680a1, #ff5dd3ff" Case="Upper" FontSize="30" Shadowy="-10"/>
<Saturday CurrentForeground="#ff2680a1, #ff5dd3ff" Case="Upper" FontSize="30" Shadowy="-10"/>
</stack>
<stack horizontalalignment="left" verticalalignment="top" orientation="horizontal" margin="0" height="50">
<Stack HorizontalAlignment="Left" VerticalAlignment="Center" Orientation="Horizontal" Margin="0">
<Day FontSize="50" ShadowColor="#ff000000" Foreground="#ff2680a1, #ff5dd3ff"/>
</Stack>
<Stack HorizontalAlignment="Left" Clipping="false" Orientation="Vertical" Margin="3">
<MonthName FontSize="25" HorizontalAlignment="Left" Case="Upper" Clipping="false" Foreground="#77ffffff, #77ffffff"/>
<DayName FontSize="25" HorizontalAlignment="Left" VerticalAlignment="Top" Case="Upper" Clipping="false" Foreground="#ffffffff, #ffffffff"/>
</Stack>
<Stack HorizontalAlignment="Left" Margin="85"/>
<Stack HorizontalAlignment="Right" VerticalAlignment="Top" Orientation="Horizontal">
<Hour VerticalAlignment="Top" HorizontalAlignment="Right" FontSize="50" Foreground="#c0878a8d, #c78d8a86"/>
<Text VerticalAlignment="Top" HorizontalAlignment="Right" FontSize="25" Foreground="#ff2680a1, #ff5dd3ff" Text="h"/>
<Minute VerticalAlignment="Top" HorizontalAlignment="Right" FontSize="50" Foreground="#c0878a8d, #c78d8a86"/>
<Text VerticalAlignment="Top" HorizontalAlignment="Right" FontSize="25" Foreground="#ff2680a1, #ff5dd3ff" Text="min"/>
</Stack>
</stack>
</stack>

Save the new file as XML and try it.
:)
 
  • Like
Reactions: sadielynn
Upvote 0
Your Welcome! Here try this, might fix the time issue. It's a matter of adjusting the margin along w/ the Font size. From 80 or so to like 30-40 and the smaller ones from 40 to like 20 or less.
6 Columns good.

Try this :
Code:
<stack orientation="vertical" horizontalalignment="stretch" verticalalignment="top" margin="3" clipping="false">
<stack horizontalalignment="center" verticalalignment="top" orientation="horizontal" margin="3" height="35">
<Sunday CurrentForeground="#ff2680a1, #ff5dd3ff" Case="Upper" FontSize="30" Shadowy="-10"/>
<Monday CurrentForeground="#ff2680a1, #ff5dd3ff" Case="Upper" FontSize="30" Shadowy="-10"/>
<Tuesday CurrentForeground="#ff2680a1, #ff5dd3ff" Case="Upper" FontSize="30" Shadowy="-10"/>
<Wednesday CurrentForeground="#ff2680a1, #ff5dd3ff" Case="Upper" FontSize="30" Shadowy="-10"/>
<Thursday CurrentForeground="#ff2680a1, #ff5dd3ff" Case="Upper" FontSize="30" Shadowy="-10"/>
<Friday CurrentForeground="#ff2680a1, #ff5dd3ff" Case="Upper" FontSize="30" Shadowy="-10"/>
<Saturday CurrentForeground="#ff2680a1, #ff5dd3ff" Case="Upper" FontSize="30" Shadowy="-10"/>
</stack>
<stack horizontalalignment="left" verticalalignment="top" orientation="horizontal" margin="0" height="50">
<Stack HorizontalAlignment="Left" VerticalAlignment="Center" Orientation="Horizontal" Margin="0">
<Day FontSize="50" ShadowColor="#ff000000" Foreground="#ff2680a1, #ff5dd3ff"/>
</Stack>
<Stack HorizontalAlignment="Left" Clipping="false" Orientation="Vertical" Margin="3">
<MonthName FontSize="25" HorizontalAlignment="Left" Case="Upper" Clipping="false" Foreground="#77ffffff, #77ffffff"/>
<DayName FontSize="25" HorizontalAlignment="Left" VerticalAlignment="Top" Case="Upper" Clipping="false" Foreground="#ffffffff, #ffffffff"/>
</Stack>
<Stack HorizontalAlignment="Left" Margin="70"/>
<Stack HorizontalAlignment="Right" VerticalAlignment="Top" Orientation="Horizontal">
<Hour VerticalAlignment="Top" HorizontalAlignment="Right" FontSize="35" Foreground="#c0878a8d, #c78d8a86"/>
<Text VerticalAlignment="Top" HorizontalAlignment="Right" FontSize="18" Foreground="#ff2680a1, #ff5dd3ff" Text="h"/>
<Minute VerticalAlignment="Top" HorizontalAlignment="Right" FontSize="35" Foreground="#c0878a8d, #c78d8a86"/>
<Text VerticalAlignment="Top" HorizontalAlignment="Right" FontSize="18" Foreground="#ff2680a1, #ff5dd3ff" Text="min"/>
</Stack>
</stack>
</stack>
 
Upvote 0
well its close, but still cuts off the last minute digit. reset my homescreen to 5 column grid, chose 5x1 widget. top one I stretched down to make it bigger, bottom one is exactly how it looks when I apply it, nothing moved or stretched (its tiny, that's why I stretched the top one) and both cut off the 9 in 10h 59 :/

IfvYX3PC
 
Upvote 0
well its close, but still cuts off the last minute digit. reset my homescreen to 5 column grid, chose 5x1 widget. top one I stretched down to make it bigger, bottom one is exactly how it looks when I apply it, nothing moved or stretched (its tiny, that's why I stretched the top one) and both cut off the 9 in 10h 59 :/

IfvYX3PC

I'm not sure which .xml file you are using above, but why not start fresh with the original files. You can download the .zip of all the colors.

Offset Text mClock Skins | Themes In Motion
 
Upvote 0
This is what the original looks like

iHuPdfsn


With 5x5 layout and 5x1 widget size

whoa, I guess it is just the resolution of your screen, I am on the Galaxy SII Epic. Can I suggest that you play with it and maybe try the 4x1 widget size. Once you get it looking right, then you'll know what size you need to use. The developer tested it on a Galaxy SII as well, but I know others are using it on a Captivate and a Fascinate and it works fine.
 
Upvote 0
And this is why I jumped in here and custom edited the XML for her. YOU both didn't get it from the first time that she posted it. That she was having issues on default. I will customize the xml again and see if that works on the 8 x 6 or however she has it. I know at least w/ my xml on that it was working partially all but the last parts.
Thanks for the feedback.

FBM Adminsistrator
 
Upvote 0
Here try this, the problem that you are running into when you are having the digits and their size at the location is that the margin is too far offset. So i adjusted this to allow the text to float more to the center. Let me know how this works on the 8x6 or however you had it. :

Code:
<stack orientation="vertical" horizontalalignment="stretch" verticalalignment="top" margin="3" clipping="false">
<stack horizontalalignment="center" verticalalignment="top" orientation="horizontal" margin="3" height="35">
<Sunday CurrentForeground="#ff2680a1, #ff5dd3ff" Case="Upper" FontSize="30" Shadowy="-10"/>
<Monday CurrentForeground="#ff2680a1, #ff5dd3ff" Case="Upper" FontSize="30" Shadowy="-10"/>
<Tuesday CurrentForeground="#ff2680a1, #ff5dd3ff" Case="Upper" FontSize="30" Shadowy="-10"/>
<Wednesday CurrentForeground="#ff2680a1, #ff5dd3ff" Case="Upper" FontSize="30" Shadowy="-10"/>
<Thursday CurrentForeground="#ff2680a1, #ff5dd3ff" Case="Upper" FontSize="30" Shadowy="-10"/>
<Friday CurrentForeground="#ff2680a1, #ff5dd3ff" Case="Upper" FontSize="30" Shadowy="-10"/>
<Saturday CurrentForeground="#ff2680a1, #ff5dd3ff" Case="Upper" FontSize="30" Shadowy="-10"/>
</stack>
<stack horizontalalignment="left" verticalalignment="top" orientation="horizontal" margin="0" height="50">
<Stack HorizontalAlignment="Left" VerticalAlignment="Center" Orientation="Horizontal" Margin="0">
<Day FontSize="50" ShadowColor="#ff000000" Foreground="#ff2680a1, #ff5dd3ff"/>
</Stack>
<Stack HorizontalAlignment="Left" Clipping="false" Orientation="Vertical" Margin="3">
<MonthName FontSize="25" HorizontalAlignment="Left" Case="Upper" Clipping="false" Foreground="#77ffffff, #77ffffff"/>
<DayName FontSize="25" HorizontalAlignment="Left" VerticalAlignment="Top" Case="Upper" Clipping="false" Foreground="#ffffffff, #ffffffff"/>
</Stack>
<Stack HorizontalAlignment="Left" Margin="58"/>
<Stack HorizontalAlignment="Right" VerticalAlignment="Top" Orientation="Horizontal">
<Hour VerticalAlignment="Top" HorizontalAlignment="Right" FontSize="35" Foreground="#c0878a8d, #c78d8a86"/>
<Text VerticalAlignment="Top" HorizontalAlignment="Right" FontSize="18" Foreground="#ff2680a1, #ff5dd3ff" Text="h"/>
<Minute VerticalAlignment="Top" HorizontalAlignment="Right" FontSize="35" Foreground="#c0878a8d, #c78d8a86"/>
<Text VerticalAlignment="Top" HorizontalAlignment="Right" FontSize="18" Foreground="#ff2680a1, #ff5dd3ff" Text="min"/>
</Stack>
</stack>
</stack>

By decreasing the STACK Horizontal alignment from the 85 or whatever it is by default, you allow the blocks of text to float back to center as outlined in the first part of the XML or as the application calls by default. So by pushing the size down to like 60 you are decreasing the space between the day text to the hour text and allowing it to be more on the screen.

Hope this works.
*fyi, just cause you know the developer only shows that you know someone, it does not ever prove that you understand code , or the language of how the SDK or apps are coded and configured. I can say that I know Bill Gates, but does that automatically make me able to know every bit of the 300000+ lines of code in .net 2008 and C++ call to stacks which make up the OS of Windows 7, no. Not at all, so before you go pirating a thread and Name tossing, think about it, cause it does not get you any higher up the chain*
 
  • Like
Reactions: sadielynn
Upvote 0
whoa, I guess it is just the resolution of your screen, I am on the Galaxy SII Epic. Can I suggest that you play with it and maybe try the 4x1 widget size. Once you get it looking right, then you'll know what size you need to use. The developer tested it on a Galaxy SII as well, but I know others are using it on a Captivate and a Fascinate and it works fine.


Yeah I'm using an optimus v. Mdpi screen. I'm guessing the ones you mentioned are hdpi. Hence the request. I did think to play around with widget sizes and resizing and whatnot before I made the request ;)

EDIT: That last one worked perfectly! Thank you so much!!
l0TOmgNH
 
  • Like
Reactions: fluxbox
Upvote 0
You are most welcome and I do believe you are correct that in most cases the widgets are for the HDPI and not the MDPI. Our studio doesn't have many of those proprietary devices on set. We have alot of the larger screen devices. No bother tho, we all in our office have expertise at one thing or another in the Android Community so it's our pleasure to give back and help. If you ever need anything else adjusted, let us know.
Thanks again!
Nice screen btw.

Sincerely,

510Studios and FluxboxMedia Team

Yeah I'm using an optimus v. Mdpi screen. I'm guessing the ones you mentioned are hdpi. Hence the request. I did think to play around with widget sizes and resizing and whatnot before I made the request ;)

EDIT: That last one worked perfectly! Thank you so much!!
l0TOmgNH
 
Upvote 0
*fyi, just cause you know the developer only shows that you know someone, it does not ever prove that you understand code , or the language of how the SDK or apps are coded and configured. I can say that I know Bill Gates, but does that automatically make me able to know every bit of the 300000+ lines of code in .net 2008 and C++ call to stacks which make up the OS of Windows 7, no. Not at all, so before you go pirating a thread and Name tossing, think about it, cause it does not get you any higher up the chain*

What, pirating a thread like you have, where you alter an xml coding developed by someone else without obtaining their permission, just to show off your own skills. Right. :cool: End of discussion.
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones