Languages

Menu
Sites
Language
"Transparent" style for genlist on wearable

Cannot make my genlist transparent for wearable. List is transparent by default, but when applying "transparent" it has similar view. 

elm_object_style_set(genlist, "transparent"); - that makesthe dark square more rounded not making it transparent as well

Responses

4 Replies
Jeongsu Kim

https://developer.tizen.org/forums/native-application-development/genlist-%EB%B0%B0%EA%B2%BD%EC%83%89-%EB%B3%80%EA%B2%BD?tab=active (It is written in Korean)

I confirm that genlist is transparent when you set "elm_object_style_set(genlist, "transparent");"
But I didn't check that it is really transparent.

I added an EDC to set a background of genlist. In the EDC, you should add a RECT part below SWALLOW part. You can use IMAGE or SWALLOW part to set any image.

Please refer object tree below. I set EDC file to layout object.

window
+- bg
+- naviframe
   +- layout
      +- genlist

 

Jean Yang

Hi Sergii,

  I cannot see your picture, please try to paste your image to window app "Paint", then copy the image inside the "Paint" and paste here in the forum. Then we can understand what you say.

  Currently, I tried to set genlist transparent as you mentioned in the sample genlist application, but I cannot see any difference compare to without transparent setting to genlist.

Jean Yang

I have no Tizen wearable on hand, so I tried again on Tizen Z1 phone.

Even I set and already can see the background of the container for genlist when I disabled genlist showing code, the genlist which been set to transparent is still opaque.

So I guess the genlist source code do not support the transparent object style at all.

Anyone from Samsung can confirm this?

AVSukhov

Hello,

As i khown, "transparent" - no background or shadow, just shows the content. And this is default style for genlist.

For more info you can ask you question in Native Forum: https://developer.tizen.org/forums/native-application-development/active