πŸ•Š Floating View: float your component. [FREE] πŸ•Š

See here:

1 Like

Great Extension keep it up

1 Like

I am not able to turn on screen overlay from the phone’s setting. The switch is disabled

1 Like

As this permission is not declared in the Companion APK. So follow my video tutorial to adjust the Manifest and add these permissions:

<uses-permission android:name="android.permission.ACTION_MANAGE_OVERLAY_PERMISSION"/>
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
2 Likes

where is the video tutorial??

1 Like

Search.

2 Likes

can you pls add a feature to set it cancelable to false

Great Extension… Long Pending and Long Awaited. Finally it is here… Thanks to @jarlissonlira2

1 Like

Thanks! :wink:

5 Likes

Thanks for this extension it is good

2 Likes

can someone say me what’s the center position of a phone to set x and y axis

1 Like

X = Screen.width / 2
Y = Screen.height / 2

Is that it?

4 Likes

it is not working

1 Like

blocks? screenshot of the result?

2 Likes

Yes if you want to show a dot at center of screen.
But for a component you will have to work on margins.

1 Like

2020-06-21_15h08_00
(Hight2 Variable is β€˜Width’)

1 Like

sorry, cant provide you at the moment, its not working properly, maybe after some time i will provide it.
You can too check it with the same blocks.

1 Like

It may not be working properly, because you will have to subtract half the height of the card (Screen.Height / 2) - (Card height / 2), do the same for width. This is necessary, as the reference point in the floating window is in the upper left corner.

1 Like

I think it is impossible in kodular but now you do it possible

1 Like