To be honest I have not written code for a widget since circa Android 4!
I am just looking at a project, testing on a big screen Samsung S9+ and having difficulty in getting the widget anything larger than 4x5 units on the screen.
The guidance on the forum is very old now.
Q. What is the...