hi i'm Deddy
i use outsytems to creating android mobile. i got screen and list inside it. i want add effect like colour changed when the list clicked. i've tried on forum : https://www.outsystems.com/forums/discussion/42762/is-there-anyway-to-disable-the-list-item-on-clicked-visual-effect/
but it not work for my app
how do i solved it ?
regards
Hi Deddy,
Following are the steps that I've performed:
1. Enclose the list item inside the container, use "Style" extend property of the container (as shown below)
2. Use a flag to change the color of the container
3. Assign the value of that flag inside the action which is used for the link
Hope this will help you
Regards,
Vipasha
This is correct way to write or override CSS but if it is not working properly means probably you are overriding wrong CSS class, so my suggestion will be to first find out the correct CSS class in browser by using inspect element feature then overrode that class like above. particularly for list item there is a class 'list-item' which is used to display list item but it is not used for animation I guess.
Thanks,
Sanjay
Hello Deddy,
As I see it now, you use a transpara\ent color. Therefor it won't work for you. Try to change "transparent" in the color you want.
Martin Rozeboom wrote:
hi martin
i changed into blue color, but it still wont work.
is there any way to solve it ?
Regards
Deddy
Just now read that post, You shall give a try to this CSS:
.scale-animation { background-color: transparent !important; visibility: hidden; }
Sanjay Kumar Sahu wrote:
hi sanjay
i tried that css, but it wont work either when i run it.
is there any solution ?
Deddy Effendi
You shall go with my first suggestion to find out exact CSS class to be overridden as it is difficult for us to understand which css class is being used there. There is also a possibility that your CSS may be overwritten again by any other CSS, this can also be verified only in inspect element feature in browser.
Hi Deddy
Please refer the attached OML