Hi, is it possible to have the background of my progress bar as clear and the foreground as transparent, or vice versa? I don't want them both transparent, I need one to be in clear mode. Cheers!
Please tell me the diffrence between clear and transparent.
Gesendet von meinem GT-I9505 mit Tapatalk
CopKiller76 said:
Please tell me the diffrence between clear and transparent.
Gesendet von meinem GT-I9505 mit Tapatalk
Click to expand...
Click to collapse
Hi! Transparent you don't see, but clear actually erases anything that's beneath it.
For my understanding clear and transparent is the same. But you can set the drawing mode to erase if this is what you want.
Gesendet von meinem GT-I9505 mit Tapatalk
StrangerWeather said:
Hi, is it possible to have the background of my progress bar as clear and the foreground as transparent, or vice versa? I don't want them both transparent, I need one to be in clear mode. Cheers!
Click to expand...
Click to collapse
I get what you are trying to do. You want a progress bar that gradually reveals a graphic underneath it as the bar progresses, or the opposite, makes it appear gradually. I don't think you can set drawing mode separately for the foreground and background, which is what you want.
Just use width (or height) and the appropriate offset to have a drawmode clear rectangle "grow" on top of the graphic.
Example:
[rw]#BLEVN#[rw][ox](#BLEVN#-100)/2[/ox]
This will make a rectangle that keeps the left side at the same location as the rectangle grows from 0 to 100 in length.
So it will do this:
X
XX
XXX
XXXX
as battery level goes up.
If you don't do the offset, it will grow from the middle.
***X
**XX
*XXX
You will have to scale this to the size of your graphic. So if your graphic is 240 units wide:
[rw]#BLEVN#*240/100[rw][ox](#BLEVN#*240/100-240)/2[/ox]
or [rw]#BLEVN#*2.4[rw][ox](#BLEVN#*1.2-120)[/ox]
(Edit, I guess you can't triforce here, lol)
brizey said:
I get what you are trying to do. You want a progress bar that gradually reveals a graphic underneath it as the bar progresses, or the opposite, makes it appear gradually. I don't think you can set drawing mode separately for the foreground and background, which is what you want.
Just use width (or height) and the appropriate offset to have a drawmode clear rectangle "grow" on top of the graphic.
Example:
[rw]#BLEVN#[rw][ox](#BLEVN#-100)/2[/ox]
This will make a rectangle that keeps the left side at the same location as the rectangle grows from 0 to 100 in length.
So it will do this:
X
XX
XXX
XXXX
as battery level goes up.
If you don't do the offset, it will grow from the middle.
***X
**XX
*XXX
You will have to scale this to the size of your graphic. So if your graphic is 240 units wide:
[rw]#BLEVN#*240/100[rw][ox](#BLEVN#*240/100-240)/2[/ox]
or [rw]#BLEVN#*2.4[rw][ox](#BLEVN#*1.2-120)[/ox]
(Edit, I guess you can't triforce here, lol)
Click to expand...
Click to collapse
Wow, that's great many thanks for your help! That's exactly what I am trying to do!
brizey said:
I get what you are trying to do. You want a progress bar that gradually reveals a graphic underneath it as the bar progresses, or the opposite, makes it appear gradually. I don't think you can set drawing mode separately for the foreground and background, which is what you want.
Just use width (or height) and the appropriate offset to have a drawmode clear rectangle "grow" on top of the graphic.
Click to expand...
Click to collapse
This works great, thanks. My question now is how do I go about making that drawmode clear rectangle "shrink" on top of the graphic.
Sorry if it's obvious but I am not really scientifically minded...
Deleted...
Related
Note: This is a work in progress.
Note: All Image manipulation is done with GIMP.
Note: This guide is mainly for the A101 but can also be applied for the A70.
I was getting sick of not be able to take a good picture and use it as a wallpaper so that it looked good. I know there is an alternative "MultiPicture Live Wallpaper" but that thing is a memory hog.
PART 1
So I came up with this picture it's a PNG of 1200x1024. The different grids are the following sizes.
Blue: 8px
Green: 16px
Red: 32px
White: 64px
When this is set as a wallpaper we can finally see what is happening to the image.
Here are the screenshots for the 5 screens of the Stock Launcher of the Archos 101.
Screen 1
Screen 2
Screen 3
Screen 4
Screen 5
Since the status bar can not be hidden on the Stock Launcher we loose 32px at the top and on the right with the soft buttons we loose 40px. When positioned on the first screen we have a good view of the top left corner (1024x600) of the reference picture.
Now lets get to work with this picture below.
Size: 1680x1050
So what do we need to do. The result must be an image with a size of 1200x1024 for the A101 and 960x800 for the A70 where only the top 600px (A101) 480px (A70) will be visible in landscape mode.
Scaling the image to a height of 600px and keeping the aspect in mind. The result is a picture of 960x600
On the bottom add a 424px black border.
On both sides add a 120px black border.
and the result is
Size: 1200x1024
And the screenshot to prove it works.
This was tested with the Stock Launcher and ADW.Launcher.
PART 2
So this worked out because the original picture has a black background. So here is the solution for other pictures.
I made a multi layer xcf file with GIMP to address the problem. You can download it here for the A101 and here for the A70.
Open WallPaper_cropping.xcf in GIMP.
Select the "Background" layer.
File -> Open as Layer -> select the picture you want to crop.
Scale the layer to 1200px width and keep the aspect correct.
Position the layer so that the visible part looks good.
Turn visibility on/off so that only the layers "Background:, "The Picture", "Black Not Visible Part" are turned on.
Save the image as PNG with option "Merge Visible Layers"
Send to archos and apply as wallpaper with the Crop Wallpaper app and use the "Overall" button.
This is all for today. Next We'll see if we can do something with extending the background instead of cropping it.
Reserved for future use
Reserved for future use 2
reserved for thanks ;-)
many thanks
Worked fine for landscape But when I turn it portrait there is a black bar at the bottom - How do I get it to fill in that black space??
Using ADW Launcher if that has any effect on it...
Would put up a screenshot but the forum won't let me...
martinjh99 said:
Worked fine for landscape But when I turn it portrait there is a black bar at the bottom - How do I get it to fill in that black space??
Click to expand...
Click to collapse
There is no way to do both landscape and portrait at the same time. So you have to choose.
ah ok- Thanks anyway.
Thanks wdl1908. It will be difficult for me to explain because of my poor english. But with your settings and my A70it it didn't (the image was too high). So I have set the top of my image at 183px and the bottom at 644px and now it's perfect. Maybe someone with skills could check those values cause I'm a newbie.
Thank you very much.
nikokroko said:
Thanks wdl1908. It will be difficult for me to explain because of my poor english. But with your settings and my A70it it didn't (the image was too high). So I have set the top of my image at 183px and the bottom at 644px and now it's perfect. Maybe someone with skills could check those values cause I'm a newbie.
Click to expand...
Click to collapse
If you attach your original wallpaper I'll look at it to see what the best method is.
So this is my actual wallpapaper. In landscape I see everything of the middle layer and not the 2 others (normal). And in portrait I don't see the face of the guy on the first layer. But this is not important cause those layers are just there to fill the blanks in portrait mode.
The original picture was found on socwall and was 2500*1324px
nikokroko said:
So this is my actual wallpapaper. In landscape I see everything of the middle layer and not the 2 others (normal). And in portrait I don't see the face of the guy on the first layer. But this is not important cause those layers are just there to fill the blanks in portrait mode.
The original picture was found on socwall and was 2500*1324px
Click to expand...
Click to collapse
Very nice wallpaper. I usually don't bother with the portrait mode as long as the landscape mode is shown correctly. I would just cut out the middle part and use that to fit into the portrait visible part of the template.
I've been having some trouble finding the screen resolution without the status and navigation bars. Does anybody know this?
crossbred900 said:
I've been having some trouble finding the screen resolution without the status and navigation bars. Does anybody know this?
Click to expand...
Click to collapse
I just tried measuring it using the "Pointer location" feature in the "Developer options" menu. I'm not sure how accurate this is seeing as I had to eyeball it, but looks like status bar the top is 50 pixels thick and the navigation bar the bottom is about 95 pixels.
Knowing the resolution is 1920x1200, grabbing some calipers and measuring it out might be more accurate.
Of course, nothing will be as good as breaking into the code and actually seeing the values.
EDIT:
Did a screenshot with the layout bounds highlighted and opened the .png in Paint. I measured 48 pixels for the status bar and 96 pixels for the nav bar. It corroborates what I found in these links:
http://www.transformerforums.com/fo...07-rom-jb-4-3-katkiss-multi-window-tf101.html
http://www.drastic-ds.com/viewtopic.php?f=5&t=99
Yeah, it's a slow day at work...
Sent from my HTCONE using Tapatalk 2
Thank you.
In a text widget, the alignment shifts across when it changes weather pattern, so from "light rain" to "wind" obviously as one is shorter it shifts along losing alignment. Why can't it just work from a margin?
Sent from my Nexus 5 using Tapatalk
prawnguevara said:
In a text widget, the alignment shifts across when it changes weather pattern, so from "light rain" to "wind" obviously as one is shorter it shifts along losing alignment. Why can't it just work from a margin?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Did you try changing the alignment option of the text module? If you want the text to align to a left or right edge, just set it appropriately and the text will stay oriented. As a sidenote: if you leave the align option on standard, it will align to the choosen anchor point. So if you use center, the text will also center. If you use center left, the text should align left.
kwerdenker said:
Did you try changing the alignment option of the text module? If you want the text to align to a left or right edge, just set it appropriately and the text will stay oriented. As a sidenote: if you leave the align option on standard, it will align to the choosen anchor point. So if you use center, the text will also center. If you use center left, the text should align left.
Click to expand...
Click to collapse
No the problem still happens when the word changes. It shifts over a bunch completely out of line with others. I'm baffled why it just can't align
Sent from my Nexus 5 using Tapatalk
prawnguevara said:
No the problem still happens when the word changes. It shifts over a bunch completely out of line with others. I'm baffled why it just can't align
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Could you upload your template and some screenshots so I can take a look at it?
Morning all.
I am trying to make a fancy battery bar widget using 4 progress bars each curved 90 degrees and rotated to make a full circle, and each individual bar only showing a 25% range of the battery level, so bar 1 is 0-24%, bar 2 is 25-49 % etc.
What I'm trying to do now is split the bars into sections depending on the battery level, so when the battery is below 75% but above 50, I want the 3rd section to split into 5 chunks but have the first two bars stay solid... if you get what I mean.
But I've searched and tried to find the Advanced Parameter for progress bar chunks/splits and I cannot find it. The text on the advanced parameter button in Zooper says "...control almost any aspect of this module...", and I'm not bashing, but is this one option not available or have I missed the appropriate keyword from my XDA/Google searches?
Thanks
Wrong thread
@Mokum020
Thanks for the tip I think that's the way to go.
I'll tell you what as well, trying to get the segments lined up with eachother is a PITA!
Mokum020 said:
How about making two progress bars for each section, one solid and one in chunks and show/hide them with the offset parameter at a certain % level:
Solid
Code:
[ox]$#BLEVN#>=75?1000$[/ox]
Chunks
Code:
[ox]$#BLEVN#<75?1000$[/ox]
Click to expand...
Click to collapse
Very Smart Solution!!!
P.S. I'm a robot
Ratchet_Guy said:
Very Smart Solution!!!
P.S. I'm a robot
Click to expand...
Click to collapse
I thought this was an interesting idea so I built my own version of it, attached. Would like to see the OP's as well if willing to share.
As the OP mentioned getting the segments to line up to the exact pixel/millimeter is easier said than done, but sometimes close enough looks...close enough lol.
Is there any way to force apps in the notch area and not have black bar there I tried the full screen mode in settings and even some immersive mode apps and nothing helped.
Also is there a way to make status bar toggles and notifications smaller? I have set smallest display mode but that only affects menus
Thanks
Here's what I did on my P30 Pro to make notifications smaller. It works systemwide too.
Open Developer Options, scroll down to DRAWING section, at the bottom is a setting for Smallest width. Increase whatever the number is by an amount of, say, 10dp at a time until you get your desired size and appearance.
After experimenting with values I found that merely increasing from stock value of 423dp to 430dp made a big (smaller) difference.
I also have the text size set @ normal and display size set @ small.
rubiicon59 said:
Here's what I did on my P30 Pro to make notifications smaller. It works systemwide too.
Open Developer Options, scroll down to DRAWING section, at the bottom is a setting for Smallest width. Increase whatever the number is by an amount of, say, 10dp at a time until you get your desired size and appearance.
After experimenting with values I found that merely increasing from stock value of 423dp to 430dp made a big (smaller) difference.
I also have the text size set @ normal and display size set @ small.
Click to expand...
Click to collapse
Thank you it worked perfectly using it at 432 and it looks just perfect!
jirka607 said:
Thank you it worked perfectly using it at 432 and it looks just perfect!
Click to expand...
Click to collapse
No problem, I'm glad that's helped with part of your solution.
I much prefer smaller font and icons, to me it makes the UI look more polished.