How can I draw an rectangle in a android webview?

146
October 10, 2018, at 00:10 AM

I want to load an external web page (it can be any website) in my android app within an webview. I then want to draw a rectangle around a specific text or an image.

I have the css coordinates where I want to draw the rectangle and of its size. I don't want to change the css layout of the page, only overlay the page with this rectangle.

Then I want to automatically zoom in on the page to the area marked with the rectangle.

Is this possible?

If yes, how?

Thanks in advance!

Rent Charter Buses Company
READ ALSO
Including classloader resources starting with underscore (_) in an APK

Including classloader resources starting with underscore (_) in an APK

I have a library that reads a Classloader resource properties/_messageproperties, though something like

158
Is there any way to use Koin inject with generic?

Is there any way to use Koin inject with generic?

I heve base class and I would like to use Koin injection on this base class like:

154
Is it good idea to have multiple ViewModel.observe in a single Activity?

Is it good idea to have multiple ViewModel.observe in a single Activity?

I have an activity that I named it MainActivityFor this activity I have created a ViewModel that its name is MainViewModel

145
React-Native, only Android, no firebase: objects are not valid as a React child (found: object with keys {$$typeof, type, key, ref, props, _owner,

React-Native, only Android, no firebase: objects are not valid as a React child (found: object with keys {$$typeof, type, key, ref, props, _owner,

I'm building a React Native 057 app, which works fine on IOS but fails on Android with the following error:

351