My Android application (Banner) uses widget sizes from 1x1 to 8x1. I'm annoyed by trying to get the magic minWidth set in the appwidget-provider XML files.
The old school method to get the minimum widget size was something like [74 x (n) - 2]. Now the method [70 x (n) - 30]. None of them work behind 3x1 widgets. 4x1, if it is installed correctly on the phone, it usually becomes a 3x1 widget on tablets due to dpi / density / size, etc.
So, I put the xml files as such to adjust the width as needed. However, I really only assume that the increased minWidth works with all devices, since I tested only my tablet.
So my question is ... did anyone figure out BEST minWidths or methods for creating widgets on different device sizes, etc.?

source share