Nothing is built into Android, which indicates which modifications, such as Sense, are being performed on the device. You need to either use PackageManagerHTC Sense to search for components, or use the class Buildto determine which device model you are on. In any case, you will need to update this “sniffing” logic, as Sense has been changed and introduced to new devices.
but the Sense interface interacts with layouts and sizes
If you have a reproducible test case with source code that demonstrates these problems, I would be interested to see it.
There are only two scenarios that I can come up with that fit your description: