Hello all,
First of all: sorry if this isn't the right board for it, I'm new here and not entirely sure.
I'm currently working on a custom version of the Monochrome basic home screen, you can see my current version here. As you can see, aside from various modifications I've moved the 'Now Playing' functionality for music to the upper-middle to prevent it from interfering with the menu. This was done by editting musicoverlay.xml and changing the X and Y positions. However, this resulted in the MusicOverlay.xml being relocated in every screen, overlapping with the interface on various occassions. So I came up with the following idea/solution:
1. Keep MusicOverlay.xml without changing it (being in the down-left corner of the screen) but setting the <allowoverlay> function in BasicHome to 'no' in order to prevent it from being displayed there.
2. Creating a changed version of the overlay (being relocated, as in my current basichome) named 'MusicOverlay_2.xml'.
3. Add the function <import>MusicOverlay_2.xml</import> to BasicHome.xml, which bypasses the AllowOverlay=NO rule and displays a specially relocated version of Now Playing only on the Basic Home screen.
However, it probably sounds too good to be true, because it doesn't work. If I add this function, I instead get a crash after a few seconds in the BasicHome-screen. I think this is because he try's to load it while there is no music playing. So does anyone know how I can make the <import> function only be active if music is playing? Then, I might be able to make it work and use two versions for MusicOverlay seperately.
Thanks in advance,
Thijs.
First of all: sorry if this isn't the right board for it, I'm new here and not entirely sure.
I'm currently working on a custom version of the Monochrome basic home screen, you can see my current version here. As you can see, aside from various modifications I've moved the 'Now Playing' functionality for music to the upper-middle to prevent it from interfering with the menu. This was done by editting musicoverlay.xml and changing the X and Y positions. However, this resulted in the MusicOverlay.xml being relocated in every screen, overlapping with the interface on various occassions. So I came up with the following idea/solution:
1. Keep MusicOverlay.xml without changing it (being in the down-left corner of the screen) but setting the <allowoverlay> function in BasicHome to 'no' in order to prevent it from being displayed there.
2. Creating a changed version of the overlay (being relocated, as in my current basichome) named 'MusicOverlay_2.xml'.
3. Add the function <import>MusicOverlay_2.xml</import> to BasicHome.xml, which bypasses the AllowOverlay=NO rule and displays a specially relocated version of Now Playing only on the Basic Home screen.
However, it probably sounds too good to be true, because it doesn't work. If I add this function, I instead get a crash after a few seconds in the BasicHome-screen. I think this is because he try's to load it while there is no music playing. So does anyone know how I can make the <import> function only be active if music is playing? Then, I might be able to make it work and use two versions for MusicOverlay seperately.
Thanks in advance,
Thijs.
Netherlands