yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] gogogog:
Hi guys, I'm searching for kwgt experts for an help on 2 ideas, the first one (I think) simple, the second one more complicated. Please help me, I'll consider donations.

1) In attachment you can find a simple calendar widget (kwgt file inside the zip, preview in "calendar" image): I would modify it showing "today" and "tomorrow" instead of the date for today and tomorrow events. If possible, I would also remove the clock 00:00 for the "all day" events (birthday, etc...). Can someone help me, please?

2) Like in the image "quotes", I would realize with kwgt a widget showing a quote of the day and the author, but starting from a collection of my personal quotes. I would use TXT or CSV file (or other formats) in my phone as source of the quotes. My problem is that I'm not able to correctly read these informations from a file, no problem for the layout options. If someone can share a "barebone" widget reading from a file, I can take care for the layout and share the final widget.

Thank you very much if someone can help me!
[Android Apps and Games] Trekstaaf:
Hi All,

i have something strange that i notice lately.

I created a widget to work as a player for Spotify. It shows the buttons and the album cover.

Now when i play a song from my playlist it shows the album cover correctly in my widget.

When i play a song from spotify that is not in my playlist it does not show the album cover and displays the default empty screen but only about 5 out of 10 times.

I also noticed from the 5 times it does not work it seems that that it had to do with the album that was playing.

it seems to be doing this with more recent albums that came out. (Example Deep Purple - Live in Rome 2013).

Are there more people experiencing this.

Regards

Schele
[Android Apps and Games] m7ixalis:
Hello, miui 11 widget's are clickable only on stock launcher ,i have tried others launcher's and specially Nova prime that I use all the time and can't click on the widget .

Any solution ?

Thanks.
[Android Apps and Games] frankmonza:
This is a Xiaomi issue, fix is removing Kustom from any battery optimization as described at https://dontkillmyapp.com/xiaomi and then set the notification mode to FORCED in the app settings
[Android Apps and Games] IamCage:
someone help me with how to move icons only, cuz padding ****ed all icons...

sorry for my poor english
[Android Apps and Games] nobrain3000:
I'm searching for one ui 2.0 like weather icons. Please someone help me please..

Thanks in advance!

Gesendet von meinem SM-G988N mit Tapatalk
[Android Apps and Games] augn:
I want to put the samsung optimization widget as a small button in Kwgt. I designed a small and modern button, all I have to do is assign the task of samsung optimization widget. How can I do? as there is no such option here? Please someone help me
[Android Apps and Games] Sai Prasad Naidu:
Is there any feature like custom touch sound on touch action?
[Android Apps and Games] karthik.s.sba:
I cant seem to find the "Clock second hand (smooth)" under rotation for a circle. This there any trick to rotate any shape each second ?
[Android Apps and Games] Zwergl:
Hello, I am searching a moonphase-komponent. Or could someone explain me, how I could create a moonphase-komponent.

Thanks a lot.
[Android Apps and Games] Narwaniec1:
Hi guys, can you help me with one thing with KWGT?

I've got a widget and there's song name displayed on the left and some icons on the right. Both are on the same height. My problem is that when song name is too long, it covers icons. I want to make a margin or something but cant find how to do it :c
[Android Apps and Games] frankmonza:
Ah, 3G/4G should update instantly this is strange. Regarding the "Never" i am planning to add a "Remove" visibility option that will actually do what you want (it has been asked already, quite good suggestion indeed), off course it will be available on stack only, since on overlap it does not make any difference
[Android Apps and Games] classna:
I am not sure if this has been reported but the cell signals freeze when you turn off the screen and then turn it back on. If you switch airplane mode on and off, the cell signals update again but as soon as you lock the screen it freezes and wont refresh when you unlock your screen. Hopefully this will be fixed in the upcoming release.

I would like to request a few more features:

- Status for DO NOT DISTURB mode.

- Status of location services enabled/disabled

- Status of flash light on/off.

- mobile hotspot status

- Ring/Mute/Vibrate status
[Android Apps and Games] frankmonza:
The "signal" thing has been reported already but i cannot find a way to reproduce it, it might be device dependent, for the "switches" i need to start thinking to those, it would be cool to be able to make switches with KWGT
[Android Apps and Games] classna:
If it helps, I am on Galaxy S6
[Android Apps and Games] Sturmrider:
I just purchased KWGT Pro and installed it. I have rebooted the phone, but it still says it is not installed on my phone though it shows it as on my phone in the play store. I have a Nexus 6P running Marshmallow. Should be no problem.
[Android Apps and Games] Oohhlala:
-THe default padding size value of this widget is ?

-When i import an image that it's size is 450x450 pixel , but it resized automatically in this widget. How i know the multiplier scale that this wdiget did on the image? And when i want to place this image in a fixed position ( example : from the left edge of screen is 200 pixel) it seems to so hard .

SOrry for my bad english.
[Android Apps and Games] frankmonza:
Why are you working in pixels? This makes no sense. There is no default padding size, kustom widget adds no padding. If you want to stick an image to the left just set position anchor to "center left" and then set X offset to 200.
[Android Apps and Games] Oohhlala:
im new with this widget. This impress me becouse i see many function i need to design.So you can tell me the best way to control the real size of any objects that i want to import to design. About the padding, maybe it is margin. in some launcher as Nova launcher, we can remove the margin of widget very easy but in other launcher as Lightning launcher , we have to do manually ( type the value - example 10,20... )

Sorry if i cant write more clearly :(( my english very bad :(
[Android Apps and Games] frankmonza:
Sizing: Kustom is made to create widgets that adapt to other screens so you should entirely forget about absolute size and just think in terms of relative size, which means just design your widget Kustom will take care of scaling it on other screens (or the user will using the Layer -> Scale option). If you need to use images use images that are big enough to fit any resolution, Kustom will then internally scale them to be pixel perfect in the device you have.

Margin: Kustom does not introduce any margin by itself so you need to manage any additional margin on the launcher (on Nova you can remove it in the settings and then long pressing the widget and selecting "padding", on LL you probably have to do differently), this is something i cannot fix.

Thanks!!
[Android Apps and Games] Oohhlala:
Ya, thanks for your explanation. In widget setting, i turned on vibrate feedback option but when i touch on any object in widget, i didnt see and feel anything, no vibration or other effect.
[Android Apps and Games] frankmonza:
The vbration should work only if you have a touch action set, if its still not working it might be an issue with your device / rom (you should see the touch area flash for an instant)
[Android Apps and Games] Oohhlala:
i dont know why it didnt work, i creat an image inside the widget then set action on touch on image to launch an app. my phone and rom are fine, it's vibration working fine ( press on navbar, use keyboard... )

btw is it possible to make other effect when touch ( for example , change color of objects/image when touch on them ) ?
[Android Apps and Games] frankmonza:
Yeah off course, you can, on touch, switch a global and then use that global to do anything, like changing colors, hiding elements and so on, you can see examples on reddit.com/r/Kustom or the official G+ community
[Android Apps and Games] Oohhlala:
im trying to practice with creating floating action button video, but in KWGT , there is no Animation tab:eek:
[Android Apps and Games] frankmonza:
You cannot do animations in KWGT, this is not technically possible currently. You can still however switch visibility of an object, so, for example:

Create an "Overlap Group" or "Komponent"

Add some stuff to it, such as a clock or whatever

Add a switch global called "switch"

Add an object (text or shape or whatever) outside the Komponent / Group

Set its touch action to switch global and select the global named switch

In the group, go to Layer, select "Visibility" option, turn it into a formula pressing the calculator

Enter as formula $if(gv(switch), ALWAYS, NEVER)$

Done, when touching your object the Group/Komponent will become visible / hidden
[Android Apps and Games] Oohhlala:
cool:good:

+ according to your guide above , for the object that used to turn on/off switch. If i want it's icon/image be an image named A when Group is visible and be one named B when group is hidden. It's possible, if possible, how do that?

+ I created an object to launch an app. then i want when i press on this object, there is an image will appear with short duration to let me know i pressed on that object.So what i have to do, i find thi on your reddit but didnt find out.

+BTW i saw many question about vibrate strength on reddit and they mentioned about changing it to be stronger and longer. Do you have plan or consider to do this?
[Android Apps and Games] frankmonza:
Yeah, so, if it's an icon using the font icon module you just need to turn into a formula and then use $if(gv(myswitch), iconA, iconB)$, if instead you use 2 images just assign switch global to 2 images and then use opacity as a formula and type $if(gv(myswitch), 100, 0)$ on A and $if(gv(myswitch), 0, 100)$ on B.

This is a bit complex unfortunately right now, you need to create a switch global, call it "fader", set auto off to timer and 1 (second), then add another touch action to that object, set it to switch that fader global. Now if you use an animation like fade out on that global the animation will be triggered back after 1 second.

I need to add an option in the settings to allow this, its easy, not sure if i can add it now but will do asap.
[Android Apps and Games] Oohhlala:
Thanks for your patience to explain me.

I did like that but It didnt work.

I used an icon named A to be an object then set touch on it to launch Dialer app. And i have an image named B with the size i want. I want when i press on A, the B will appear for short duration.
[Android Apps and Games] frankmonza:
Oops, just realized you are using the widget, you cannot use an animation, just do this:

Create a global called "visibility"

Set its auto off to timer -> 1s

Add to A touch a switch action to toggle visibility

Set B opacity to a formula enter $if(gv(visibility), 100, 0)$

This will show B for 1 second after you press A.
[Android Apps and Games] NNUUKKEE:
can you share this if u made it ?
[Android Apps and Games] mcvisster:
Hi. I have problem with AOD showing right time after installing KWGT. AOD clock stops until i unlock screen. Xperia 5 (nova launcher pro, kwgt pro). Any idea for solution?
[Android Apps and Games] eruben:
Hello, I've been using KW for many years and never had an issue. But recently I've noticed that contact birthdays from google calendar are not showing up in my calendar agenda widget. Birthday calendar is enabled in calendar, all calendars are checked to be displayed in KW settings. I'm on Google Pixel 5 on Android 11.

Please help me to figure it out.
[Android Apps and Games] siealex:
One more nasty bug with calendar appointments. Samsung Galaxy A52 4G, Android 11, full stock OneUI. The upcoming calendar event is displayed as an alarm (!) set up 10 minutes before the actual event. Other users of Samsung phones with Android 10..11 also report this issue. Is it possible to fix?
[Android Apps and Games] L1p1c1:
Rookie question, firts time using this app:

I buyed this theme https://play.google.com/store/apps/details?id=android12uforkwgt.kustom.pack

And i expected all i need to do its to load a presset and have a theme like in the image description attached.

But its not the case , right ? All the presset its doing its creating just widgets on screen, dosent change your interface control notification pannel, right ?
[Android Apps and Games] vagman:
CLOCK WIDGETS WITH APPS - Εφαρμογές στο Google Play

Γραφικό στοιχείο για KWGT Pro με προσαρμοσμένες συντομεύσεις για τις αγαπημένες σας εφαρμογές.

play.google.com
[Android Apps and Games] LionDGem:
Just tried it and almost nothing is working. Most severe Problem: widgets just show "Loading..." - nothing else. lineageOS 18. Tried with SmartLauncher 6 and Trebuchet.

Edit: Problems where 3.58 AOSP related. After switching to 3.57 Google Play version it works now.
[Android Apps and Games] 1991-W201:
Total KWGT noob here… hoping for some help with a project involving CarWebGuru and a custom theme I’d like to complete. Here’s what I’d like to do:

In the photo attached, I’d like to display a live Google map in the red circle on the right, and the name of the street I’m currently on in the red box on the top.

Can KWGT handle these via widgets? Or, am I barking up the wrong tree?

The red box under the car image will display the current track name via a CarWebGuru widget, so I’ve got that handled.

The circle on the left is already a CarWebGuru “multi-widget” that can display album art, GPS speed, etc.

I just discovered this, so I’m interested in learning more about KWGT and its capabilities, and appreciate any insight!

Thanks in advance,

Ron

(I should also mention that CarWebGuru is installed in my Atoto S8 Gen 2 Android head unit [FYT] running Android 10)
[Android Apps and Games] wackowizzard:
Hello,

I bought this application today, but I find it very complicated. I have tried some things, based on explanations from xda or google, but I cannot make or create anything decent. Is there a complete manual for this application, or tutorials that are properly explained?
[Android Apps and Games] M1chiel:
I would rcommend you to start with an existing widget and edit it in a way you like it. By looking in its 'architecture' you can see how it was designed, and what the function is of e.g. the Stack and Overlap Layers in that particular widget. Under 'Globals' you can find the settings for the whole widget (e.g. colors or fonts). The Kustom website has many tutorials, 'recipes' and a forum: https://docs.kustom.rocks
[Android Apps and Games] KidCarter93:
As @M1chiel said above, the best way to get to grips with the app is to start with editing pre-existing widgets made by other users and then tinker them to work out what works best.

I've just started using it myself and got my current set up (attached below) by simply editing the colours and adding a couple of touch functions for different apps. I took IKW002 from the base pack which is available when you first install KWGT and started from there.

r/kustom on Reddit can be another good resource aswell as you can see varying setups and other people asking about the codes to use. https://docs.kustom.rocks/docs/reference/functions/ this page also gives a comprehensive breakdown of the various functions you can use.

Like I mentioned above, I'm still getting used to using KWGT myself so it may take a little while to adjust but it will certainly become much easier the more we get used to it
[Android Apps and Games] wackowizzard:
Hello,

First of all thanks for replying, and help.

I installed this application with the idea of making a widget of a Sense flip clock (like the application 'Sense Flip Clock & Weather Version' in the Playstore), with weather, and a battery icon. So I followed your advice and tried a few simple things, but I'm already stuck.

In the screenshot you can see what I made.

Now my question is: how do I add the time to this widget?
[Android Apps and Games] KidCarter93:
Replace the text of the first '10' with $df(hh)$ and replace the test of the second '10' with $df(mm)$
[Android Apps and Games] wackowizzard:
Simple really, but you have to know it.

Thank you. (y)

I'll experiment a little further. ;)
[Android Apps and Games] KidCarter93:
No worries, yeah it just takes some time to get used to the inputs. Normally, the time format would be $df(hh:mm)$ but doing it like above makes it so you can separate it to place it elsewhere.

I weren't sure it would work when I done it myself to have a different colour for each section but I surprised myself by getting it right lol
[Android Apps and Games] Oohhlala:
+It worked, but not as i hope. Sometime the image was not to be invisible ( opacity = 0 ) some time it appear toolong ( not 1s ) about 15-20s then before to be invisible :eek:

+ btw the image i imported has real size that fit to screen but in widget, i set it's size to maximum ( 720 ) but it was not fit to screen, it's size in widget just about a halft of screen width.
[Android Apps and Games] frankmonza:
The widget never updates every second so in a widget you cannot show something for 1 second, a widget updates every minute or so. You need KLWP for that.

For the width that's a bug in the image module i need to allow sizes bigger than 720, you can just enter the size manually in the meanwhile or increase the scale option in the parent layer.
[Android Apps and Games] Oohhlala:
+how to change size manually?

+ yeah, im trying with KLWP, KLWP doesnt have build-in fonticon ? how to import fonticon in widget to KLWP
[Android Apps and Games] frankmonza:
Select the preference, press the "calculator" and enter the size manually as a number. But its much better to just scale the container.

KLWP and KWGT have the same Font Icon module and read the font icons from the very same directory. Please ensure you have the latest version of both.
[Android Apps and Games] Oohhlala:
i searched and found this code file:///imagepath/image ($(mu(floor,(df(S) /60))%gv(count,20)$).jpg and tried with it to make a like-photo widget but it didnt work.

I created an image object and set it's size then add the code above to formula ( using calculator icon of bitmap tab ).

In advance, i want this to be more flexible as the image will be changed randomly every 10mins. Beside that i want to creat a button to change image everytime i want ( is it possible ? )

Plz teach me how to do

BTW, KLWP can take the images from the folder that contain .nomedia file ?
[Android Apps and Games] frankmonza:
That formula has to work, probably path is not correct. KLWP/KWGT does not care about .nomedia so yes you can use anything anywhere but those images WILL NOT be exported, if you want them to be exported with the preset you need to use image globals and switch those.

If you want to change something anytime you click an object just create a text global and on touch switch that global (you can use a formula so you can set it to whatever you like on click).
[Android Apps and Games] Oohhlala:
plz help me check what was wrong
[Android Apps and Games] frankmonza:
That means what is says, you have more open brackets than close ones. Just remove the one before "mu" its not needed.
[Android Apps and Games] Oohhlala:
Now the formula works, in the text preview i see the number of image change but actually the images didn't show
[Android Apps and Games] frankmonza:
Are you sure those files exists on that path? Also you shouldn't really use parenthesis in file names its not a good idea. If you do not need those images to be dynamic best thing is to load them as globals and then use the globals instead.
[Android Apps and Games] Oohhlala:
i'm sure, the path i copied from es file explorer "1" is name of subfolder in main folder " Nomedia". Im new with KLWP and KWGT. Could you give me some example that similar what i want to do ( about use image in global , if use this way, image will be change automatically by time ? ) or show me how to do. I need it to learn.
[Android Apps and Games] frankmonza:
Please check the official G+ communit or reddit.com/r/Kustom there are a HUGE amount of examples there.

Anyway, if the image is not shown probably it means that its not there. Currently there is no easy way to do a task every X seconds without using tasker or some more complex formula. Check out the community there are examples already for that.
[Android Apps and Games] Oohhlala:
Yaaa thanks u. I found the problem by these words :D. There should be "/" between "1" and "(0).jpg". 1 is the name of folder.

if i want these images change by time when music playing and stop changing when music pause/stop. So i have to change the kode to what ?
[Android Apps and Games] frankmonza:
$if(mi(state)=PLAYING, dosomethingifplaying, dosomethingifnotplaying)$
[Android Apps and Games] z-dima:
> I use 'gv(index)+0' to get valid global value

Now for index = 2:

- 'gv(index)' - return 2.0 - and ci(start, gv(index)) - return wrong value (as if 'index = 0')

- 'gv(index)+0' - return 2 - and ci(start, gv(index)+0) - return right value
[Android Apps and Games] frankmonza:
Its a bug its not casting to integer the index, will fix, in the meanwhile that's a good workaround (also you can do mu(round, gv(index))
[Android Apps and Games] z-dima:
It works, great. Thank you!

One more question:

Swipe gestures on widget usually process touch gesture of widget

So Nova Launcher open app for swipe & KWGT open app for touch

Could KWGT process only touch?

However it could be better to add swipe gestures for KWGT as I asked you, may be it will be feasible in future)
[Android Apps and Games] z-dima:
Last events Widget

One serious bug found, could you , please fix it?

When I do not have any today events, but have one fool-day yesterday event - and use $ci(title, 0)$ formula - then yesterday event shown, instead of nothing

Even $ci(title, 0, a0d)$ - does not work - the same result as $ci(title, 0)$ and $ci(title, 0, a23h)$ - yesterday event shown, instead of nothing

00:00 - 02:00 - it was incorrect

07:00, may be earlier - it become correct

It looks like UTC time issue or etc.

Could you , please fix it?
[Android Apps and Games] frankmonza:
Yeah that's a known issue, i am looking into it since quite a while, not easy to fix unfortunately.
[Android Apps and Games] Oohhlala:
I'm using 2 formula :

+ $if(gv(silde, 0)=1, "path-to-image-1", "path-to-image-2")$ to change background when toggle global switch named "slide"

+ path-to-folder/$mu(floor,(df(S)/300))%gv(count,9)$.jpg to change images randomly every 5mins by adding this formula to FX of rectang shape

I tried to combine 2 formula above to be one but not successful. plz help me.

I want use the 2nd formula to make slideshow of images in folder A, then i creat a button that when i touch on it, it will change path of folder A to B ( as 1st formula )
[Android Apps and Games] frankmonza:
Just assign second formula to a text global, call it "randomimg" then just do $if(gv(silde, 0)=1, gv(randomimg), "path to default img")$
[Android Apps and Games] Oohhlala:
wow, so cool.

in 2nd formula, images will be change randomly but there is no animation for changing, KLWP can make animation effect for it's changing ?

btw,

+ why music progress bar alway reset to start point when music is paused for long time

+ i created overlap group A inside overlap group B, so can't set animation for A ?

+and is there any way to have background scroll toggle mode with just one page of launcher ?
[Android Apps and Games] frankmonza:
You can not animate them that way you need 2 image modules and fade between with an animation, Its complex. For the progress bar its reset because player is closed, android is probably killing the player being idle too much.

Only items in root have animations. You cannot scroll if launcher is not scrolling.
[Android Apps and Games] Oohhlala:
i have issue with text, even custom text or system info... in KLWP preview , i can see it but in homescreen, they dont appear :(
[Android Apps and Games] frankmonza:
What text?