Visible/Invisible/change elements

Hi,
I wonder is there any option to make some elements visible or invisible by tapin on them?
I know function Action → tap → change image but it only change image - It is imposible to change for example battery hand and scale in this same time to switch this to steps hand and scale.

Second question…
Can we in some way check what kind of style is choosen or theme colour ?
Maby in that way we can make some elements visible or not

For example: IF style/colour “1” is ON then make that element invisible and another visible in this same position ?

Thank you in advance for answer

Best,
Adrian

I wonder is there any option to make some elements visible or invisible by tapin on them?
I know function Action → tap → change image but it only change image

You could change it to an invisible/clear image

It is imposible to change for example battery hand and scale in this same time to switch this to steps hand and scale.

One way to do this is have
SCALE
step count
Battery
SCALE
and have an image that is half clear on top and half background on the bottom
and it changes with the opposite
and for good measure one that is clear that shows both.

Second question…
Can we in some way check what kind of style is choosen or theme colour ?
Maby in that way we can make some elements visible or not

Yes there is a way to do that with a layer higher up. Some Styles will hide some colors but you still can’t have overlapping components

There may be more clever ways to do this moving a component on and off using Gyro effect for example

Ron
Samsung Developer Relations

2 Likes

Thank you Ron for that tips :slight_smile: going to check them :slight_smile: