언어 설정

Menu
Sites
Language
How to make transparent background for native app.

Dear Sirs,

Is it possible to create a transparent background for native app so I can see through it to the main screen?
I have tried many way but can not resolve this problem.

Thank you so much

Responses

6 댓글
GEUNSOO KIM

use a edj layout which has a RECT type part as background with color value 0 0 0 0.

Eugene Kurzberg

Try using elm_win_alpha_set(win, EINA_TRUE) on your application window. Then make sure that all widgets from the top to the window have transparent bg.

Dinh Khanh

I have tried out 2 of above methods, but got nothing possible

I want the background transparent, except other elements or components.

I saw some examples about this topic in terms of the web apps but can not find any way for native apps

Could someone please help me?

Shaswati Saha

Hi,

 Use the code below:

win = elm_win_add(NULL, name, ELM_WIN_BASIC);

elm_win_alpha_set(win, EINA_TRUE);
Shaswati Saha

Use the name of your application (for example org.example.XX) as the second parameter of the function elm_win_add.

Dinh Khanh

It worked for me!

Thank you so much